[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180317.171923.1555734258677175706.davem@davemloft.net>
Date: Sat, 17 Mar 2018 17:19:23 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: sowmini.varadhan@...cle.com
Cc: netdev@...r.kernel.org, santosh.shilimkar@...cle.com
Subject: Re: [PATCH net-next] rds: tcp: must use spin_lock_irq* and not
spin_lock_bh with rds_tcp_conn_lock
From: Sowmini Varadhan <sowmini.varadhan@...cle.com>
Date: Thu, 15 Mar 2018 03:54:26 -0700
> 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: syzbot+c68e51bb5e699d3f8d91@...kaller.appspotmail.com
> Fixes: ebeeb1ad9b8a ("rds: tcp: use rds_destroy_pending() to synchronize
> netns/module teardown and rds connection/workq management")
> Signed-off-by: Sowmini Varadhan <sowmini.varadhan@...cle.com>
Applied, thank you.
Powered by blists - more mailing lists