diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2018-08-03 17:00:11 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-03 21:39:01 +0200 |
commit | f664e37dcc525768280cb94321424a09beb1c992 (patch) | |
tree | 6530e5e71d9a26b2ebd6313be7510ee1f0ae9088 /net/smc | |
parent | Merge branch 'mlxsw-Fix-ACL-actions-error-condition-handling' (diff) | |
download | linux-f664e37dcc525768280cb94321424a09beb1c992.tar.xz linux-f664e37dcc525768280cb94321424a09beb1c992.zip |
l2tp: fix missing refcount drop in pppol2tp_tunnel_ioctl()
If 'session' is not NULL and is not a PPP pseudo-wire, then we fail to
drop the reference taken by l2tp_session_get().
Fixes: ecd012e45ab5 ("l2tp: filter out non-PPP sessions in pppol2tp_tunnel_ioctl()")
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/smc')
0 files changed, 0 insertions, 0 deletions