]> git.baikalelectronics.ru Git - kernel.git/commit
net_sched: act: move idx_gen into struct tcf_hashinfo
authorWANG Cong <xiyou.wangcong@gmail.com>
Fri, 10 Jan 2014 00:13:59 +0000 (16:13 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 13 Jan 2014 19:50:14 +0000 (11:50 -0800)
commit9780a8419ee6d2f53e0fda7b863233a14bbe0a23
tree56eacb6abe0c856904632e437baf6cef62cbb39c
parent8a8f6fce4223d5de54208d5eb6caf0ce724a0d81
net_sched: act: move idx_gen into struct tcf_hashinfo

There is no need to store the index separatedly
since tcf_hashinfo is allocated statically too.

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