commit | 369ba56787d7469c0afda70bb9ff76ad5faaead5 | [log] [tgz] |
---|---|---|
author | WANG Cong <xiyou.wangcong@gmail.com> | Sun Dec 15 20:15:08 2013 -0800 |
committer | David S. Miller <davem@davemloft.net> | Wed Dec 18 12:52:07 2013 -0500 |
tree | 58425d3d564e3255c6660185bf22c80b76305ff5 | |
parent | 5da57f422d89c504a1d72dadd4e19d3dca8e974e [diff] |
net_sched: init struct tcf_hashinfo at register time It looks weird to store the lock out of the struct but still points to a static variable. Just move them into the struct. 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>