aboutsummaryrefslogtreecommitdiffstats
path: root/fs/cifs/Kconfig
diff options
context:
space:
mode:
authorRonnie Sahlberg <lsahlber@redhat.com>2018-02-20 12:45:21 +1100
committerSteve French <stfrench@microsoft.com>2018-04-01 20:24:40 -0500
commit262916bc69faf90104aa784d55e10760a4199594 (patch)
tree70490ac9414d0ae727ca55a22ab4d7b1531f0777 /fs/cifs/Kconfig
parentCIFS: fix sha512 check in cifs_crypto_secmech_release (diff)
downloadlinux-dev-262916bc69faf90104aa784d55e10760a4199594.tar.xz
linux-dev-262916bc69faf90104aa784d55e10760a4199594.zip
fix smb3-encryption breakage when CONFIG_DEBUG_SG=y
We can not use the standard sg_set_buf() fucntion since when CONFIG_DEBUG_SG=y this adds a check that will BUG_ON for cifs.ko when we pass it an object from the stack. Create a new wrapper smb2_sg_set_buf() which avoids doing that particular check and use it for smb3 encryption instead. Signed-off-by: Ronnie Sahlberg <lsahlber@redhat.com> Signed-off-by: Steve French <smfrench@gmail.com> CC: Stable <stable@vger.kernel.org>
Diffstat (limited to 'fs/cifs/Kconfig')
0 files changed, 0 insertions, 0 deletions