[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAJieiUiQOQFypo+pMXr2p61HXQQTkToA8PasEuYS=j1kQU6dxw@mail.gmail.com>
Date: Wed, 16 May 2018 13:53:41 -0700
From: Roopa Prabhu <roopa@...ulusnetworks.com>
To: David Ahern <dsahern@...il.com>
Cc: netdev <netdev@...r.kernel.org>
Subject: Re: [PATCH v2 net] net/ipv4: Initialize proto and ports in flow struct
On Wed, May 16, 2018 at 1:36 PM, David Ahern <dsahern@...il.com> wrote:
> Updating the FIB tracepoint for the recent change to allow rules using
> the protocol and ports exposed a few places where the entries in the flow
> struct are not initialized.
>
> For __fib_validate_source add the call to fib4_rules_early_flow_dissect
> since it is invoked for the input path. For netfilter, add the memset on
> the flow struct to avoid future problems like this. In ip_route_input_slow
> need to set the fields if the skb dissection does not happen.
>
> Fixes: bfff4862653b ("net: fib_rules: support for match on ip_proto, sport and dport")
> Signed-off-by: David Ahern <dsahern@...il.com>
> ---
LGTM,
Acked-by: Roopa Prabhu <roopa@...ulusnetworks.com>
Powered by blists - more mailing lists