On 3/15/2018 3:54 AM, Sowmini Varadhan wrote:
rds_tcp_connection allocation/free management has the potential to be
called from __rds_conn_create after IRQs have been disabled, so
spin_[un]lock_bh cannot be used with rds_tcp_conn_lock.

Bottom-halves that need to synchronize for critical sections protected
by rds_tcp_conn_lock should instead use rds_destroy_pending() correctly.

Reported-by: [email protected]
Fixes: ebeeb1ad9b8a ("rds: tcp: use rds_destroy_pending() to synchronize
        netns/module teardown and rds connection/workq management")
Signed-off-by: Sowmini Varadhan <[email protected]>
---
Thanks Sowmini for the WARN_ON() discussion off-list.

Acked-by: Santosh Shilimkar <[email protected]>

Reply via email to