aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/route.c
diff options
context:
space:
mode:
authorWei Wang <weiwan@google.com>2019-06-20 17:36:39 -0700
committerDavid S. Miller <davem@davemloft.net>2019-06-23 13:24:17 -0700
commitd64a1f574a2957b4bcb06452d36cc1c6bf16e9fc (patch)
treeb07474822bdef5a6e543daf192c8e23e3408e3fd /net/ipv6/route.c
parentipv6: initialize rt6->rt6i_uncached in all pre-allocated dst entries (diff)
downloadlinux-dev-d64a1f574a2957b4bcb06452d36cc1c6bf16e9fc.tar.xz
linux-dev-d64a1f574a2957b4bcb06452d36cc1c6bf16e9fc.zip
ipv6: honor RT6_LOOKUP_F_DST_NOREF in rule lookup logic
This patch specifically converts the rule lookup logic to honor this flag and not release refcnt when traversing each rule and calling lookup() on each routing table. Similar to previous patch, we also need some special handling of dst entries in uncached list because there is always 1 refcnt taken for them even if RT6_LOOKUP_F_DST_NOREF flag is set. Signed-off-by: Wei Wang <weiwan@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/route.c')
0 files changed, 0 insertions, 0 deletions