RDS: fix the dangling reference to rds_ib_incoming_slab
authorsantosh.shilimkar@oracle.com <santosh.shilimkar@oracle.com>
Tue, 25 Aug 2015 19:01:58 +0000 (12:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Tue, 25 Aug 2015 23:28:10 +0000 (16:28 -0700)
commitba54d3ced958435e1802daf992cfd44c26cd4cb7
treefd17ad5458a395e3f80736eb5c30fff1bef6a911
parentb8766e4ed3e9fc6b27dc3ead029cd307caa926d2
RDS: fix the dangling reference to rds_ib_incoming_slab

On rds_ib_frag_slab allocation failure, ensure rds_ib_incoming_slab
is not pointing to the detsroyed memory.

Signed-off-by: Santosh Shilimkar <ssantosh@kernel.org>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_recv.c