Skip to content
Commit 191cd582 authored by Brian Haley's avatar Brian Haley Committed by David S. Miller
Browse files

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: default avatarBrian Haley <brian.haley@hp.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0eb8b1fe
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment