diff options
author | Ayush Sawal <ayush.sawal@chelsio.com> | 2020-03-30 20:48:53 +0530 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-03-30 10:33:23 -0700 |
commit | 876aa9f527cd0ddc857337aba3683298b3abe6ab (patch) | |
tree | 6b20e71ed01973d862ba4d8b862b5b993645530f /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | ad59ddd02de26271b89564962e74d689f1a30b49 (diff) |
Crypto: chelsio - Fixes a deadlock between rtnl_lock and uld_mutex
The locks are taken in this order during driver registration
(uld_mutex), at: cxgb4_register_uld.part.14+0x49/0xd60 [cxgb4]
(rtnl_mutex), at: rtnetlink_rcv_msg+0x2db/0x400
(uld_mutex), at: cxgb_up+0x3a/0x7b0 [cxgb4]
(rtnl_mutex), at: chcr_add_xfrmops+0x83/0xa0 [chcr](stucked here)
To avoid this now the netdev features are updated after the
cxgb4_register_uld function is completed.
Fixes: 6dad4e8ab3ec6 ("chcr: Add support for Inline IPSec").
Signed-off-by: Ayush Sawal <ayush.sawal@chelsio.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions