SUNRPC: Revert 561141dd494382217bace4d1a51d08168420eace
authorChuck Lever <chuck.lever@oracle.com>
Thu, 21 Mar 2024 15:21:47 +0000 (11:21 -0400)
committerChuck Lever <chuck.lever@oracle.com>
Fri, 22 Mar 2024 13:52:00 +0000 (09:52 -0400)
commit6978bd6a913825eaf06629a02fc820d240d5fec6
tree87b62408b20438b9a78cfa4d497142335e1e5857
parent9fe6e9e7b58944037714442384075c17cfde1c56
SUNRPC: Revert 561141dd494382217bace4d1a51d08168420eace

Scott reports an occasional scatterlist BUG that is triggered by the
RFC 8009 Kunit test, then says:

> Looking through the git history of the auth_gss code, there are various
> places where static buffers were replaced by dynamically allocated ones
> because they're being used with scatterlists.

Reported-by: Scott Mayhew <smayhew@redhat.com>
Fixes: 561141dd4943 ("SUNRPC: Use a static buffer for the checksum initialization vector")
Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
net/sunrpc/auth_gss/gss_krb5_crypto.c