Skip to content

cifs: revert recent NTLMSSP changes

Jeff Layton linux-cifs 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest6 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/6Revert "[CIFS] CIFS requires CRYPTO, not just CRYPTO_MD5 selected in Kconfig"fs/cifs/Kconfig+0 -10 replies
2/6Revert "cifs: revert needless change in decode_negTokenInit"fs/cifs/asn1.c+3 -30 replies
3/6Revert "[CIFS] Eliminate unused variable warning"fs/cifs/sess.c+1 -20 replies
4/6Revert "Eliminate sparse warning - bad constant expression"fs/cifs/cifsencrypt.c fs/cifs/cifsglob.h+72 -1280 replies
5/6Revert "missing changes during ntlmv2/ntlmssp auth and sign"fs/cifs/cifsencrypt.c fs/cifs/sess.c+5 -100 replies
6/6Revert "[CIFS] Fix ntlmv2 auth with ntlmssp"fs/cifs/Kconfig fs/cifs/asn1.c fs/cifs/cifsencrypt.c +8 more+172 -4520 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/6] cifs: revert recent NTLMSSP changes

The NTLMSSP patches that were merged recently were never reviewed. It was originally posted as a single enormous patch. By the time that I was able to request that the patch be re-posted as a series of smaller patches, so that I could review it, the giant patch had already been merged.

This patch has already created at least one fairly serious regression -- an oops when more than one session is used on a single socket. This regression was due to a fundamental design flaw in the original patch -- something that would likely have been caught in review if this had been proposed as a series of sanely-sized patches.

While it's possible to fix that problem, there's no way to know what other bugs are lurking in here since this wasn't reviewed before being merged.

At this point, I'd like to see them reverted and have Shirish re-post them to the list as a series of discrete changes that we can review. To that end, here is a series of patches that reverts the original patch and the others that fixed problems with it. I'll be happy to help review the patches when they're posted in sanely-sized pieces.

Jeff Layton (6):
Revert "[CIFS] CIFS requires CRYPTO, not just CRYPTO_MD5 selected in
Kconfig"
Revert "cifs: revert needless change in decode_negTokenInit" Revert "[CIFS] Eliminate unused variable warning"
Revert "Eliminate sparse warning - bad constant expression" Revert "missing changes during ntlmv2/ntlmssp auth and sign" Revert "[CIFS] Fix ntlmv2 auth with ntlmssp"

 fs/cifs/Kconfig       |    3 -
 fs/cifs/cifsencrypt.c |  475 +++++++++++++------------------------------------
 fs/cifs/cifsglob.h    |   25 +---
 fs/cifs/cifspdu.h     |    7 +-
 fs/cifs/cifsproto.h   |   12 +-
 fs/cifs/cifssmb.c     |   13 +-
 fs/cifs/connect.c     |   13 +--
 fs/cifs/ntlmssp.h     |   13 --
 fs/cifs/sess.c        |  132 ++++----------
 fs/cifs/transport.c   |    6 +-
 10 files changed, 178 insertions(+), 521 deletions(-)
Signature · 1 line
1.7.2.2