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>
Showing
- include/net/addrconf.h 2 additions, 1 deletioninclude/net/addrconf.h
- include/net/ip6_route.h 1 addition, 0 deletionsinclude/net/ip6_route.h
- net/ipv6/addrconf.c 1 addition, 2 deletionsnet/ipv6/addrconf.c
- net/ipv6/fib6_rules.c 2 additions, 1 deletionnet/ipv6/fib6_rules.c
- net/ipv6/ip6_fib.c 1 addition, 0 deletionsnet/ipv6/ip6_fib.c
- net/ipv6/ip6_output.c 1 addition, 1 deletionnet/ipv6/ip6_output.c
- net/ipv6/ndisc.c 1 addition, 1 deletionnet/ipv6/ndisc.c
- net/ipv6/route.c 7 additions, 5 deletionsnet/ipv6/route.c
- net/ipv6/xfrm6_policy.c 3 additions, 1 deletionnet/ipv6/xfrm6_policy.c
- net/sctp/ipv6.c 2 additions, 1 deletionnet/sctp/ipv6.c
Loading
Please register or sign in to comment