Thread (5 messages) 5 messages, 3 authors, 2017-08-17

Re: [PATCH] tun: make tun_build_skb() thread safe

flat view

From: David Miller <davem@davemloft.net>
Date: 2017-08-16 21:27:54
Also in: lkml

From: Jason Wang <redacted>
Date: Wed, 16 Aug 2017 22:14:33 +0800
From: Eric Dumazet <redacted>

tun_build_skb() is not thread safe since it uses per queue page frag,
this will break things when multiple threads are sending through same
queue. Switch to use per-thread generator (no lock involved).

Fixes: 66ccbc9c87c2 ("tap: use build_skb() for small packet")
Tested-by: Jason Wang <redacted>
Signed-off-by: Eric Dumazet <redacted>
Signed-off-by: Jason Wang <redacted>
Applied, thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help