Re: [PATCH net-next] tcp: clear pfmemalloc on outgoing skb

2017-02-03 Thread David Miller
From: Eric Dumazet Date: Thu, 02 Feb 2017 20:40:08 -0800 > From: Eric Dumazet > > Josef Bacik diagnosed following problem : > >I was seeing random disconnects while testing NBD over loopback. >This turned out to be because NBD sets pfmemalloc on it's socket, >however the receiving

[PATCH net-next] tcp: clear pfmemalloc on outgoing skb

2017-02-02 Thread Eric Dumazet
From: Eric Dumazet Josef Bacik diagnosed following problem : I was seeing random disconnects while testing NBD over loopback. This turned out to be because NBD sets pfmemalloc on it's socket, however the receiving side is a user space application so does not have pfmemalloc set on it