summaryrefslogtreecommitdiffstats
path: root/net/netlink
diff options
context:
space:
mode:
authorDonald Sharp2018-02-23 20:01:52 +0100
committerDavid S. Miller2018-02-23 21:47:20 +0100
commit1b71af6053af1bd2f849e9fda4f71c1e3f145dcf (patch)
treee639fa9311e511e388b3ccf0efa6cc36abb2bb69 /net/netlink
parentselftests/net: ignore background traffic in psock_fanout (diff)
downloadkernel-qcow2-linux-1b71af6053af1bd2f849e9fda4f71c1e3f145dcf.tar.gz
kernel-qcow2-linux-1b71af6053af1bd2f849e9fda4f71c1e3f145dcf.tar.xz
kernel-qcow2-linux-1b71af6053af1bd2f849e9fda4f71c1e3f145dcf.zip
net: fib_rules: Add new attribute to set protocol
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 in notifications. To avoid incompatibility with existing iproute2, send the protocol as a new attribute. Fixes: cac56209a66 ("net: Allow a rule to track originating protocol") Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlink')
0 files changed, 0 insertions, 0 deletions