commit | c749cdda9089eb1fdb6a9ab98f945124d12f2595 | [log] [tgz] |
---|---|---|
author | Davide Caratti <dcaratti@redhat.com> | Wed Jul 11 16:04:50 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Thu Jul 12 14:54:12 2018 -0700 |
tree | 29ecf38f5595632596fd00c7f8b47c52e176aed6 | |
parent | 6f3dfb0dc831953187fea8e3b798768611441321 [diff] |
net/sched: act_skbedit: don't use spinlock in the data path use RCU instead of spin_{,un}lock_bh, to protect concurrent read/write on act_skbedit configuration. This reduces the effects of contention in the data path, in case multiple readers are present. Signed-off-by: Davide Caratti <dcaratti@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>