diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2014-02-12 02:07:32 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-02-13 01:23:32 +0100 |
commit | a5b5c958ffd1610545d6b4b8290aa9c5266d10fa (patch) | |
tree | 532a87c5ae6d0c2f2f766820c051f7a5b8f7a366 /net/sched/act_skbedit.c | |
parent | net_sched: act: hide struct tcf_common from API (diff) | |
download | linux-a5b5c958ffd1610545d6b4b8290aa9c5266d10fa.tar.xz linux-a5b5c958ffd1610545d6b4b8290aa9c5266d10fa.zip |
net_sched: act: refactor cleanup ops
For bindcnt and refcnt etc., they are common for all actions,
not need to repeat such operations for their own, they can be unified
now. Actions just need to do its specific cleanup if needed.
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>
Diffstat (limited to 'net/sched/act_skbedit.c')
-rw-r--r-- | net/sched/act_skbedit.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sched/act_skbedit.c b/net/sched/act_skbedit.c index 71fd2d499109..9f91928fcaeb 100644 --- a/net/sched/act_skbedit.c +++ b/net/sched/act_skbedit.c @@ -180,7 +180,6 @@ static struct tc_action_ops act_skbedit_ops = { .owner = THIS_MODULE, .act = tcf_skbedit, .dump = tcf_skbedit_dump, - .cleanup = tcf_hash_release, .init = tcf_skbedit_init, }; |