summaryrefslogtreecommitdiff
path: root/block
diff options
context:
space:
mode:
authorEnzo Matsumiya <ematsumiya@suse.de>2025-05-21 16:25:53 +0200
committerEnzo Matsumiya <ematsumiya@suse.de>2025-05-22 14:02:48 +0200
commit192a0f9ef43af2d520ed4ac016595992660d24e0 (patch)
treec9cc854c84eecf159b8605d9dfc6ad269c89cbea /block
parenta87cf769d6b0be1a0e733e33945f3d6ba468240b (diff)
downloadlinux-multichannel-fixes-v2.tar.gz
linux-multichannel-fixes-v2.tar.bz2
linux-multichannel-fixes-v2.zip
smb: client: set interface for primary channelmultichannel-fixes-v2
On multichannel mounts, 2 sockets are created for the primary channel, as the interface it's connected to is received and parsed/added again. So compare ifaces IP with primary channel server IP (server->dstaddr) and assign the matching iface to ses->chans[0].iface. Add a ->is_primary flag to cifs_server_iface to allow skipping session setup on the primary channel, and for pretty-printing on cifs_debug.c as well. Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
Diffstat (limited to 'block')
0 files changed, 0 insertions, 0 deletions