]> git.baikalelectronics.ru Git - kernel.git/commit
net: sched: cls_u32: pass tc_u_common to u32_set_parms() instead of tc_u_hnode
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 8 Oct 2018 10:22:40 +0000 (06:22 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 8 Oct 2018 17:33:35 +0000 (10:33 -0700)
commitf47dfab44fac8f267c0c5308acf6eaba03b7ca25
tree45bfee4253bc561786e4ee412ae3421d181d9cbc
parent37b81f1d731e6bdaab407196352c3dd84aa96c04
net: sched: cls_u32: pass tc_u_common to u32_set_parms() instead of tc_u_hnode

the only thing we used ht for was ht->tp_c and callers can get that
without going through ->tp_c at all; start with lifting that into
the callers, next commits will massage those, eventually removing
->tp_c altogether.

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_u32.c