]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit725d644b7d3334898e7ab46e58557c3b3921c35c
tree166e92b6b61aa2259c91e96fac1683ffe2fb8c13
parentdc265ff710c85f5398d991db95f6627f87748bbc
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