aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/rocker/rocker_hw.h
diff options
context:
space:
mode:
authorAurelien Aptel <aaptel@suse.com>2019-12-04 16:14:54 +0100
committerSteve French <stfrench@microsoft.com>2019-12-04 11:51:18 -0600
commit9a7d5a9e6d7921e1854b4606ce8c3e17d565f463 (patch)
treee3bd912be7c3025e3586954802d59f222504579f /drivers/net/ethernet/rocker/rocker_hw.h
parentcifs: Fix lookup of SMB connections on multichannel (diff)
downloadlinux-dev-9a7d5a9e6d7921e1854b4606ce8c3e17d565f463.tar.xz
linux-dev-9a7d5a9e6d7921e1854b4606ce8c3e17d565f463.zip
cifs: fix possible uninitialized access and race on iface_list
iface[0] was accessed regardless of the count value and without locking. * check count before accessing any ifaces * make copy of iface list (it's a simple POD array) and use it without locking. Signed-off-by: Aurelien Aptel <aaptel@suse.com> Signed-off-by: Steve French <stfrench@microsoft.com> Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Diffstat (limited to 'drivers/net/ethernet/rocker/rocker_hw.h')
0 files changed, 0 insertions, 0 deletions