diff options
author | Shyam Prasad N <sprasad@microsoft.com> | 2023-12-29 11:16:15 +0000 |
---|---|---|
committer | Steve French <stfrench@microsoft.com> | 2023-12-29 09:08:59 -0600 |
commit | 7257bcf3bdc785eabc4eef1f329a59815b032508 (patch) | |
tree | 6b65abebf36cd6a941fdc5bef7d3c5004b444197 /lib/crypto/mpi/mpi-mod.c | |
parent | 27e1fd343f80168ff456785c2443136b6b7ca3cc (diff) |
cifs: cifs_chan_is_iface_active should be called with chan_lock held
cifs_chan_is_iface_active checks the channels of a session to see
if the associated iface is active. This should always happen
with chan_lock held. However, these two callers of this function
were missing this locking.
This change makes sure the function calls are protected with
proper locking.
Fixes: b54034a73baf ("cifs: during reconnect, update interface if necessary")
Fixes: fa1d0508bdd4 ("cifs: account for primary channel in the interface list")
Cc: stable@vger.kernel.org
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'lib/crypto/mpi/mpi-mod.c')
0 files changed, 0 insertions, 0 deletions