]> git.baikalelectronics.ru Git - kernel.git/commit
vrf: Increment Icmp6InMsgs on the original netdev
authorStephen Suryaputra <ssuryaextr@gmail.com>
Mon, 10 Jun 2019 14:32:50 +0000 (10:32 -0400)
committerDavid S. Miller <davem@davemloft.net>
Wed, 12 Jun 2019 18:00:11 +0000 (11:00 -0700)
commit056afe7f8cdb5aa2089bdd27fac1a9991cee2526
treed7ad249bd91f9c7e0d16c7c5d2504b3c1872fb88
parent14e16de8995b411f85c44cae38f59514188aba60
vrf: Increment Icmp6InMsgs on the original netdev

Get the ingress interface and increment ICMP counters based on that
instead of skb->dev when the the dev is a VRF device.

This is a follow up on the following message:
https://www.spinics.net/lists/netdev/msg560268.html

v2: Avoid changing skb->dev since it has unintended effect for local
    delivery (David Ahern).
Signed-off-by: Stephen Suryaputra <ssuryaextr@gmail.com>
Reviewed-by: David Ahern <dsahern@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/addrconf.h
net/ipv6/icmp.c
net/ipv6/reassembly.c