diff options
| author | Guillaume Nault <g.nault@alphalink.fr> | 2016-11-29 13:09:45 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-11-10 07:41:38 -0800 |
| commit | 414fb21bd5e0b72ff76045e3b76cea9629b47ea0 (patch) | |
| tree | 9c70e5907f0023559a85381fd4dbb5467d207967 /tools/perf/scripts/python/syscall-counts.py | |
| parent | 44656b939099b3381134dfe7c1cf5ccfc08d3272 (diff) | |
l2tp: hold socket before dropping lock in l2tp_ip{, 6}_recv()
[ Upstream commit a3c18422a4b4e108bcf6a2328f48867e1003fd95 ]
Socket must be held while under the protection of the l2tp lock; there
is no guarantee that sk remains valid after the read_unlock_bh() call.
Same issue for l2tp_ip and l2tp_ip6.
Signed-off-by: Guillaume Nault <g.nault@alphalink.fr>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
