[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AE90C24D6B3A694183C094C60CF0A2F6026B7489@saturn3.aculab.com>
Date: Fri, 13 Dec 2013 10:21:42 -0000
From: "David Laight" <David.Laight@...LAB.COM>
To: "Cong Wang" <xiyou.wangcong@...il.com>, <netdev@...r.kernel.org>
Cc: "Jamal Hadi Salim" <jhs@...atatu.com>,
"David S. Miller" <davem@...emloft.net>
Subject: RE: [PATCH net-next v3 1/6] net_sched: remove get_stats from tc_action_ops
> From: Cong Wang
>
> It is not used.
...
> --- a/include/net/act_api.h
> +++ b/include/net/act_api.h
> @@ -72,7 +72,6 @@ struct tc_action_ops {
> __u32 capab; /* capabilities includes 4 bit version */
> struct module *owner;
> int (*act)(struct sk_buff *, const struct tc_action *, struct tcf_result *);
> - int (*get_stats)(struct sk_buff *, struct tc_action *);
> int (*dump)(struct sk_buff *, struct tc_action *, int, int);
> int (*cleanup)(struct tc_action *, int bind);
> int (*lookup)(struct tc_action *, u32);
Deleting a field out of the middle of a list of function pointers
seems dangerous.
David
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists