diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2018-08-19 12:22:12 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-21 12:45:45 -0700 |
commit | 4e407ff5cd67ec76eeeea1deec227b7982dc7f66 (patch) | |
tree | bda0d20f01ee49435a477abc365b6c7879391dfe /sound | |
parent | 8ce5be1c899d31f3cd047e5f707cd9dbfb81e076 (diff) | |
download | linux-4e407ff5cd67ec76eeeea1deec227b7982dc7f66.tar.bz2 |
act_ife: move tcfa_lock down to where necessary
The only time we need to take tcfa_lock is when adding
a new metainfo to an existing ife->metalist. We don't need
to take tcfa_lock so early and so broadly in tcf_ife_init().
This means we can always take ife_mod_lock first, avoid the
reverse locking ordering warning as reported by Vlad.
Reported-by: Vlad Buslov <vladbu@mellanox.com>
Tested-by: Vlad Buslov <vladbu@mellanox.com>
Cc: Vlad Buslov <vladbu@mellanox.com>
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions