[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 01 Feb 2017 18:46:28 -0800
From: Eric Dumazet <eric.dumazet@...il.com>
To: Josef Bacik <jbacik@...com>
Cc: netdev@...r.kernel.org, kernel-team@...com,
"David S . Miller" <davem@...emloft.net>
Subject: Re: [PATCH net-next] loopback: clear pfmemalloc on outgoing skb's
On Wed, 2017-02-01 at 15:38 -0800, Eric Dumazet wrote:
> I am not sure this is a proper fix.
>
> Presumably if the socket was able to store packets in its write queue,
> fact that it sends it to loopback or an Ethernet link should not matter.
>
> Only in RX path the pfmemalloc thing is really important.
>
> So I would rather not set skb->pfmemalloc for skbs allocated for the
> write queue, and more exactly the fast clone.
Also note that any looped packet would have the problem : veth, macvlan,
ipvlan, ...
Powered by blists - more mailing lists