On 3/20/18 11:04 AM, Nicolas Dichtel wrote:
> As the comment said, this attribute defines the originator of the rule,
> it's not really a (network) protocol.
> Let's rename it accordingly to avoid confusion (difference between
> FRA_PROTOCOL and FRA_IP_PROTO was not obvious).
> 
> CC: Donald Sharp <sha...@cumulusnetworks.com>
> Signed-off-by: Nicolas Dichtel <nicolas.dich...@6wind.com>
> ---
> 
> FRA_PROTOCOL exists only in net-next for now, thus it's still possible to
> rename it.
> 
>  drivers/net/vrf.c              |  4 ++--
>  include/net/fib_rules.h        |  4 ++--
>  include/uapi/linux/fib_rules.h |  2 +-
>  net/core/fib_rules.c           | 14 +++++++-------
>  4 files changed, 12 insertions(+), 12 deletions(-)
> 
>

This protocol is meant to be analogous to rtm_protocol. Changing the
name to FRA_ORIGINATOR loses that connection.

Reply via email to