diff options
author | Eric Dumazet <edumazet@google.com> | 2017-03-15 13:21:28 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-03-30 09:35:13 +0200 |
commit | f3126725228c0fdbe17c18bcc5ace1b86465cce9 (patch) | |
tree | b8105cc0eaecdaa338816c12a5d8eb326b58f4e6 /net/switchdev | |
parent | 12f0bffc489dff7088c73f600b6be5769bc73cbd (diff) |
net: properly release sk_frag.page
[ Upstream commit 22a0e18eac7a9e986fec76c60fa4a2926d1291e2 ]
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: 5640f7685831 ("net: use a per task frag allocator")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/switchdev')
0 files changed, 0 insertions, 0 deletions