pfifo_fast: drop unneeded additional lock on dequeue
authorPaolo Abeni <pabeni@redhat.com>
Tue, 15 May 2018 14:24:37 +0000 (16:24 +0200)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 May 2018 16:46:54 +0000 (12:46 -0400)
commit021a17ed796b62383f7623f4fea73787abddad77
tree6e6b0d4339e495a4c94e8489f3b06a00033fa435
parent96009c7d500efdd5534e83b2e3eb2c58d4b137ae
pfifo_fast: drop unneeded additional lock on dequeue

After the previous patch, for NOLOCK qdiscs, q->seqlock is
always held when the dequeue() is invoked, we can drop
any additional locking to protect such operation.

Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/skb_array.h
net/sched/sch_generic.c