mbox series

[net-next,0/4] l2tp: remove unused session fields

Message ID cover.1532680840.git.g.nault@alphalink.fr
Headers show
Series l2tp: remove unused session fields | expand

Message

Guillaume Nault July 27, 2018, 8:59 a.m. UTC
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(-)

Comments

David Miller July 27, 2018, 8:35 p.m. UTC | #1
From: Guillaume Nault <g.nault@alphalink.fr>
Date: Fri, 27 Jul 2018 10:59:55 +0200

> 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.

Series applied, thank you.