From mboxrd@z Thu Jan 1 00:00:00 1970 From: Donald Sharp Subject: [PATCH 0/2] Allow rules to track originating protocol Date: Sat, 17 Feb 2018 07:31:46 -0500 Message-ID: <20180217123148.26733-1-sharpd@cumulusnetworks.com> To: netdev@vger.kernel.org Return-path: Received: from mail-qt0-f195.google.com ([209.85.216.195]:46925 "EHLO mail-qt0-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750994AbeBQMb7 (ORCPT ); Sat, 17 Feb 2018 07:31:59 -0500 Received: by mail-qt0-f195.google.com with SMTP id u6so7000321qtg.13 for ; Sat, 17 Feb 2018 04:31:58 -0800 (PST) Received: from robot.nc.rr.com (cpe-2606-A000-111D-803E-CF1-EE96-732C-4D5.dyn6.twc.com. [2606:a000:111d:803e:cf1:ee96:732c:4d5]) by smtp.googlemail.com with ESMTPSA id m13sm15319849qtf.11.2018.02.17.04.31.56 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 17 Feb 2018 04:31:57 -0800 (PST) Sender: netdev-owner@vger.kernel.org List-ID: 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(-) -- 2.14.3