diff options
author | Ursula Braun <[email protected]> | 2018-08-08 14:13:21 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2018-08-08 19:14:22 -0700 |
commit | 7311d665ca68907b9c43d6d1021f816f9a7bbd57 (patch) | |
tree | 3edc813b7168552a1ca9afad1f04b698a65f371e /lib/test_overflow.c | |
parent | bd58c7e0860f54710907903ed6daff699d1fc5b9 (diff) |
net/smc: move sock lock in smc_ioctl()
When an SMC socket is connecting it is decided whether fallback to
TCP is needed. To avoid races between connect and ioctl move the
sock lock before the use_fallback check.
Reported-by: [email protected]
Reported-by: [email protected]
Fixes: 1992d99882af ("net/smc: take sock lock in smc_ioctl()")
Signed-off-by: Ursula Braun <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions