tuntap: move XDP flushing out of tun_do_xdp()
authorJason Wang <jasowang@redhat.com>
Wed, 12 Sep 2018 03:17:05 +0000 (11:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 13 Sep 2018 16:25:40 +0000 (09:25 -0700)
commit1a097910adda6b3328fc235575bba0e9ee408492
tree84e788fa7cb7552910719b2d0bab3b89ab903646
parent8ae1aff0b331ab154c39910f2e0ed239bf942d56
tuntap: move XDP flushing out of tun_do_xdp()

This will allow adding batch flushing on top.

Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c