]> Git Repo - linux.git/commit - net/sched/act_police.c
net_sched: convert tcf_hashinfo to hlist and use spinlock
authorWANG Cong <[email protected]>
Mon, 16 Dec 2013 04:15:09 +0000 (20:15 -0800)
committerDavid S. Miller <[email protected]>
Wed, 18 Dec 2013 17:52:07 +0000 (12:52 -0500)
commit89819dc01f4c5920783f561597a48d9d75220e9e
tree2c37980c3b2cc34fece254b4e15b8fb56a24cead
parent369ba56787d7469c0afda70bb9ff76ad5faaead5
net_sched: convert tcf_hashinfo to hlist and use spinlock

So that we don't need to play with singly linked list,
and since the code is not on hot path, we can use spinlock
instead of rwlock.

Cc: Jamal Hadi Salim <[email protected]>
Cc: David S. Miller <[email protected]>
Signed-off-by: Cong Wang <[email protected]>
Signed-off-by: Jamal Hadi Salim <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
include/net/act_api.h
net/sched/act_api.c
net/sched/act_police.c
This page took 0.053239 seconds and 4 git commands to generate.