diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2017-08-05 06:31:42 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-07 23:12:17 +0200 |
commit | 54df2cf819a23dba4bb2c4134ed62659a7d324f5 (patch) | |
tree | 989986433ffd65cd0749e82b84e3366771de6cfc /net/sched/cls_rsvp.h | |
parent | lwtunnel: replace EXPORT_SYMBOL with EXPORT_SYMBOL_GPL (diff) | |
download | linux-54df2cf819a23dba4bb2c4134ed62659a7d324f5.tar.xz linux-54df2cf819a23dba4bb2c4134ed62659a7d324f5.zip |
net_sched: refactor notification code for RTM_DELTFILTER
It is confusing to use 'unsigned long fh' as both a handle
and a pointer, especially commit 9ee7837449b3
("net sched filters: fix notification of filter delete with proper handle").
This patch introduces tfilter_del_notify() so that we can
pass it as a pointer as before, and we don't need to check
RTM_DELTFILTER in tcf_fill_node() any more.
This prepares for the next patch.
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>
Diffstat (limited to 'net/sched/cls_rsvp.h')
0 files changed, 0 insertions, 0 deletions