net_sched: use void pointer for filter handle
authorWANG Cong <xiyou.wangcong@gmail.com>
Sat, 5 Aug 2017 04:31:43 +0000 (21:31 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Aug 2017 21:12:17 +0000 (14:12 -0700)
commit8113c095672f6504b23eba6edf4a57b5f7f744af
tree24712765682423e7901c41b033b3ce5b050d13bb
parent54df2cf819a23dba4bb2c4134ed62659a7d324f5
net_sched: use void pointer for filter handle

Now we use 'unsigned long fh' as a pointer in every place,
it is safe to convert it to a void pointer now. This gets
rid of many casts to pointer.

Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
14 files changed:
include/net/pkt_cls.h
include/net/sch_generic.h
net/sched/cls_api.c
net/sched/cls_basic.c
net/sched/cls_bpf.c
net/sched/cls_cgroup.c
net/sched/cls_flow.c
net/sched/cls_flower.c
net/sched/cls_fw.c
net/sched/cls_matchall.c
net/sched/cls_route.c
net/sched/cls_rsvp.h
net/sched/cls_tcindex.c
net/sched/cls_u32.c