From: Jason Wang <[email protected]>
Date: Wed, 16 Aug 2017 22:14:33 +0800

> From: Eric Dumazet <[email protected]>
> 
> 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 <[email protected]>
> Signed-off-by: Eric Dumazet <[email protected]>
> Signed-off-by: Jason Wang <[email protected]>

Applied, thanks.

Reply via email to