diff options
author | Mohamed Ghannam <simo.ghannam@gmail.com> | 2018-01-03 21:06:06 +0000 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-01-17 09:35:29 +0100 |
commit | 44496521c6bd65a3c525b490c762875a075cf73b (patch) | |
tree | aee71ab599548631090a22914385221a0381fad7 /include/linux/phy.h | |
parent | 10d06ed9a1899fcc1ecb7a1573f0f95b92dc470c (diff) |
RDS: null pointer dereference in rds_atomic_free_op
[ Upstream commit 7d11f77f84b27cef452cee332f4e469503084737 ]
set rm->atomic.op_active to 0 when rds_pin_pages() fails
or the user supplied address is invalid,
this prevents a NULL pointer usage in rds_atomic_free_op()
Signed-off-by: Mohamed Ghannam <simo.ghannam@gmail.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/phy.h')
0 files changed, 0 insertions, 0 deletions