diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2017-04-06 18:31:20 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-08 08:29:04 -0700 |
commit | 364700cf8fd54f54ad08313464105a414e3bccb7 (patch) | |
tree | 6effdb79001ec4069af6f3301fda22d465b9280e /net/nfc | |
parent | cc663f4d4c97b7297fb45135ab23cfd508b35a77 (diff) | |
download | op-kernel-dev-364700cf8fd54f54ad08313464105a414e3bccb7.zip op-kernel-dev-364700cf8fd54f54ad08313464105a414e3bccb7.tar.gz |
l2tp: don't mask errors in pppol2tp_setsockopt()
pppol2tp_setsockopt() unconditionally overwrites the error value
returned by pppol2tp_tunnel_setsockopt() or
pppol2tp_session_setsockopt(), thus hiding errors from userspace.
Fixes: fd558d186df2 ("l2tp: Split pppol2tp patch into separate l2tp and ppp parts")
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/nfc')
0 files changed, 0 insertions, 0 deletions