Home
last modified time | relevance | path

Searched hist:"1158 f79f82d437093aeed87d57df0548bdd68146" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/net/ipv6/
H A Droute.cdiff 1158f79f82d437093aeed87d57df0548bdd68146 Mon Apr 04 10:09:08 CDT 2022 David Ahern <dsahern@kernel.org> 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>