summary refs log tree commit diff
path: root/net/rds/ib_fmr.c
diff options
context:
space:
mode:
authorSowmini Varadhan <sowmini.varadhan@oracle.com>2017-12-22 09:39:01 -0800
committerDavid S. Miller <davem@davemloft.net>2017-12-27 13:37:27 -0500
commit66261da169263f90c431741886b90b0982dda981 (patch)
treead18de18bd14bf8b173a5f5ee48b53ee3c8c4a39 /net/rds/ib_fmr.c
parentb319109396d6ddf1587a54e33f89fd3bea7c66db (diff)
downloadlinux-66261da169263f90c431741886b90b0982dda981.tar.gz
rds: tcp: cleanup if kmem_cache_alloc fails in rds_tcp_conn_alloc()
If kmem_cache_alloc() fails in the middle of the for() loop,
cleanup anything that might have been allocated so far.

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds/ib_fmr.c')
0 files changed, 0 insertions, 0 deletions