From: Eric Dumazet <eduma...@google.com>
Date: Sun, 18 Nov 2018 07:37:33 -0800

> In order to cook skbs in the same way than Ethernet drivers,
> it is probably better to not use GFP_KERNEL, but rather
> use the GFP_ATOMIC and PFMEMALLOC mechanisms provided by
> netdev_alloc_frag().
> 
> This would allow to use tun driver even in memory stress
> situations, especially if swap is used over this tun channel.
> 
> Fixes: 90e33d459407 ("tun: enable napi_gro_frags() for TUN/TAP driver")
> Signed-off-by: Eric Dumazet <eduma...@google.com>

Applied.

Reply via email to