net_sched: act: fetch hinfo from a->ops->hinfo
authorWANG Cong <xiyou.wangcong@gmail.com>
Fri, 17 Jan 2014 19:37:02 +0000 (11:37 -0800)
committerDavid S. Miller <davem@davemloft.net>
Tue, 21 Jan 2014 22:43:16 +0000 (14:43 -0800)
commitc779f7af99f73abb7270dcaa4c29178ab5ef7472
tree166e92b6b61aa2259c91e96fac1683ffe2fb8c13
parent75e4364f67d9cb996f9a6ff982ad9b3700648591
net_sched: act: fetch hinfo from a->ops->hinfo

Every action ops has a pointer to hash info, so we don't need to
hard-code it in each module.

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>
include/net/act_api.h
net/sched/act_api.c
net/sched/act_csum.c
net/sched/act_gact.c
net/sched/act_ipt.c
net/sched/act_mirred.c
net/sched/act_nat.c
net/sched/act_pedit.c
net/sched/act_police.c
net/sched/act_simple.c
net/sched/act_skbedit.c