l2tp: drop ->flags from struct pppol2tp_session
authorGuillaume Nault <g.nault@alphalink.fr>
Fri, 27 Jul 2018 08:59:59 +0000 (10:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 27 Jul 2018 20:34:53 +0000 (13:34 -0700)
commit1998b5ed9c9bba5369e7c3659fc8a2e468e62bea
tree80f5e7f2ce6ce122eb8203ebe2e8a801116a2ee4
parentae51a7c6d54876c47ae53c455434023df2c19801
l2tp: drop ->flags from struct pppol2tp_session

This field is not used.

Keep validating user input in PPPIOCSFLAGS. Even though we discard the
value, it would look wrong to succeed if an invalid address was passed
from userspace.

Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/l2tp/l2tp_ppp.c