Commit df57109
cifs: use tcon allocation functions even for dummy tcon
In smb2_reconnect_server, we allocate a dummy tcon for
calling reconnect for just the session. This should be
allocated using tconInfoAlloc, and not kmalloc.
Fixes: 3663c90 ("cifs: check reconnects for channels of active tcons too")
Signed-off-by: Shyam Prasad N <sprasad@microsoft.com>
Reviewed-by: Paulo Alcantara (SUSE) <pc@cjr.nz>
Signed-off-by: Steve French <stfrench@microsoft.com>1 parent ea90708 commit df57109
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3906 | 3906 | | |
3907 | 3907 | | |
3908 | 3908 | | |
3909 | | - | |
| 3909 | + | |
3910 | 3910 | | |
3911 | 3911 | | |
3912 | 3912 | | |
| |||
3929 | 3929 | | |
3930 | 3930 | | |
3931 | 3931 | | |
3932 | | - | |
| 3932 | + | |
3933 | 3933 | | |
3934 | 3934 | | |
3935 | 3935 | | |
| |||
0 commit comments