]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - net/l2tp/l2tp_core.h
l2tp: fix race in l2tp_recv_common()
[mirror_ubuntu-bionic-kernel.git] / net / l2tp / l2tp_core.h
index aebf281d09eeb31c531eb624bd2ddd78cab8da9b..4544e81a3d2730e533fe3b9a3abcef0eadec6387 100644 (file)
@@ -230,6 +230,9 @@ out:
        return tunnel;
 }
 
+struct l2tp_session *l2tp_session_get(struct net *net,
+                                     struct l2tp_tunnel *tunnel,
+                                     u32 session_id, bool do_ref);
 struct l2tp_session *l2tp_session_find(struct net *net,
                                       struct l2tp_tunnel *tunnel,
                                       u32 session_id);