]> git.dujemihanovic.xyz Git - linux.git/commit
vxlan: Add missing VNI filter counter update in arp_reduce().
authorGuillaume Nault <gnault@redhat.com>
Fri, 26 Apr 2024 15:27:19 +0000 (17:27 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 29 Apr 2024 12:39:15 +0000 (13:39 +0100)
commitb22ea4ef4c3438817fcb604255b55b0058ed8c64
treee194c5a8ebd3d4da6a181e397a062626e9627a5d
parent6dee402daba4eb8677a9438ebdcd8fe90ddd4326
vxlan: Add missing VNI filter counter update in arp_reduce().

VXLAN stores per-VNI statistics using vxlan_vnifilter_count().
These statistics were not updated when arp_reduce() failed its
pskb_may_pull() call.

Use vxlan_vnifilter_count() to update the VNI counter when that
happens.

Fixes: 4095e0e1328a ("drivers: vxlan: vnifilter: per vni stats")
Signed-off-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/vxlan/vxlan_core.c