Files
kernel_amazon_mt8127-common/net/core
Eric Dumazet de9d09c345 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: 5640f76858 ("net: use a per task frag allocator")
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
2017-06-08 00:47:04 +02:00
..
2016-06-07 10:42:54 +02:00
2014-08-14 09:24:15 +08:00
2017-06-08 00:47:04 +02:00