All of lore.kernel.org
 help / color / mirror / Atom feed
From: 陈炜 <buaacst@163.com>
To: <netfilter-devel@lists.netfilter.org>
Subject: a question on skb
Date: Fri, 3 Jan 2003 20:32:37 +0800	[thread overview]
Message-ID: <000f01c2b324$3f1c0270$3d00a8c0@chenwei> (raw)

[-- Attachment #1: Type: text/plain, Size: 1053 bytes --]


hi,
    I am a student, I think that skb has all the information that is needed for sending and receiving.So I get the skb pointer at NF_IP_POST_ROUTING, put it in a chain  organized by myself (I use a spinlock_t  lock to control the access of the chain, I named it mylock), and return NF_STOLEN. 
  I make a  tq_timer task to start ip_finish_output2(I export it from kernel),ip_finish_output2 use the skb from my chain.I can make ftp run ok for almost 1 hour, but then the system will carsh with this information:

        ds:0018    es:0018    ss:0018
        process swapper(pid:0, stackpage = c0265000)
        stack: c01a07ea c173a088 ...........
        call trace:[<c01a07ea>]    [<c01a156d>]......
        code: 0f 0b 89 7c 24 04 b8 03 00 00 00......
        <0>kernel panic: Aiee, killing interrupt handler!
        In interrupt handler - not syncing!


    I want to know why I count run for some time but could not go on for a long time . Does it possible to transmit data by the way and how to do?thanks very much!
        

[-- Attachment #2: Type: text/html, Size: 2428 bytes --]

                 reply	other threads:[~2003-01-03 12:32 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000f01c2b324$3f1c0270$3d00a8c0@chenwei' \
    --to=buaacst@163.com \
    --cc=netfilter-devel@lists.netfilter.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.