summaryrefslogtreecommitdiff
path: root/drivers/rpmsg
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2017-03-15 20:21:28 (GMT)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-30 07:41:21 (GMT)
commite9c1b1ab1225ad8c0e4f61b6cd3eea5867bbf7de (patch)
treea7f7ec46675b412e2614b48512d7d8e92f22c6f8 /drivers/rpmsg
parent4d5bc781eb2ced756b83f897f26920cd2a58484e (diff)
downloadlinux-e9c1b1ab1225ad8c0e4f61b6cd3eea5867bbf7de.tar.xz
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 'drivers/rpmsg')
0 files changed, 0 insertions, 0 deletions