diff options
author | Enzo Matsumiya <ematsumiya@suse.de> | 2023-06-02 20:42:57 -0300 |
---|---|---|
committer | Enzo Matsumiya <ematsumiya@suse.de> | 2023-06-02 20:42:57 -0300 |
commit | 6907e35286cc8c77f68caaf67ee0220049b3168a (patch) | |
tree | 7902f6720a96c482b02557a1f8e42aef2aab271d /fs/smb/client/fs_context.h | |
parent | 1a6797bbd52f36376897cc9f0c5fbefb75ec083b (diff) | |
download | linux-cpu_affinity.tar.gz linux-cpu_affinity.tar.bz2 linux-cpu_affinity.zip |
smb/client: allow binding to multiple local interfacescpu_affinity
WIP
Signed-off-by: Enzo Matsumiya <ematsumiya@suse.de>
Diffstat (limited to 'fs/smb/client/fs_context.h')
-rw-r--r-- | fs/smb/client/fs_context.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/smb/client/fs_context.h b/fs/smb/client/fs_context.h index 21bac6318c07..de177ea34f97 100644 --- a/fs/smb/client/fs_context.h +++ b/fs/smb/client/fs_context.h @@ -262,6 +262,8 @@ struct smb3_fs_context { char *prepath; struct sockaddr_storage dstaddr; /* destination address */ struct sockaddr_storage srcaddr; /* allow binding to a local IP */ + /* allow binding local interfaces by name */ + char *iface_names[CIFS_MAX_CHANNELS]; struct nls_table *local_nls; /* This is a copy of the pointer in cifs_sb */ unsigned int echo_interval; /* echo interval in secs */ __u64 snapshot_time; /* needed for timewarp tokens */ |