Skip to contentSkip to conversation

Allow rules to track originating protocol

PATCH Superseded Donald Sharp 2 participants 2 messages Feb 17, 2018 – Feb 19, 2018

Subsystems (2)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover Allow rules to track originating protocol

Add the ability for the kernel to track the originating protocol for when new rules are added to the kernel.

Donald Sharp (2):
net: Allow a rule to track originating protocol
drivers: Modify vrf device to specify it's rule as RTPROT_KERNEL

 drivers/net/vrf.c              | 1 +
 include/net/fib_rules.h        | 3 ++-
 include/uapi/linux/fib_rules.h | 2 +-
 net/core/fib_rules.c           | 7 ++++++-
 4 files changed, 10 insertions(+), 3 deletions(-)
Signature · 1 line
2.14.3
maintainer
#1 lore raw

From: Donald Sharp <[email protected]>
Date: Sat, 17 Feb 2018 07:31:46 -0500

Quoted 2 lines

Add the ability for the kernel to track the originating protocol for when new rules are added to the kernel.

I think you need to collapse these two patches together.

The first patch will create a situation where VRF rules cannot be deleted properly since the protocol field is not being initialized, and that would be a regression.

Thank you.