Files
linux/net/l2tp
[email protected] 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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2016-07-26 15:19:46 -07:00
..
2014-07-14 16:12:15 -07:00
2015-09-25 12:27:22 -07:00
2016-04-25 15:09:10 -04:00