diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2017-04-06 18:31:21 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-08 17:29:04 +0200 |
commit | 321a52a39189d5e4af542f7dcdc07bba4545cf5d (patch) | |
tree | 198566224a6c5b6a6408faafe8dfbfbcd960cbe9 /sound/soc/txx9 | |
parent | l2tp: don't mask errors in pppol2tp_setsockopt() (diff) | |
download | linux-321a52a39189d5e4af542f7dcdc07bba4545cf5d.tar.xz linux-321a52a39189d5e4af542f7dcdc07bba4545cf5d.zip |
l2tp: don't mask errors in pppol2tp_getsockopt()
pppol2tp_getsockopt() doesn't take into account the error code returned
by pppol2tp_tunnel_getsockopt() or pppol2tp_session_getsockopt(). If
error occurs there, pppol2tp_getsockopt() continues unconditionally and
reports erroneous values.
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 'sound/soc/txx9')
0 files changed, 0 insertions, 0 deletions