Revision 159d83363b629c91d020734207c1bc788b96af5a authored by Patrick McHardy on 14 April 2008, 07:46:01 UTC, committed by David S. Miller on 14 April 2008, 07:46:01 UTC
The bridge netfilter code attaches a fake dst_entry with a pointer to a fake net_device structure to skbs it passes up to IPv4 netfilter. This leads to crashes when the skb is passed to __ip_route_output_key when dereferencing the namespace pointer. Since bridging can currently only operate in the init_net namespace, the easiest fix for now is to initialize the nd_net pointer of the fake net_device struct to &init_net. Should fix bugzilla 10323: http://bugzilla.kernel.org/show_bug.cgi?id=10323 Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent 4dee959
File | Mode | Size |
---|---|---|
netfilter | ||
Kconfig | -rw-r--r-- | 5.3 KB |
Makefile | -rw-r--r-- | 1.3 KB |
addrconf.c | -rw-r--r-- | 106.0 KB |
addrconf_core.c | -rw-r--r-- | 2.4 KB |
addrlabel.c | -rw-r--r-- | 12.5 KB |
af_inet6.c | -rw-r--r-- | 22.9 KB |
ah6.c | -rw-r--r-- | 13.1 KB |
anycast.c | -rw-r--r-- | 11.9 KB |
datagram.c | -rw-r--r-- | 17.2 KB |
esp6.c | -rw-r--r-- | 13.6 KB |
exthdrs.c | -rw-r--r-- | 20.1 KB |
exthdrs_core.c | -rw-r--r-- | 3.2 KB |
fib6_rules.c | -rw-r--r-- | 6.4 KB |
icmp.c | -rw-r--r-- | 20.7 KB |
inet6_connection_sock.c | -rw-r--r-- | 6.2 KB |
inet6_hashtables.c | -rw-r--r-- | 6.6 KB |
ip6_fib.c | -rw-r--r-- | 29.8 KB |
ip6_flowlabel.c | -rw-r--r-- | 16.1 KB |
ip6_input.c | -rw-r--r-- | 6.1 KB |
ip6_output.c | -rw-r--r-- | 36.9 KB |
ip6_tunnel.c | -rw-r--r-- | 33.3 KB |
ipcomp6.c | -rw-r--r-- | 10.8 KB |
ipv6_sockglue.c | -rw-r--r-- | 23.8 KB |
mcast.c | -rw-r--r-- | 62.0 KB |
mip6.c | -rw-r--r-- | 13.2 KB |
ndisc.c | -rw-r--r-- | 44.1 KB |
netfilter.c | -rw-r--r-- | 3.4 KB |
proc.c | -rw-r--r-- | 8.4 KB |
protocol.c | -rw-r--r-- | 2.0 KB |
raw.c | -rw-r--r-- | 30.2 KB |
reassembly.c | -rw-r--r-- | 18.7 KB |
route.c | -rw-r--r-- | 59.3 KB |
sit.c | -rw-r--r-- | 21.3 KB |
sysctl_net_ipv6.c | -rw-r--r-- | 3.7 KB |
tcp_ipv6.c | -rw-r--r-- | 54.1 KB |
tunnel6.c | -rw-r--r-- | 4.3 KB |
udp.c | -rw-r--r-- | 25.4 KB |
udp_impl.h | -rw-r--r-- | 1.4 KB |
udplite.c | -rw-r--r-- | 3.1 KB |
xfrm6_input.c | -rw-r--r-- | 3.2 KB |
xfrm6_mode_beet.c | -rw-r--r-- | 2.9 KB |
xfrm6_mode_ro.c | -rw-r--r-- | 2.3 KB |
xfrm6_mode_transport.c | -rw-r--r-- | 2.3 KB |
xfrm6_mode_tunnel.c | -rw-r--r-- | 3.1 KB |
xfrm6_output.c | -rw-r--r-- | 2.1 KB |
xfrm6_policy.c | -rw-r--r-- | 7.4 KB |
xfrm6_state.c | -rw-r--r-- | 4.8 KB |
xfrm6_tunnel.c | -rw-r--r-- | 9.1 KB |
Computing file changes ...