l2tp: remove tunnel and session debug flags field
authorTom Parkin <tparkin@katalix.com>
Sat, 22 Aug 2020 14:59:08 +0000 (15:59 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 22 Aug 2020 19:44:37 +0000 (12:44 -0700)
commiteee049c0ef5b5b433f36841801e34c21c9f82a23
treef66fb60491390a7865cc12a6a731fa8775a1173b
parentac6ebaf06e2c1bf6e42e35b35ded8b6d576d24d6
l2tp: remove tunnel and session debug flags field

The l2tp subsystem now uses standard kernel logging APIs for
informational and warning messages, and tracepoints for debug
information.

Now that the tunnel and session debug flags are unused, remove the field
from the core structures.

Various system calls (in the case of l2tp_ppp) and netlink messages
handle the getting and setting of debug flags.  To avoid userspace
breakage don't modify the API of these calls; simply ignore set
requests, and send dummy data for get requests.

Signed-off-by: Tom Parkin <tparkin@katalix.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/uapi/linux/if_pppol2tp.h
include/uapi/linux/l2tp.h
net/l2tp/l2tp_core.c
net/l2tp/l2tp_core.h
net/l2tp/l2tp_debugfs.c
net/l2tp/l2tp_netlink.c
net/l2tp/l2tp_ppp.c