aboutsummaryrefslogtreecommitdiff
path: root/lib/netdev-notifier-error-inject.c
diff options
context:
space:
mode:
authorSowmini Varadhan <[email protected]>2018-03-15 03:54:26 -0700
committerDavid S. Miller <[email protected]>2018-03-17 17:18:54 -0400
commit53d0e83f9329aa51dcc205b514dbee05cb4df309 (patch)
tree71b0c06bfe39f8f46320853cd8a6c7944354a34f /lib/netdev-notifier-error-inject.c
parent3008ba5faa7a63bac2227c56b533c08fa6d54a0b (diff)
rds: tcp: must use spin_lock_irq* and not spin_lock_bh with rds_tcp_conn_lock
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]> Acked-by: Santosh Shilimkar <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'lib/netdev-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions