diff options
author | Jesper Dangaard Brouer <brouer@redhat.com> | 2018-05-31 11:00:03 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-06-03 08:11:34 -0700 |
commit | 0c9d917b7d74b758af1b4e37996af48d95b2ef33 (patch) | |
tree | 379c0c7124939d33393c5c73ce1c86be6df17e51 /drivers/net/virtio_net.c | |
parent | 5e2e609522d67750d4b3c0321d1917bb109ac41b (diff) | |
download | linux-0c9d917b7d74b758af1b4e37996af48d95b2ef33.tar.gz |
tun: implement flush flag for ndo_xdp_xmit
When passed the XDP_XMIT_FLUSH flag tun_xdp_xmit now performs the same
kind of socket wake up as in tun_xdp_flush(). The wake up code from
tun_xdp_flush is generalized and shared with tun_xdp_xmit.
Signed-off-by: Jesper Dangaard Brouer <brouer@redhat.com>
Acked-by: Song Liu <songliubraving@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions