[NETFILTER]: nf_conntrack_sip: adjust dptr and datalen after packet mangling
authorPatrick McHardy <kaber@trash.net>
Wed, 26 Mar 2008 03:16:54 +0000 (20:16 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 26 Mar 2008 03:16:54 +0000 (20:16 -0700)
After mangling the packet, the pointer to the data and the length of the data
portion may change and need to be adjusted.

Use double data pointers and a pointer to the length everywhere and add a
helper function to the NAT helper for performing the adjustments.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found