]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "tuntap: add missing xdp flush"
authorJason Wang <jasowang@redhat.com>
Sat, 24 Feb 2018 03:32:24 +0000 (11:32 +0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 26 Feb 2018 18:49:48 +0000 (13:49 -0500)
commit5d4a0f4ef8a40a28e6e64b1789eb984acb4bc37b
treeb14288a99ea749d2462e984498767ce7fc3d1816
parent5bf5151cedba5c1ff36026d6c6106e829b005e46
Revert "tuntap: add missing xdp flush"

This reverts commit b52d18f1f8569b38830205521f363c3a9f0dc8d4. The
reason is we try to batch packets for devmap which causes calling
xdp_do_flush() in the process context. Simply disabling preemption
may not work since process may move among processors which lead
xdp_do_flush() to miss some flushes on some processors.

So simply revert the patch, a follow-up patch will add the xdp flush
correctly.

Reported-by: Christoffer Dall <christoffer.dall@linaro.org>
Fixes: b52d18f1f856 ("tuntap: add missing xdp flush")
Signed-off-by: Jason Wang <jasowang@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/tun.c