commit | 7d11f77f84b27cef452cee332f4e469503084737 | [log] [tgz] |
---|---|---|
author | Mohamed Ghannam <simo.ghannam@gmail.com> | Wed Jan 03 21:06:06 2018 +0000 |
committer | David S. Miller <davem@davemloft.net> | Thu Jan 04 14:19:26 2018 -0500 |
tree | ac0c45274f5eaff4dfae1056843f59e585eee78b | |
parent | dfe8266b8dd10e12a731c985b725fcf7f0e537f0 [diff] |
RDS: null pointer dereference in rds_atomic_free_op 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>