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)
commit42421a56541a3b0fb6656406b657ad4686cdaaeb
tree37dd621efcbd4d793b1332a23355d12f3a45bdc8
parent16ec025aa5077144747c97a1e40635f547457a95
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