]> 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)
commitb17b5eeee4b9ed89d58e91db4a0d38d740cf94cf
tree56eacb6abe0c856904632e437baf6cef62cbb39c
parentb5ba809c1ee6540ead5c06dcb9abc25e4d9e5de9
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