aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorUrsula Braun <[email protected]>2018-08-08 14:13:21 +0200
committerDavid S. Miller <[email protected]>2018-08-08 19:14:22 -0700
commit7311d665ca68907b9c43d6d1021f816f9a7bbd57 (patch)
tree3edc813b7168552a1ca9afad1f04b698a65f371e /lib/test_overflow.c
parentbd58c7e0860f54710907903ed6daff699d1fc5b9 (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