Re: [PATCH net] net: properly release sk_frag.page

2017-03-15 Thread David Miller
From: Eric Dumazet Date: Wed, 15 Mar 2017 13:21:28 -0700 > From: Eric Dumazet > > I mistakenly added the code to release sk->sk_frag in > sk_common_release() instead of sk_destruct() > > TCP sockets using sk->sk_allocation == GFP_ATOMIC do no call > sk_common_release() at close time, thus leak

[PATCH net] net: properly release sk_frag.page

2017-03-15 Thread Eric Dumazet
From: Eric Dumazet I mistakenly added the code to release sk->sk_frag in sk_common_release() instead of sk_destruct() TCP sockets using sk->sk_allocation == GFP_ATOMIC do no call sk_common_release() at close time, thus leaking one (order-3) page. iSCSI is using such sockets. Fixes: 5640f768583