OpenCloudOS-Kernel/net/l2tp
Guillaume Nault 321a52a391 l2tp: don't mask errors in pppol2tp_getsockopt()
pppol2tp_getsockopt() doesn't take into account the error code returned
by pppol2tp_tunnel_getsockopt() or pppol2tp_session_getsockopt(). If
error occurs there, pppol2tp_getsockopt() continues unconditionally and
reports erroneous values.

Fixes: fd558d186d ("l2tp: Split pppol2tp patch into separate l2tp and ppp parts")
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-04-08 08:29:04 -07:00
..
Kconfig l2tp: Call udp_sock_create 2014-07-14 16:12:15 -07:00
Makefile l2tp: introduce L2TPv3 IP encapsulation support for IPv6 2012-05-01 09:30:55 -04:00
l2tp_core.c l2tp: take reference on sessions being dumped 2017-04-04 10:00:56 -07:00
l2tp_core.h l2tp: take reference on sessions being dumped 2017-04-04 10:00:56 -07:00
l2tp_debugfs.c l2tp: take reference on sessions being dumped 2017-04-04 10:00:56 -07:00
l2tp_eth.c l2tp: fix duplicate session creation 2017-04-01 20:16:41 -07:00
l2tp_ip.c l2tp: fix race in l2tp_recv_common() 2017-04-01 20:16:41 -07:00
l2tp_ip6.c l2tp: fix race in l2tp_recv_common() 2017-04-01 20:16:41 -07:00
l2tp_netlink.c l2tp: take reference on sessions being dumped 2017-04-04 10:00:56 -07:00
l2tp_ppp.c l2tp: don't mask errors in pppol2tp_getsockopt() 2017-04-08 08:29:04 -07:00