summaryrefslogtreecommitdiff
path: root/net/ipv6/ip6_input.c
diff options
context:
space:
mode:
authorPaolo Abeni <pabeni@redhat.com>2019-11-20 15:47:34 +0300
committerDavid S. Miller <davem@davemloft.net>2019-11-22 01:45:55 +0300
commitb9b33e7c24af1cddc7697056f1664279a40d9a4a (patch)
tree0bd274edeababf25ed5d1c9d76b180984e787afa /net/ipv6/ip6_input.c
parent1f8ac5703037fdd2e6c960cd35c2b14d18ef3933 (diff)
downloadlinux-b9b33e7c24af1cddc7697056f1664279a40d9a4a.tar.xz
ipv6: keep track of routes using src
Use a per namespace counter, increment it on successful creation of any route using the source address, decrement it on deletion of such routes. This allows us to check easily if the routing decision in the current namespace depends on the packet source. Will be used by the next patch. Suggested-by: David Ahern <dsahern@gmail.com> Signed-off-by: Paolo Abeni <pabeni@redhat.com> Reviewed-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6_input.c')
0 files changed, 0 insertions, 0 deletions