]> git.baikalelectronics.ru Git - kernel.git/commit
xsk: proper Rx drop statistics update
authorBjörn Töpel <bjorn.topel@intel.com>
Mon, 4 Jun 2018 11:57:12 +0000 (13:57 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Mon, 4 Jun 2018 15:21:02 +0000 (17:21 +0200)
commit344a523062fe605f712757b6915b24ea2e28f5ae
tree7003dd6cf67754e4320e4983604ad29c5ae2ee47
parent1360566ffd30639426ee46241aacf4cdcd247f06
xsk: proper Rx drop statistics update

Previously, rx_dropped could be updated incorrectly, e.g. if the XDP
program redirected the frame to a socket bound to a different queue
than where the XDP program was executing.

Signed-off-by: Björn Töpel <bjorn.topel@intel.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
net/xdp/xsk.c