cifs: remove rfc1002 header from all smb2 requests
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest19 patches 9 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/19 | cifs: Add SendReceive3fs/ fs/ | +42 | 5 replies | |
| 2/19 | cifs: remove rfc1002 header from smb2_negotiate_reqfs/ fs/ | +12 | 0 replies | |
| 3/19 | cifs: remove rfc1002 header from smb2_logoff_reqfs/ fs/ | +14 | 0 replies | |
| 4/19 | cifs: remove rfc1002 header from smb2_tree_disconnect_reqfs/ fs/ | +13 | 0 replies | |
| 5/19 | cifs: remove rfc1002 header from smb2_close_reqfs/ fs/ | +5 | 0 replies | |
| 6/19 | cifs: remove rfc1002 header from smb2_ioctl_reqfs/ fs/ | +11 | 0 replies | |
| 7/19 | cifs: remove rfc1002 header from smb2_echo_reqfs/ fs/ | +9 | 0 replies | |
| 8/19 | cifs: remove rfc1002 header from smb2_sess_setup_reqfs/ fs/ | +14 | 0 replies | |
| 9/19 | cifs: remove rfc1002 header from smb2_tree_connect_reqfs/ fs/ | +10 | 0 replies | |
| 10/19 | cifs: remove rfc1002 header from smb2_create_reqfs/ fs/ | +12 | 0 replies | |
| 11/19 | cifs: remove rfc1002 header from smb2_flush_reqfs/ fs/ | +5 | 0 replies | |
| 12/19 | cifs: remove rfc1002 header from smb2_lock_reqfs/ fs/ | +6 | 0 replies | |
| 13/19 | cifs: remove rfc1002 header from smb2 read/write requestsfs/ fs/ | +21 | 0 replies | |
| 14/19 | cifs: remove rfc1002 header from smb2_lease_ackfs/ fs/ | +15 | 0 replies | |
| 15/19 | cifs: remove rfc1002 header from smb2_oplock_break we get from serverfs/ fs/ fs/ | +29 | 0 replies | |
| 16/19 | cifs: remove rfc1002 header from smb2_set_info_reqfs/ fs/ | +9 | 0 replies | |
| 17/19 | cifs: remove rfc1002 header from smb2_query_directory_reqfs/ fs/ | +8 | 0 replies | |
| 18/19 | cifs: remove rfc1002 header from smb2_query_info_reqfs/ fs/ | +14 | 0 replies | |
| 19/19 | cifs: remove small_smb2_initfs/ | +6 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/19] cifs: remove rfc1002 header from all smb2 requests
Steve, all
I split the !1002 patch into a small serie for easier review.
This patch series removes the NBSS 4 byte header from all the smb2 request structures.
Instead of computing and tweaking the header as part of composing the SMB2 request, we now compute it in the new SendReceive3() function that is used by all of SMB2.
This eliminates a huge amount of magic +4 / -4 in the code and all the ugly inc_rfc1002.... stuff where the old code would constantly tweak the length field as it was building the PDU.
So overall it also simplifies the code in some places I think.
This series is to prepare for and make it easier to add smb2 compounding in the future as then we will need to construct multiple SMB2 pdus and wrap them all insode one single rfc1002 header.
As a later series, before we get to the actual compounding, I plan to do a similar change to all the reply structures and remove the rfc1002 header from them all too.
Please review, and test.