]> 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)
commit898337aa81a3643c57c93e497de26f8911c644d5
tree80f5e7f2ce6ce122eb8203ebe2e8a801116a2ee4
parentfd9d5ef5881406836749e8a7c1f723442351b04d
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