]> git.karo-electronics.de Git - karo-tx-linux.git/commit
netns: Add network namespace argument to rt6_fill_node() and ipv6_dev_get_saddr()
authorBrian Haley <brian.haley@hp.com>
Thu, 14 Aug 2008 22:33:21 +0000 (15:33 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Aug 2008 22:33:21 +0000 (15:33 -0700)
commit191cd582500f49b32a63040fedeebb0168c720af
tree173ce9682d77798c6e4ca7e14af57ea2f46c55b8
parent0eb8b1fe9238ca4c1797e4c105d5790abda1726f
netns: Add network namespace argument to rt6_fill_node() and ipv6_dev_get_saddr()

ipv6_dev_get_saddr() blindly de-references dst_dev to get the network
namespace, but some callers might pass NULL.  Change callers to pass a
namespace pointer instead.

Signed-off-by: Brian Haley <brian.haley@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/addrconf.h
include/net/ip6_route.h
net/ipv6/addrconf.c
net/ipv6/fib6_rules.c
net/ipv6/ip6_fib.c
net/ipv6/ip6_output.c
net/ipv6/ndisc.c
net/ipv6/route.c
net/ipv6/xfrm6_policy.c
net/sctp/ipv6.c