net_sched: act: refactor cleanup ops
[sfrench/cifs-2.6.git] / include / net / act_api.h
index 24ae910609cebda73bb5853fb4e3ddd5ef11307c..3d22f42b6eec61bab6a715f052c2dde479ad12b4 100644 (file)
@@ -89,7 +89,7 @@ struct tc_action_ops {
        struct module           *owner;
        int     (*act)(struct sk_buff *, const struct tc_action *, struct tcf_result *);
        int     (*dump)(struct sk_buff *, struct tc_action *, int, int);
-       int     (*cleanup)(struct tc_action *, int bind);
+       void    (*cleanup)(struct tc_action *, int bind);
        int     (*lookup)(struct tc_action *, u32);
        int     (*init)(struct net *net, struct nlattr *nla,
                        struct nlattr *est, struct tc_action *act, int ovr,