]> git.kernelconcepts.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, 28 Aug 2008 05:30:52 +0000 (22:30 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 8 Sep 2008 11:44:23 +0000 (04:44 -0700)
commit7b29aece66858d8ee1fb10ca413fda072bfa74b6
tree4eb2a605fbeba13bf3420d36c45de334cf4d8296
parent2b02f3dddb2b9df4aed0758f36729d0a5c3bcede
netns: Add network namespace argument to rt6_fill_node() and ipv6_dev_get_saddr()

[ Upstream commit 191cd582500f49b32a63040fedeebb0168c720af ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
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