Skip to content

cifs: remove rfc1002 from smb2 requests

Ronnie Sahlberg linux-cifs 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest19 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/19cifs: Add smb2_send_recvfs/cifs/cifsproto.h fs/cifs/transport.c+42 -00 replies
2/19cifs: remove rfc1002 header from smb2_negotiate_reqfs/cifs/smb2pdu.c fs/cifs/smb2pdu.h+21 -190 replies
3/19cifs: remove rfc1002 header from smb2_logoff_reqfs/cifs/smb2pdu.c fs/cifs/smb2pdu.h+14 -50 replies
4/19cifs: remove rfc1002 header from smb2_tree_disconnect_reqfs/cifs/smb2pdu.c fs/cifs/smb2pdu.h+13 -30 replies
5/19cifs: remove rfc1002 header from smb2_close_reqfs/cifs/smb2pdu.c fs/cifs/smb2pdu.h+5 -50 replies
6/19cifs: remove rfc1002 header from smb2_ioctl_reqfs/cifs/smb2pdu.c fs/cifs/smb2pdu.h+12 -121 reply
7/19cifs: remove rfc1002 header from smb2_echo_reqfs/cifs/smb2pdu.c fs/cifs/smb2pdu.h+9 -70 replies
8/19cifs: remove rfc1002 header from smb2_sess_setup_reqfs/cifs/smb2pdu.c fs/cifs/smb2pdu.h+14 -150 replies
9/19cifs: remove rfc1002 header from smb2_tree_connect_reqfs/cifs/smb2pdu.c fs/cifs/smb2pdu.h+10 -100 replies
10/19cifs: remove rfc1002 header from smb2_create_reqfs/cifs/smb2pdu.c fs/cifs/smb2pdu.h+13 -190 replies
11/19cifs: remove rfc1002 header from smb2_flush_reqfs/cifs/smb2pdu.c fs/cifs/smb2pdu.h+5 -50 replies
12/19cifs: remove rfc1002 header from smb2_lock_reqfs/cifs/smb2pdu.c fs/cifs/smb2pdu.h+7 -80 replies
13/19cifs: remove rfc1002 header from smb2 read/write requestsfs/cifs/smb2pdu.c fs/cifs/smb2pdu.h+24 -310 replies
14/19cifs: remove rfc1002 header from smb2_lease_ackfs/cifs/smb2pdu.c fs/cifs/smb2pdu.h+16 -50 replies
15/19cifs: remove rfc1002 header from smb2_oplock_break we get from serverfs/cifs/smb2misc.c fs/cifs/smb2pdu.c fs/cifs/smb2pdu.h+29 -60 replies
16/19cifs: remove rfc1002 header from smb2_set_info_reqfs/cifs/smb2pdu.c fs/cifs/smb2pdu.h+10 -110 replies
17/19cifs: remove rfc1002 header from smb2_query_directory_reqfs/cifs/smb2pdu.c fs/cifs/smb2pdu.h+8 -80 replies
18/19cifs: remove rfc1002 header from smb2_query_info_reqfs/cifs/smb2pdu.c fs/cifs/smb2pdu.h+15 -130 replies
19/19cifs: remove small_smb2_initfs/cifs/smb2pdu.c+6 -470 replies

Reviews trailers per patch

None of the 19 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchPavel Shilovsky
SeriesR-b
1/19
2/19
3/19
4/19
5/19
6/19
7/19
8/19
9/19
10/19
11/19
12/19
13/19
14/19
15/19
16/19
17/19
18/19
19/19

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 00/19 Version 4] cifs: remove rfc1002 from smb2 requests

Steve, All,

Please find an updated version of the patch series to get rid of the rfc1002 header from all request structures in SMB2.

Version 2:
* changed SendReceive3 to smb2_send_recv
* fixed a Buffer[1] error that aaptel@xxxxxxxx reported

Version 3:
* Change SMB2_read() to use smb2_send_recv instead of cifs_send_recv
* Fix smb2_negotiate_req where we didnt update the total length to accomodate smb2 contexts.
* Fix smb2_lease_ack where I forgot to bump total length by 12.

Version 4:
* Fix incorrect length in smb2_lockv