netfilter: nf_ct_sip: handle non-linear skbs
authorPatrick McHardy <kaber@trash.net>
Fri, 14 May 2010 19:18:17 +0000 (21:18 +0200)
committerPatrick McHardy <kaber@trash.net>
Fri, 14 May 2010 19:18:17 +0000 (21:18 +0200)
commita1d7c1b4b8dfbc5ecadcff9284d64bb6ad4c0196
treeef5564d5f91d99f8af1bfa16118191b7020c8c84
parent736d58e3a2245ac2779fe0f278f8735bcf33ca8d
netfilter: nf_ct_sip: handle non-linear skbs

Handle non-linear skbs by linearizing them instead of silently failing.
Long term the helper should be fixed to either work with non-linear skbs
directly by using the string search API or work on a copy of the data.

Based on patch by Jason Gunthorpe <jgunthorpe@obsidianresearch.com>
Signed-off-by: Patrick McHardy <kaber@trash.net>
net/netfilter/nf_conntrack_sip.c