diff options
author | David Ahern <dsahern@kernel.org> | 2022-04-04 09:09:08 -0600 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2022-04-05 13:41:27 +0200 |
commit | 1158f79f82d437093aeed87d57df0548bdd68146 (patch) | |
tree | cdce747165988550332f0f1b9dd55e9649c6db17 /drivers/net/ethernet/intel/ice/ice_main.c | |
parent | 61fb3eee13e8a79245059924e69fe3430f3f3b19 (diff) |
ipv6: Fix stats accounting in ip6_pkt_drop
VRF devices are the loopbacks for VRFs, and a loopback can not be
assigned to a VRF. Accordingly, the condition in ip6_pkt_drop should
be '||' not '&&'.
Fixes: 1d3fd8a10bed ("vrf: Use orig netdev to count Ip6InNoRoutes and a fresh route lookup when sending dest unreach")
Reported-by: Pudak, Filip <Filip.Pudak@windriver.com>
Reported-by: Xiao, Jiguang <Jiguang.Xiao@windriver.com>
Signed-off-by: David Ahern <dsahern@kernel.org>
Link: https://lore.kernel.org/r/20220404150908.2937-1-dsahern@kernel.org
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'drivers/net/ethernet/intel/ice/ice_main.c')
0 files changed, 0 insertions, 0 deletions