Subject: Re: [PATCH net-next v2 1/5] net: fib_rules: support for match on ip_proto, sport and dport

From: Eric Dumazet <[email-masked]>
Date: Thu, 01 Mar 2018 14:48:48 -0800

On Tue, 2018-02-27 at 19:52 -0800, Roopa Prabhu wrote:
> From: Roopa Prabhu <[email-masked]>
> 
> uapi for ip_proto, sport and dport range match
> in fib rules.

Hi Roopa

 	FRA_UNSPEC,
>  	FRA_DST,	/* destination address */
> @@ -59,6 +64,9 @@ enum {
>  	FRA_L3MDEV,	/* iif or oif is l3mdev goto its table */
>  	FRA_UID_RANGE,	/* UID range */
>  	FRA_PROTOCOL,   /* Originator of the rule */
> +	FRA_IP_PROTO,	/* ip proto */
> +	FRA_SPORT_RANGE, /* sport */
> +	FRA_DPORT_RANGE, /* dport */
>  	__FRA_MAX
>  };

It seems you forgot to update FRA_GENERIC_POLICY ?

Thanks !