]> asedeno.scripts.mit.edu Git - linux.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)
commite1ae5c2ea4783b1fd87be250f9fcc9d9e1a6ba3f
treed7ad249bd91f9c7e0d16c7c5d2504b3c1872fb88
parentf0d2ca1531377e7da888913e277eefac05a59b6f
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