commit | 262916bc69faf90104aa784d55e10760a4199594 | [log] [tgz] |
---|---|---|
author | Ronnie Sahlberg <lsahlber@redhat.com> | Tue Feb 20 12:45:21 2018 +1100 |
committer | Steve French <stfrench@microsoft.com> | Sun Apr 01 20:24:40 2018 -0500 |
tree | 70490ac9414d0ae727ca55a22ab4d7b1531f0777 | |
parent | 70e80655f58e17a2e38e577e1b4fa7a8c99619a0 [diff] |
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>