commit | 89819dc01f4c5920783f561597a48d9d75220e9e | [log] [tgz] |
---|---|---|
author | WANG Cong <xiyou.wangcong@gmail.com> | Sun Dec 15 20:15:09 2013 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 18 12:52:07 2013 -0500 |
tree | 2c37980c3b2cc34fece254b4e15b8fb56a24cead | |
parent | 369ba56787d7469c0afda70bb9ff76ad5faaead5 [diff] |
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 <jhs@mojatatu.com> Cc: David S. Miller <davem@davemloft.net> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>