Commit b319109396d6ddf1587a54e33f89fd3bea7c66db
Committed by
David S. Miller
1 parent
7ae0c649c4
rds: tcp: initialize t_tcp_detached to false
Commit f10b4cff98c6 ("rds: tcp: atomically purge entries from rds_tcp_conn_list during netns delete") adds the field t_tcp_detached, but this needs to be initialized explicitly to false. 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>
Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff
net/rds/tcp.c
... | ... | @@ -290,6 +290,7 @@ |
290 | 290 | tc->t_cpath = &conn->c_path[i]; |
291 | 291 | |
292 | 292 | spin_lock_irq(&rds_tcp_conn_lock); |
293 | + tc->t_tcp_node_detached = false; | |
293 | 294 | list_add_tail(&tc->t_tcp_node, &rds_tcp_conn_list); |
294 | 295 | spin_unlock_irq(&rds_tcp_conn_lock); |
295 | 296 | rdsdebug("rds_conn_path [%d] tc %p\n", i, |