kernel: ksmbd: browse-interfaces-list-on-FSCTL_QUERY_INTERFACE_INFO
authorAndrea Pesaresi <[email protected]>
Sat, 11 Oct 2025 08:07:42 +0000 (10:07 +0200)
committerHauke Mehrtens <[email protected]>
Sat, 18 Oct 2025 12:42:55 +0000 (14:42 +0200)
commit225b6724cdf1de73ca6fba1d598efafd841f5bf5
tree4b6333ddc7cf705fc8457b2eafd41ac7fe42590e
parent1a8d3ea89c3ee4c8e109672debe6a70b94522cba
kernel: ksmbd: browse-interfaces-list-on-FSCTL_QUERY_INTERFACE_INFO

backport from kernel 6.12

ksmbd.mount will give each interfaces list and bind_interfaces_only flags
to ksmbd server. Previously, the interfaces list was sent only
when bind_interfaces_only was enabled.
ksmbd server browse only interfaces list given from ksmbd.conf on
FSCTL_QUERY_INTERFACE_INFO IOCTL.

Signed-off-by: Andrea Pesaresi <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/20377
(cherry picked from commit 711e14af799c126f7be93228c395e4ac9518f131)
Link: https://github.com/openwrt/openwrt/pull/20442
Signed-off-by: Hauke Mehrtens <[email protected]>
target/linux/generic/backport-6.6/540-v6.12-ksmbd-browse-interfaces-list-on-FSCTL_QUERY_INTERFACE_INFO.patch [new file with mode: 0644]