diff options
author | 2017-08-25 16:22:17 +0200 | |
---|---|---|
committer | 2017-08-28 11:28:33 -0700 | |
commit | 9ee369a405c57613d7c83a3967780c3e30c52ecc (patch) | |
tree | 9b11954e5446349cf84b7d1eedcf939fe74bb5f1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: mvpp2: fix the mac address used when using PPv2.2 (diff) | |
download | linux-dev-9ee369a405c57613d7c83a3967780c3e30c52ecc.tar.xz linux-dev-9ee369a405c57613d7c83a3967780c3e30c52ecc.zip |
l2tp: initialise session's refcount before making it reachable
Sessions must be fully initialised before calling
l2tp_session_add_to_tunnel(). Otherwise, there's a short time frame
where partially initialised sessions can be accessed by external users.
Fixes: dbdbc73b4478 ("l2tp: fix duplicate session creation")
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions