]> git.baikalelectronics.ru Git - kernel.git/commit
net: tun: record RX queue in skb before do_xdp_generic()
authorGilberto Bertin <me@jibi.io>
Fri, 10 Apr 2020 16:20:59 +0000 (18:20 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Apr 2020 03:58:24 +0000 (20:58 -0700)
commitadc526a98590a890e5701c964ac923c7a9e25846
tree0560451c14b2fb13eb0206ed898a0b0be65f3c04
parent7a77bcb7820f3bc282c1c672bbcf23fc80ae8642
net: tun: record RX queue in skb before do_xdp_generic()

This allows netif_receive_generic_xdp() to correctly determine the RX
queue from which the skb is coming, so that the context passed to the
XDP program will contain the correct RX queue index.

Signed-off-by: Gilberto Bertin <me@jibi.io>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c