Re: [PATCH net-next] tun: don't require serialization lock on tx

2016-04-18 Thread David Miller
From: Paolo Abeni Date: Thu, 14 Apr 2016 18:39:39 +0200 > The current tun_net_xmit() implementation don't need any external > lock since it relies on rcu protection for the tun data structure > and on socket queue lock for skb queuing. > > This patch set the NETIF_F_LLTX feature bit in the tun d

Re: [PATCH net-next] tun: don't require serialization lock on tx

2016-04-17 Thread Michael S. Tsirkin
On Thu, Apr 14, 2016 at 06:39:39PM +0200, Paolo Abeni wrote: > The current tun_net_xmit() implementation don't need any external > lock since it relies on rcu protection for the tun data structure > and on socket queue lock for skb queuing. > > This patch set the NETIF_F_LLTX feature bit in the tu

[PATCH net-next] tun: don't require serialization lock on tx

2016-04-14 Thread Paolo Abeni
The current tun_net_xmit() implementation don't need any external lock since it relies on rcu protection for the tun data structure and on socket queue lock for skb queuing. This patch set the NETIF_F_LLTX feature bit in the tun device, so that on xmit, in absence of qdisc, no serialization lock i