summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorTaehee Yoo2019-07-02 17:24:04 +0200
committerGreg Kroah-Hartman2019-07-26 09:14:17 +0200
commitca33af18b5fc497bd1d6260ccee1ff7b8f6d41d6 (patch)
tree64eeb3f65116d2647f6c3f30bf46c5756ebd98d2 /net
parentBluetooth: Check state in l2cap_disconnect_rsp (diff)
downloadkernel-qcow2-linux-ca33af18b5fc497bd1d6260ccee1ff7b8f6d41d6.tar.gz
kernel-qcow2-linux-ca33af18b5fc497bd1d6260ccee1ff7b8f6d41d6.tar.xz
kernel-qcow2-linux-ca33af18b5fc497bd1d6260ccee1ff7b8f6d41d6.zip
gtp: add missing gtp_encap_disable_sock() in gtp_encap_enable()
[ Upstream commit e30155fd23c9c141cbe7d99b786e10a83a328837 ] If an invalid role is sent from user space, gtp_encap_enable() will fail. Then, it should call gtp_encap_disable_sock() but current code doesn't. It makes memory leak. Fixes: 91ed81f9abc7 ("gtp: support SGSN-side tunnels") Signed-off-by: Taehee Yoo <ap420073@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions