Skip to contentSkip to conversation

(unknown)

DISCUSSION Gao XiaoPeng 2 participants 2 messages Jan 3, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

hello,

one of my friends wants to discuss a netfilter problem with you! thx!

-------------------------------------------------------------
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!

best regard

Chen Wei

#1 lore raw

Re:

Quoted 10 lines

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:

Quoted 7 lines
        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!

You could try ksymoops to get some more info from the above. You will get a call trace and that will reveal.