Skip to content
Snippets Groups Projects
Commit 9c5f69bb authored by Davide Caratti's avatar Davide Caratti Committed by David S. Miller
Browse files

net/sched: act_csum: don't use spinlock in the fast path


use RCU instead of spin_{,unlock}_bh() to protect concurrent read/write on
act_csum configuration, to reduce the effects of contention in the data
path when multiple readers are present.

Signed-off-by: default avatarDavide Caratti <dcaratti@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent f6052cf2
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment