diff options
author | Vlad Buslov <vladbu@mellanox.com> | 2018-05-21 22:03:04 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-05-22 21:34:34 +0200 |
commit | 290aa0ad74c995c60d94fb4f1d66d411efa13dd5 (patch) | |
tree | 2d4c82f52352237e4edf0fb96d8e50088b4dc062 /crypto | |
parent | Merge branch 'net-ipv6-Fix-route-append-and-replace-use-cases' (diff) | |
download | linux-290aa0ad74c995c60d94fb4f1d66d411efa13dd5.tar.xz linux-290aa0ad74c995c60d94fb4f1d66d411efa13dd5.zip |
net: sched: don't disable bh when accessing action idr
Initial net_device implementation used ingress_lock spinlock to synchronize
ingress path of device. This lock was used in both process and bh context.
In some code paths action map lock was obtained while holding ingress_lock.
Commit e1e992e52faa ("[NET_SCHED] protect action config/dump from irqs")
modified actions to always disable bh, while using action map lock, in
order to prevent deadlock on ingress_lock in softirq. This lock was removed
from net_device, so disabling bh, while accessing action map, is no longer
necessary.
Replace all action idr spinlock usage with regular calls that do not
disable bh.
Signed-off-by: Vlad Buslov <vladbu@mellanox.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions