diff options
author | David S. Miller <davem@davemloft.net> | 2018-04-11 23:41:28 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-04-11 23:41:28 +0200 |
commit | 0c84cee8f131a090f77f5a3dea5d6a7bd99c00db (patch) | |
tree | f616d85bc1fa0339fc227d4672cea1f4b4042a30 /fs/afs/dir.c | |
parent | tun: send netlink notification when the device is modified (diff) | |
parent | l2tp: fix race in duplicate tunnel detection (diff) | |
download | linux-0c84cee8f131a090f77f5a3dea5d6a7bd99c00db.tar.xz linux-0c84cee8f131a090f77f5a3dea5d6a7bd99c00db.zip |
Merge branch 'l2tp-tunnel-creation-fixes'
Guillaume Nault says:
====================
l2tp: tunnel creation fixes
L2TP tunnel creation is racy. We need to make sure that the tunnel
returned by l2tp_tunnel_create() isn't going to be freed while the
caller is using it. This is done in patch #1, by separating tunnel
creation from tunnel registration.
With the tunnel registration code in place, we can now check for
duplicate tunnels in a race-free way. This is done in patch #2, which
incidentally removes the last use of l2tp_tunnel_find().
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/afs/dir.c')
0 files changed, 0 insertions, 0 deletions