diff options
author | Guillaume Nault <g.nault@alphalink.fr> | 2016-11-29 13:09:45 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-11-30 20:14:07 +0100 |
commit | a3c18422a4b4e108bcf6a2328f48867e1003fd95 (patch) | |
tree | eeca3ead29ffaf135c31d9a11b29b082766b22cc /usr/initramfs_data.S | |
parent | l2tp: lock socket before checking flags in connect() (diff) | |
download | linux-a3c18422a4b4e108bcf6a2328f48867e1003fd95.tar.xz linux-a3c18422a4b4e108bcf6a2328f48867e1003fd95.zip |
l2tp: hold socket before dropping lock in l2tp_ip{, 6}_recv()
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>
Diffstat (limited to 'usr/initramfs_data.S')
0 files changed, 0 insertions, 0 deletions