Re: [PATCH net-next] tun: avoid unnecessary READ_ONCE in tun_net_xmit

2017-12-06 Thread David Miller
From: Willem de Bruijn Date: Tue, 5 Dec 2017 22:11:17 -0500 > From: Willem de Bruijn > > The statement no longer serves a purpose. > > Commit fa35864e0bb7 ("tuntap: Fix for a race in accessing numqueues") > added the ACCESS_ONCE to avoid a race condition with skb_queue_len. > > Commit 436acc

Re: [PATCH net-next] tun: avoid unnecessary READ_ONCE in tun_net_xmit

2017-12-05 Thread Jason Wang
On 2017年12月06日 11:11, Willem de Bruijn wrote: From: Willem de Bruijn The statement no longer serves a purpose. Commit fa35864e0bb7 ("tuntap: Fix for a race in accessing numqueues") added the ACCESS_ONCE to avoid a race condition with skb_queue_len. Commit 436accebb530 ("tuntap: remove unnec

[PATCH net-next] tun: avoid unnecessary READ_ONCE in tun_net_xmit

2017-12-05 Thread Willem de Bruijn
From: Willem de Bruijn The statement no longer serves a purpose. Commit fa35864e0bb7 ("tuntap: Fix for a race in accessing numqueues") added the ACCESS_ONCE to avoid a race condition with skb_queue_len. Commit 436accebb530 ("tuntap: remove unnecessary sk_receive_queue length check during xmit")