diff options
author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | 2017-12-22 09:39:01 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-27 13:37:27 -0500 |
commit | 66261da169263f90c431741886b90b0982dda981 (patch) | |
tree | ad18de18bd14bf8b173a5f5ee48b53ee3c8c4a39 /lib/ts_kmp.c | |
parent | b319109396d6ddf1587a54e33f89fd3bea7c66db (diff) | |
download | linux-66261da169263f90c431741886b90b0982dda981.tar.bz2 |
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 'lib/ts_kmp.c')
0 files changed, 0 insertions, 0 deletions