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.