]> git.baikalelectronics.ru Git - kernel.git/commit
CIFS: Fix BUG() in calc_seckey()
authorSachin Prabhu <sprabhu@redhat.com>
Mon, 17 Oct 2016 20:40:22 +0000 (16:40 -0400)
committerSteve French <smfrench@gmail.com>
Tue, 29 Nov 2016 05:08:52 +0000 (23:08 -0600)
commit12bb37a0307320eb243e5911211fc3df6ecc1e7b
treed22e0365f49d628523708caac5fc3baf81362159
parentec17ba59c3be92b88e58719a7efcaef2530f0808
CIFS: Fix BUG() in calc_seckey()

Andy Lutromirski's new virtually mapped kernel stack allocations moves
kernel stacks the vmalloc area. This triggers the bug
 kernel BUG at ./include/linux/scatterlist.h:140!
at calc_seckey()->sg_init()

Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
Signed-off-by: Steve French <smfrench@gmail.com>
Reviewed-by: Jeff Layton <jlayton@redhat.com>
fs/cifs/cifsencrypt.c