diff options
author | Linus Torvalds <torvalds@linux-foundation.org> | 2023-01-28 10:52:51 -0800 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2023-01-28 10:52:51 -0800 |
commit | 2543fdbd5cd3bb7d72a6c810b431ba17778a607d (patch) | |
tree | 7ffe5d83c7f23523c49995e56455a4897e4f64f9 /fs/ksmbd/ksmbd_netlink.h | |
parent | 5af6ce7049365952f7f023155234fe091693ead1 (diff) | |
parent | a34dc4a9b9e2fb3a45c179a60bb0b26539c96189 (diff) | |
download | linux-2543fdbd5cd3bb7d72a6c810b431ba17778a607d.tar.bz2 |
Merge tag '6.2-rc5-ksmbd-server-fixes' of git://git.samba.org/ksmbd
Pull ksmbd server fixes from Steve French:
"Four smb3 server fixes, all also for stable:
- fix for signing bug
- fix to more strictly check packet length
- add a max connections parm to limit simultaneous connections
- fix error message flood that can occur with newer Samba xattr
format"
* tag '6.2-rc5-ksmbd-server-fixes' of git://git.samba.org/ksmbd:
ksmbd: downgrade ndr version error message to debug
ksmbd: limit pdu length size according to connection status
ksmbd: do not sign response to session request for guest login
ksmbd: add max connections parameter
Diffstat (limited to 'fs/ksmbd/ksmbd_netlink.h')
-rw-r--r-- | fs/ksmbd/ksmbd_netlink.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/fs/ksmbd/ksmbd_netlink.h b/fs/ksmbd/ksmbd_netlink.h index b6bd8311e6b4..fb8b2d566efb 100644 --- a/fs/ksmbd/ksmbd_netlink.h +++ b/fs/ksmbd/ksmbd_netlink.h @@ -106,7 +106,8 @@ struct ksmbd_startup_request { __u32 sub_auth[3]; /* Subauth value for Security ID */ __u32 smb2_max_credits; /* MAX credits */ __u32 smbd_max_io_size; /* smbd read write size */ - __u32 reserved[127]; /* Reserved room */ + __u32 max_connections; /* Number of maximum simultaneous connections */ + __u32 reserved[126]; /* Reserved room */ __u32 ifc_list_sz; /* interfaces list size */ __s8 ____payload[]; }; |