aboutsummaryrefslogtreecommitdiff
path: root/include/linux/gcd.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-03-15 13:21:28 -0700
committerMoyster <oysterized@gmail.com>2017-06-17 15:53:47 +0200
commit8f0f1e0895bfb35e4b6c1f88497615c71da5d6cb (patch)
tree68c2b99aea0a702e058fcc6eae23e199b5335c67 /include/linux/gcd.h
parent92fe665bc33942e798e46bf6f40afed53253b7f8 (diff)
net: properly release sk_frag.page
commit 22a0e18eac7a9e986fec76c60fa4a2926d1291e2 upstream. 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: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'include/linux/gcd.h')
0 files changed, 0 insertions, 0 deletions