commit | 66261da169263f90c431741886b90b0982dda981 | [log] [tgz] |
---|---|---|
author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | Fri Dec 22 09:39:01 2017 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 27 13:37:27 2017 -0500 |
tree | ad18de18bd14bf8b173a5f5ee48b53ee3c8c4a39 | |
parent | b319109396d6ddf1587a54e33f89fd3bea7c66db [diff] |
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>