linux_dsm_epyc7002/net/l2tp
phil.turnbull@oracle.com 4ac36a4ada l2tp: Correctly return -EBADF from pppol2tp_getname.
If 'tunnel' is NULL we should return -EBADF but the 'end_put_sess' path
unconditionally sets 'error' back to zero. Rework the error path so it
more closely matches pppol2tp_sendmsg.

Fixes: fd558d186d ("l2tp: Split pppol2tp patch into separate l2tp and ppp parts")
Signed-off-by: Phil Turnbull <phil.turnbull@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2016-07-26 15:19:46 -07:00
..
Kconfig
l2tp_core.c l2tp: fix configuration passed to setup_udp_tunnel_sock() 2016-06-08 11:11:53 -07:00
l2tp_core.h
l2tp_debugfs.c
l2tp_eth.c net: add netdev_lockdep_set_classes() helper 2016-06-09 13:28:37 -07:00
l2tp_ip6.c ipv6: use TOS marks from sockets for routing decision 2016-06-11 15:33:26 -07:00
l2tp_ip.c
l2tp_netlink.c
l2tp_ppp.c l2tp: Correctly return -EBADF from pppol2tp_getname. 2016-07-26 15:19:46 -07:00
Makefile