Re: [PATCH] net: fib_rules: Add new attribute to set protocol

2018-02-23 Thread David Miller
From: Donald Sharp Date: Fri, 23 Feb 2018 14:01:52 -0500 > For ages iproute2 has used `struct rtmsg` as the ancillary header for > FIB rules and in the process set the protocol value to RTPROT_BOOT. > Until ca56209a66 ("net: Allow a rule to track originating protocol") > the kernel rules code ign

[PATCH] net: fib_rules: Add new attribute to set protocol

2018-02-23 Thread Donald Sharp
For ages iproute2 has used `struct rtmsg` as the ancillary header for FIB rules and in the process set the protocol value to RTPROT_BOOT. Until ca56209a66 ("net: Allow a rule to track originating protocol") the kernel rules code ignored the protocol value sent from userspace and always returned 0 i