aboutsummaryrefslogtreecommitdiff
path: root/net/unix/sysctl_net_unix.c
diff options
context:
space:
mode:
authorXingxing Luo <xingxing.luo@unisoc.com>2023-09-19 11:30:55 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2023-10-02 13:37:57 +0200
commit33d7e37232155aadebe4145dcc592f00dabd7a2b (patch)
treefa2304a12ccee5fc4d129243854d0ffb1269c19e /net/unix/sysctl_net_unix.c
parent6658a62e1ddf726483cb2d8bf45ea3f9bd533074 (diff)
usb: musb: Get the musb_qh poniter after musb_giveback
When multiple threads are performing USB transmission, musb->lock will be unlocked when musb_giveback is executed. At this time, qh may be released in the dequeue process in other threads, resulting in a wild pointer, so it needs to be here get qh again, and judge whether qh is NULL, and when dequeue, you need to set qh to NULL. Fixes: dbac5d07d13e ("usb: musb: host: don't start next rx urb if current one failed") Cc: stable@vger.kernel.org Signed-off-by: Xingxing Luo <xingxing.luo@unisoc.com> Link: https://lore.kernel.org/r/20230919033055.14085-1-xingxing.luo@unisoc.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions