Re: [PATCH V4 net 3/3] tuntap: correctly add the missing XDP flush

From: David Miller
Date: Mon Feb 26 2018 - 13:50:29 EST


From: Jason Wang <jasowang@xxxxxxxxxx>
Date: Sat, 24 Feb 2018 11:32:26 +0800

> We don't flush batched XDP packets through xdp_do_flush_map(), this
> will cause packets stall at TX queue. Consider we don't do XDP on NAPI
> poll(), the only possible fix is to call xdp_do_flush_map()
> immediately after xdp_do_redirect().
>
> Note, this in fact won't try to batch packets through devmap, we could
> address in the future.
>
> Reported-by: Christoffer Dall <christoffer.dall@xxxxxxxxxx>
> Fixes: 761876c857cb ("tap: XDP support")
> Signed-off-by: Jason Wang <jasowang@xxxxxxxxxx>

Applied, and all 3 patches queued up for -stable.

Thanks.