]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6c9c395ed759e49dea05590892929724666dc4c3
tree80f5e7f2ce6ce122eb8203ebe2e8a801116a2ee4
parentcc29b71172bac730688bc1acfbd21b2c47c8fe22
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