kernel-ark/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
Kconfig [NETFILTER]: xt_CONNSECMARK: fix Kconfig dependencies 2006-10-15 23:14:09 -07:00
Makefile
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
nf_conntrack_l3proto_generic.c
nf_conntrack_netlink.c [NETFILTER]: ctnetlink: Remove debugging messages 2006-10-15 23:14:11 -07:00
nf_conntrack_proto_generic.c
nf_conntrack_proto_sctp.c
nf_conntrack_proto_tcp.c
nf_conntrack_proto_udp.c
nf_conntrack_standalone.c
nf_internals.h
nf_log.c
nf_queue.c
nf_sockopt.c
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
nfnetlink.c
x_tables.c
xt_CLASSIFY.c
xt_comment.c
xt_connbytes.c
xt_connmark.c
xt_CONNMARK.c
xt_CONNSECMARK.c
xt_conntrack.c
xt_dccp.c
xt_dscp.c
xt_DSCP.c
xt_esp.c
xt_helper.c
xt_length.c
xt_limit.c
xt_mac.c
xt_mark.c
xt_MARK.c
xt_multiport.c
xt_NFQUEUE.c
xt_NOTRACK.c
xt_physdev.c
xt_pkttype.c
xt_policy.c
xt_quota.c
xt_realm.c
xt_sctp.c
xt_SECMARK.c
xt_state.c
xt_statistic.c
xt_string.c
xt_tcpmss.c
xt_tcpudp.c