From: Donald Sharp <hidden> Date: 2018-02-17 12:48:02
Fix iprule.c to use the actual `struct fib_rule_hdr` and to
allow the end user to see and use the protocol keyword
for rule manipulations.
Donald Sharp (3):
ip: Use the `struct fib_rule_hdr` for rules
ip: Display ip rule protocol used
ip: Allow rules to accept a specified protocol
include/linux/fib_rules.h | 2 +-
ip/iprule.c | 114 ++++++++++++++++++++++++++--------------------
2 files changed, 65 insertions(+), 51 deletions(-)
--
2.14.3
From: David Ahern <hidden> Date: 2018-02-17 23:35:04
On 2/17/18 5:47 AM, Donald Sharp wrote:
Fix iprule.c to use the actual `struct fib_rule_hdr` and to
allow the end user to see and use the protocol keyword
for rule manipulations.
Donald Sharp (3):
ip: Use the `struct fib_rule_hdr` for rules
ip: Display ip rule protocol used
ip: Allow rules to accept a specified protocol
include/linux/fib_rules.h | 2 +-
ip/iprule.c | 114 ++++++++++++++++++++++++++--------------------
2 files changed, 65 insertions(+), 51 deletions(-)
you are missing a patch to add protocol to iprule_list_flush_or_save so
'ip ru flush proto NAME' flushes all rules with that protocol.
From: Donald Sharp <hidden> Date: 2018-02-18 00:01:51
Got it. I'll send an update.
donald
On Sat, Feb 17, 2018 at 6:35 PM, David Ahern [off-list ref] wrote:
On 2/17/18 5:47 AM, Donald Sharp wrote:
quoted
Fix iprule.c to use the actual `struct fib_rule_hdr` and to
allow the end user to see and use the protocol keyword
for rule manipulations.
Donald Sharp (3):
ip: Use the `struct fib_rule_hdr` for rules
ip: Display ip rule protocol used
ip: Allow rules to accept a specified protocol
include/linux/fib_rules.h | 2 +-
ip/iprule.c | 114 ++++++++++++++++++++++++++--------------------
2 files changed, 65 insertions(+), 51 deletions(-)
you are missing a patch to add protocol to iprule_list_flush_or_save so
'ip ru flush proto NAME' flushes all rules with that protocol.