summaryrefslogtreecommitdiff
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
authorNitin Gupta <ngupta@vflare.org>2013-01-02 20:53:41 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-14 07:40:02 +0400
commit397c60668aa5ae7130b5ad4e73870d7b8a787085 (patch)
tree3614efa94688c19233023c49d940fe0d3c061cf3 /include/linux/netdevice.h
parente16a922a27ec352537a8027cadc32dc156534ca5 (diff)
downloadlinux-397c60668aa5ae7130b5ad4e73870d7b8a787085.tar.xz
staging: zram: fix invalid memory references during disk write
Fixes a bug introduced by commit c8f2f0db1 ("zram: Fix handling of incompressible pages") which caused invalid memory references during disk write. Invalid references could occur in two cases: - Incoming data expands on compression: In this case, reference was made to kunmap()'ed bio page. - Partial (non PAGE_SIZE) write with incompressible data: In this case, reference was made to a kfree()'ed buffer. Fixes bug 50081: https://bugzilla.kernel.org/show_bug.cgi?id=50081 Signed-off-by: Nitin Gupta <ngupta@vflare.org> Cc: stable <stable@vger.kernel.org> Reported-by: Mihail Kasadjikov <hamer.mk@gmail.com> Reported-by: Tomas M <tomas@slax.org> Reviewed-by: Minchan Kim <minchan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/netdevice.h')
0 files changed, 0 insertions, 0 deletions