diff options
author | Sowmini Varadhan <sowmini.varadhan@oracle.com> | 2017-12-22 18:39:01 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-27 19:37:27 +0100 |
commit | 66261da169263f90c431741886b90b0982dda981 (patch) | |
tree | ad18de18bd14bf8b173a5f5ee48b53ee3c8c4a39 /Documentation/early-userspace | |
parent | rds: tcp: initialize t_tcp_detached to false (diff) | |
download | linux-66261da169263f90c431741886b90b0982dda981.tar.xz linux-66261da169263f90c431741886b90b0982dda981.zip |
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 'Documentation/early-userspace')
0 files changed, 0 insertions, 0 deletions