Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix memory leak in large read decrypt offload

Spotted by Ronnie.

Reviewed-by: Ronnie Sahlberg <lsahlber@redhat.com>
Signed-off-by: Steve French <stfrench@microsoft.com>

+2 -1
+2 -1
fs/cifs/smb2ops.c
··· 4084 4084 4085 4085 kfree(dw->ppages); 4086 4086 cifs_small_buf_release(dw->buf); 4087 + kfree(dw); 4087 4088 } 4088 4089 4089 4090 ··· 4158 4157 dw->server = server; 4159 4158 dw->ppages = pages; 4160 4159 dw->len = len; 4161 - queue_work(cifsiod_wq, &dw->decrypt); 4160 + queue_work(decrypt_wq, &dw->decrypt); 4162 4161 *num_mids = 0; /* worker thread takes care of finding mid */ 4163 4162 return -1; 4164 4163 }