]> git.baikalelectronics.ru Git - kernel.git/commit
tun: remove ndo_xdp_flush call tun_xdp_flush
authorJesper Dangaard Brouer <brouer@redhat.com>
Tue, 5 Jun 2018 11:55:45 +0000 (13:55 +0200)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 5 Jun 2018 12:03:16 +0000 (14:03 +0200)
commit89e86db37e0caeb85dd199a72aea9bbe9c935495
tree37dd621efcbd4d793b1332a23355d12f3a45bdc8
parentbedf9dabda1b159e6ae1a194011f654568766402
tun: remove ndo_xdp_flush call tun_xdp_flush

Remove the ndo_xdp_flush call implementation tun_xdp_flush
as no callers of ndo_xdp_flush are left.

The tun drivers XDP_TX implementation also used tun_xdp_flush (and
tun_xdp_xmit).  This is easily solved by passing the XDP_XMIT_FLUSH
flag to tun_xdp_xmit in tun_xdp_tx.

Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
drivers/net/tun.c