Re: [PATCH v3 net-next] net: flow_offload: simplify hw stats check handling

2020-05-20 Thread Edward Cree
On 20/05/2020 18:32, Pablo Neira Ayuso wrote: > On Wed, May 20, 2020 at 06:31:05PM +0100, Edward Cree wrote: >> On 20/05/2020 18:21, Edward Cree wrote: >>> @@ -582,7 +590,7 @@ nf_flow_offload_rule_alloc(struct net *net, >>> const struct flow_offload_tuple *tuple; >>> struct nf_flow_rule *fl

Re: [PATCH v3 net-next] net: flow_offload: simplify hw stats check handling

2020-05-20 Thread Pablo Neira Ayuso
On Wed, May 20, 2020 at 06:31:05PM +0100, Edward Cree wrote: > On 20/05/2020 18:21, Edward Cree wrote: > > @@ -582,7 +590,7 @@ nf_flow_offload_rule_alloc(struct net *net, > > const struct flow_offload_tuple *tuple; > > struct nf_flow_rule *flow_rule; > > struct dst_entry *other_dst; > >

Re: [PATCH v3 net-next] net: flow_offload: simplify hw stats check handling

2020-05-20 Thread Edward Cree
On 20/05/2020 18:21, Edward Cree wrote: > @@ -582,7 +590,7 @@ nf_flow_offload_rule_alloc(struct net *net, > const struct flow_offload_tuple *tuple; > struct nf_flow_rule *flow_rule; > struct dst_entry *other_dst; > - int err = -ENOMEM; > + int err = -ENOMEM, i; > >