diff options
author | Wei Wang <weiwan@google.com> | 2019-06-20 17:36:39 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-23 13:24:17 -0700 |
commit | d64a1f574a2957b4bcb06452d36cc1c6bf16e9fc (patch) | |
tree | b07474822bdef5a6e543daf192c8e23e3408e3fd /include/kvm | |
parent | ipv6: initialize rt6->rt6i_uncached in all pre-allocated dst entries (diff) | |
download | linux-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 'include/kvm')
0 files changed, 0 insertions, 0 deletions