Skip to content

l2tp: remove unused session fields

Guillaume Nault netdev 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4l2tp: ignore L2TP_ATTR_DATA_SEQ netlink attributeinclude/uapi/linux/l2tp.h net/l2tp/l2tp_core.h net/l2tp/l2tp_debugfs.c +1 more+5 -200 replies
2/4l2tp: ignore L2TP_ATTR_VLAN_ID netlink attributeinclude/uapi/linux/l2tp.h net/l2tp/l2tp_core.h net/l2tp/l2tp_netlink.c+2 -60 replies
3/4l2tp: drop ->flags from struct pppol2tp_sessionnet/l2tp/l2tp_ppp.c+2 -110 replies
4/4l2tp: drop ->mru from struct l2tp_sessioninclude/uapi/linux/l2tp.h net/l2tp/l2tp_core.c net/l2tp/l2tp_core.h +3 more+9 -510 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/4] l2tp: remove unused session fields

Several fields of the session structures can be set, but remain unused otherwise.
This series removes these fields and explicitely ignores the associated ioctls and netlink attributes.

Guillaume Nault (4):
l2tp: ignore L2TP_ATTR_DATA_SEQ netlink attribute
l2tp: ignore L2TP_ATTR_VLAN_ID netlink attribute
l2tp: drop ->flags from struct pppol2tp_session
l2tp: drop ->mru from struct l2tp_session

 include/uapi/linux/l2tp.h | 13 +++++-----
 net/l2tp/l2tp_core.c      |  1 -
 net/l2tp/l2tp_core.h      | 11 --------
 net/l2tp/l2tp_debugfs.c   |  6 ++---
 net/l2tp/l2tp_netlink.c   | 19 +-------------
 net/l2tp/l2tp_ppp.c       | 54 +++++----------------------------------
 6 files changed, 17 insertions(+), 87 deletions(-)
Signature · 1 line
2.18.0