linux/net/netfilter
Patrick McHardy d8a585d78e [NETFILTER]: Use pskb_trim in {ip,ip6,nfnetlink}_queue
Based on patch by James D. Nurmi:

I've got some code very dependant on nfnetlink_queue, and turned up a
large number of warns coming from skb_trim.  While it's quite possibly
my code, having not seen it on older kernels made me a bit suspect.

Anyhow, based on some googling I turned up this thread:
http://lkml.org/lkml/2006/8/13/56

And believe the issue to be related, so attached is a small patch to
the kernel -- not sure if this is completely correct, but for anyone
else hitting the WARN_ON(1) in skbuff.h, it might be helpful..

Signed-off-by: James D. Nurmi <jdnurmi@gmail.com>

Ported to ip6_queue and nfnetlink_queue and added return value
checks.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2006-11-15 21:18:48 -08:00
..
core.c [NETFILTER]: nf_queue: handle GSO packets 2006-09-22 14:53:55 -07:00
Kconfig [NETFILTER]: xt_CONNSECMARK: fix Kconfig dependencies 2006-10-15 23:14:09 -07:00
Makefile [NETFILTER]: x_tables: replace IPv4 DSCP target by address family independent version 2006-09-22 14:55:22 -07:00
nf_conntrack_core.c [NETFILTER]: nf_conntrack: add missing unlock in get_next_corpse() 2006-10-30 15:24:46 -08:00
nf_conntrack_ftp.c [NETFILTER]: Fix nf_conntrack_ftp.c build. 2006-09-22 15:18:20 -07:00
nf_conntrack_l3proto_generic.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nf_conntrack_netlink.c [NETFILTER]: ctnetlink: Remove debugging messages 2006-10-15 23:14:11 -07:00
nf_conntrack_proto_generic.c [NETFILTER]: Change tunables to __read_mostly 2006-09-22 15:18:54 -07:00
nf_conntrack_proto_sctp.c [NETFILTER]: Change tunables to __read_mostly 2006-09-22 15:18:54 -07:00
nf_conntrack_proto_tcp.c [NETFILTER]: TCP conntrack: improve dead connection detection 2006-09-22 15:19:57 -07:00
nf_conntrack_proto_udp.c [NETFILTER]: Change tunables to __read_mostly 2006-09-22 15:18:54 -07:00
nf_conntrack_standalone.c [NETFILTER]: kill listhelp.h 2006-09-22 15:19:45 -07:00
nf_internals.h [NETFILTER]: nf_queue: handle GSO packets 2006-09-22 14:53:55 -07:00
nf_log.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nf_queue.c [NETFILTER]: nf_queue: handle GSO packets 2006-09-22 14:53:55 -07:00
nf_sockopt.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nfnetlink.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
nfnetlink_log.c [NETFILTER]: nfnetlink_log: fix byteorder of NFULA_SEQ_GLOBAL 2006-11-15 21:18:47 -08:00
nfnetlink_queue.c [NETFILTER]: Use pskb_trim in {ip,ip6,nfnetlink}_queue 2006-11-15 21:18:48 -08:00
x_tables.c [NETFILTER]: x_tables: simplify compat API 2006-09-22 15:20:01 -07:00
xt_CLASSIFY.c [NETFILTER]: x_tables: remove unused argument to target functions 2006-09-22 14:55:33 -07:00
xt_comment.c [NETFILTER]: x_tables: make use of mass registation helpers 2006-09-22 14:55:32 -07:00
xt_connbytes.c [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00
xt_CONNMARK.c [NETFILTER]: xt_CONNMARK: add compat conversion functions 2006-09-22 15:20:05 -07:00
xt_connmark.c [NETFILTER]: fix cut-and-paste error in exit functions 2006-10-15 23:14:06 -07:00
xt_CONNSECMARK.c [NETFILTER]: x_tables: Fix typos after conversion to use mass registation helper 2006-09-22 14:55:40 -07:00
xt_conntrack.c [NETFILTER]: xt_conntrack: clean up overly long lines 2006-09-22 15:19:46 -07:00
xt_dccp.c [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00
xt_DSCP.c [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00
xt_dscp.c [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00
xt_esp.c [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00
xt_helper.c [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00
xt_length.c [NETFILTER]: x_tables: make use of mass registation helpers 2006-09-22 14:55:32 -07:00
xt_limit.c [NETFILTER]: xt_limit: add compat conversion functions 2006-09-22 15:20:06 -07:00
xt_mac.c [NETFILTER]: x_tables: make use of mass registation helpers 2006-09-22 14:55:32 -07:00
xt_mark.c [NETFILTER]: xt_mark: add compat conversion functions 2006-09-22 15:20:02 -07:00
xt_MARK.c [NETFILTER]: xt_MARK: add compat conversion functions 2006-09-22 15:20:03 -07:00
xt_multiport.c [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00
xt_NFQUEUE.c [NETFILTER]: fix cut-and-paste error in exit functions 2006-10-15 23:14:06 -07:00
xt_NOTRACK.c [NETFILTER]: x_tables: remove unused argument to target functions 2006-09-22 14:55:33 -07:00
xt_physdev.c [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00
xt_pkttype.c [NETFILTER]: x_tables: make use of mass registation helpers 2006-09-22 14:55:32 -07:00
xt_policy.c [NETFILTER]: xt_policy: remove dups in .family 2006-09-22 15:19:56 -07:00
xt_quota.c [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00
xt_realm.c [NETFILTER]: Rename init functions. 2006-03-28 17:02:48 -08:00
xt_sctp.c [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00
xt_SECMARK.c [NETFILTER]: x_tables: Fix typos after conversion to use mass registation helper 2006-09-22 14:55:40 -07:00
xt_state.c [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00
xt_statistic.c [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00
xt_string.c [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00
xt_tcpmss.c [NETFILTER]: xt_tcpmss: minor cleanups 2006-09-22 14:55:38 -07:00
xt_tcpudp.c [NETFILTER]: x_tables: remove unused size argument to check/destroy functions 2006-09-22 14:55:34 -07:00