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
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;
> >
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;
>
>
Make FLOW_ACTION_HW_STATS_DONT_CARE be all bits, rather than none, so that
drivers and __flow_action_hw_stats_check can use simple bitwise checks.
Also ensure that netfilter explicitly sets its actions to DONT_CARE, rather
than relying on implicit semantics of zero.
Only the kernel's internal AP