linux_dsm_epyc7002/net/l2tp
Guillaume Nault 94d7ee0baa l2tp: hold tunnel socket when handling control frames in l2tp_ip and l2tp_ip6
The code following l2tp_tunnel_find() expects that a new reference is
held on sk. Either sk_receive_skb() or the discard_put error path will
drop a reference from the tunnel's socket.

This issue exists in both l2tp_ip and l2tp_ip6.

Fixes: a3c18422a4 ("l2tp: hold socket before dropping lock in l2tp_ip{, 6}_recv()")
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-03-29 09:26:28 -07:00
..
Kconfig l2tp: Call udp_sock_create 2014-07-14 16:12:15 -07:00
l2tp_core.c lib/vsprintf.c: remove %Z support 2017-02-27 18:43:47 -08:00
l2tp_core.h l2tp: do not use udp_ioctl() 2017-02-10 15:57:34 -05:00
l2tp_debugfs.c ipv6: make lookups simpler and faster 2013-10-09 00:01:25 -04:00
l2tp_eth.c net: make ndo_get_stats64 a void function 2017-01-08 17:51:44 -05:00
l2tp_ip6.c l2tp: hold tunnel socket when handling control frames in l2tp_ip and l2tp_ip6 2017-03-29 09:26:28 -07:00
l2tp_ip.c l2tp: hold tunnel socket when handling control frames in l2tp_ip and l2tp_ip6 2017-03-29 09:26:28 -07:00
l2tp_netlink.c net: l2tp: cleanup: remove redundant condition 2016-11-09 18:55:36 -05:00
l2tp_ppp.c net: l2tp: ppp: change PPPOL2TP_MSG_* => L2TP_MSG_* 2016-12-10 23:29:11 -05:00
Makefile l2tp: introduce L2TPv3 IP encapsulation support for IPv6 2012-05-01 09:30:55 -04:00