Thread (14 messages) 14 messages, 5 authors, 2007-11-20

Re: Netfilter: kernel panic with REDIRECT target. (2.6.23 and 2.6.23.8)

From: David Miller <davem@davemloft.net>
Date: 2007-11-20 12:27:55

From: Patrick McHardy <redacted>
Date: Tue, 20 Nov 2007 13:24:17 +0100
I now understand whats happening:

- new connection is allocated without helper
- connection is REDIRECTed to localhost
- nf_nat_setup_info adds NAT extension, but doesn't initialize it yet
- nf_conntrack_alter_reply performs a helper lookup based on the
   new tuple, finds the SIP helper and allocates a helper extension,
   causing reallocation because of too little space
- nf_nat_move_storage is called with the uninitialized nat extension

So your fix is entirely correct, thanks a lot :)
Great, I've applied Evgeniy's patch.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help