diff options
author | Taehee Yoo <ap420073@gmail.com> | 2019-07-03 00:24:04 +0900 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-07-07 18:42:48 -0700 |
commit | e30155fd23c9c141cbe7d99b786e10a83a328837 (patch) | |
tree | 10e7d1a627220bfe1bc037ab14956cc83a363d48 /crypto/cfb.c | |
parent | a2bed90704c68d3763bf24decb1b781a45395de8 (diff) | |
download | linux-e30155fd23c9c141cbe7d99b786e10a83a328837.tar.bz2 |
gtp: add missing gtp_encap_disable_sock() in gtp_encap_enable()
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>
Diffstat (limited to 'crypto/cfb.c')
0 files changed, 0 insertions, 0 deletions