aboutsummaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c
diff options
context:
space:
mode:
authorUrsula Braun <ubraun@linux.ibm.com>2018-08-08 14:13:21 +0200
committerDavid S. Miller <davem@davemloft.net>2018-08-08 19:14:22 -0700
commit7311d665ca68907b9c43d6d1021f816f9a7bbd57 (patch)
tree3edc813b7168552a1ca9afad1f04b698a65f371e /drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.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: syzbot+5b2cece1a8ecb2ca77d8@syzkaller.appspotmail.com Reported-by: syzbot+19557374321ca3710990@syzkaller.appspotmail.com Fixes: 1992d99882af ("net/smc: take sock lock in smc_ioctl()") Signed-off-by: Ursula Braun <ubraun@linux.ibm.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_ucode.c')
0 files changed, 0 insertions, 0 deletions