diff options
| author | Guillaume Nault <[email protected]> | 2017-10-30 16:58:58 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-31 01:59:52 +0000 |
| commit | f9e56baf03f9d36043a78f16e3e8b2cfd211e09e (patch) | |
| tree | fa7e340395989ecfcdda1a25388a9536c1afad68 /net/sched/cls_api.c | |
| parent | Linux 4.14-rc7 (diff) | |
| download | kernel-f9e56baf03f9d36043a78f16e3e8b2cfd211e09e.tar.gz kernel-f9e56baf03f9d36043a78f16e3e8b2cfd211e09e.zip | |
l2tp: hold tunnel in pppol2tp_connect()
Use l2tp_tunnel_get() in pppol2tp_connect() to ensure the tunnel isn't
going to disappear while processing the rest of the function.
Fixes: fd558d186df2 ("l2tp: Split pppol2tp patch into separate l2tp and ppp parts")
Signed-off-by: Guillaume Nault <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/sched/cls_api.c')
0 files changed, 0 insertions, 0 deletions
