diff options
author | Eric Dumazet <edumazet@google.com> | 2017-03-15 21:21:28 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-03-15 23:37:45 +0100 |
commit | 22a0e18eac7a9e986fec76c60fa4a2926d1291e2 (patch) | |
tree | 3fc462095b2f36f16a10c583fa51f6682680f913 /net/wireless | |
parent | amd-xgbe: Fix jumbo MTU processing on newer hardware (diff) | |
download | linux-22a0e18eac7a9e986fec76c60fa4a2926d1291e2.tar.xz linux-22a0e18eac7a9e986fec76c60fa4a2926d1291e2.zip |
net: properly release sk_frag.page
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>
Diffstat (limited to 'net/wireless')
0 files changed, 0 insertions, 0 deletions