Commit b7ab916
cifs: Fix oops due to uncleared server->smbd_conn in reconnect
In smbd_destroy(), clear the server->smbd_conn pointer after freeing the
smbd_connection struct that it points to so that reconnection doesn't get
confused.
Fixes: 8ef130f ("CIFS: SMBD: Implement function to destroy a SMB Direct connection")
Cc: [email protected]
Reviewed-by: Paulo Alcantara (SUSE) <[email protected]>
Acked-by: Tom Talpey <[email protected]>
Signed-off-by: David Howells <[email protected]>
Cc: Long Li <[email protected]>
Cc: Pavel Shilovsky <[email protected]>
Cc: Ronnie Sahlberg <[email protected]>
Signed-off-by: Steve French <[email protected]>1 parent 2241ab5 commit b7ab916
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1405 | 1405 | | |
1406 | 1406 | | |
1407 | 1407 | | |
| 1408 | + | |
1408 | 1409 | | |
1409 | 1410 | | |
1410 | 1411 | | |
| |||
0 commit comments