linux/net/ipv6/netfilter
Patrick McHardy e2b58a67b9 [NETFILTER]: {ip,ip6,nfnetlink}_queue: fix SKB_LINEAR_ASSERT when mangling packet data
As reported by Tomas Simonaitis <tomas.simonaitis@gmail.com>,
inserting new data in skbs queued over {ip,ip6,nfnetlink}_queue
triggers a SKB_LINEAR_ASSERT in skb_put().

Going back through the git history, it seems this bug is present since
at least 2.6.12-rc2, probably even since the removal of
skb_linearize() for netfilter.

Linearize non-linear skbs through skb_copy_expand() when enlarging
them.  Tested by Thomas, fixes bugzilla #9933.

Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
2008-02-19 17:17:52 -08:00
..
ip6_queue.c [NETFILTER]: {ip,ip6,nfnetlink}_queue: fix SKB_LINEAR_ASSERT when mangling packet data 2008-02-19 17:17:52 -08:00
ip6_tables.c [NETFILTER]: x_tables: create per-netns /proc/net/*_tables_* 2008-01-31 19:28:06 -08:00
ip6t_ah.c [NETFILTER]: Update modules' descriptions 2008-01-28 15:02:26 -08:00
ip6t_eui64.c [NETFILTER]: Update modules' descriptions 2008-01-28 15:02:26 -08:00
ip6t_frag.c [NETFILTER]: Update modules' descriptions 2008-01-28 15:02:26 -08:00
ip6t_hbh.c [NETFILTER]: Update modules' descriptions 2008-01-28 15:02:26 -08:00
ip6t_hl.c [NETFILTER]: Update modules' descriptions 2008-01-28 15:02:26 -08:00
ip6t_HL.c [NETFILTER]: Update modules' descriptions 2008-01-28 15:02:26 -08:00
ip6t_ipv6header.c [NETFILTER]: Update modules' descriptions 2008-01-28 15:02:26 -08:00
ip6t_LOG.c [NETFILTER]: Update modules' descriptions 2008-01-28 15:02:26 -08:00
ip6t_mh.c [NETFILTER]: Update modules' descriptions 2008-01-28 15:02:26 -08:00
ip6t_REJECT.c [NETFILTER]: Update modules' descriptions 2008-01-28 15:02:26 -08:00
ip6t_rt.c [NETFILTER]: Update modules' descriptions 2008-01-28 15:02:26 -08:00
ip6table_filter.c [NETFILTER]: ip6_tables: per-netns IPv6 FILTER, MANGLE, RAW 2008-01-31 19:27:39 -08:00
ip6table_mangle.c [NETFILTER]: ip6_tables: per-netns IPv6 FILTER, MANGLE, RAW 2008-01-31 19:27:39 -08:00
ip6table_raw.c [NETFILTER]: ip6_tables: per-netns IPv6 FILTER, MANGLE, RAW 2008-01-31 19:27:39 -08:00
Kconfig Make !NETFILTER_ADVANCED enable IP6_NF_MATCH_IPV6HEADER 2008-01-31 00:26:10 +11:00
Makefile [NETFILTER]: merge ipt_owner/ip6t_owner in xt_owner 2008-01-28 14:55:55 -08:00
nf_conntrack_l3proto_ipv6.c [NETFILTER]: nf_conntrack: annotate l3protos with const 2008-01-31 19:28:13 -08:00
nf_conntrack_proto_icmpv6.c [NETFILTER]: nf_{conntrack,nat}_icmp: constify and annotate 2008-01-31 19:28:12 -08:00
nf_conntrack_reasm.c [NETFILTER]: nf_conntrack_ipv6: fix sparse warnings 2008-01-31 19:27:49 -08:00