+4
−1
+2
−1
+11
−4
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
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: cac56209 ("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>