Ronnie Sahlberg 262916bc69 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>
2018-04-01 20:24:40 -05:00
..
2016-10-13 19:48:11 -05:00
2018-04-01 20:24:39 -05:00
2013-11-08 05:57:46 +09:00
2018-01-26 17:03:00 -06:00
2018-04-01 20:24:39 -05:00
2017-01-14 14:58:29 -06:00
2017-03-02 23:13:37 -06:00
2012-07-24 10:25:13 -05:00
2018-04-01 20:24:39 -05:00
2013-09-08 14:54:24 -05:00