Re: [PATCH/RFC flow-net-next 02/10] net: flow: Add features to tables
From: Cong Wang <hidden>
Date: 2014-12-29 23:03:40
From: Cong Wang <hidden>
Date: 2014-12-29 23:03:40
On Sun, Dec 28, 2014 at 6:15 PM, Simon Horman [off-list ref] wrote:
+static struct net_flow_table *net_flow_table_get_table(struct net_device *dev,
+ int table_uid)
+{
+ struct net_flow_table **tables;
+ int i;
+
+ tables = net_flow_get_tables(dev);
+ if (IS_ERR(tables))
+ return ERR_PTR(PTR_ERR(tables));Seriously? :)