All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Allow 'ip rule' command to use protocol
@ 2018-02-17 12:47 Donald Sharp
  2018-02-17 23:35 ` David Ahern
  0 siblings, 1 reply; 3+ messages in thread
From: Donald Sharp @ 2018-02-17 12:47 UTC (permalink / raw)
  To: netdev

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/3] Allow 'ip rule' command to use protocol
  2018-02-17 12:47 [PATCH 0/3] Allow 'ip rule' command to use protocol Donald Sharp
@ 2018-02-17 23:35 ` David Ahern
  2018-02-18  0:01   ` Donald Sharp
  0 siblings, 1 reply; 3+ messages in thread
From: David Ahern @ 2018-02-17 23:35 UTC (permalink / raw)
  To: Donald Sharp, netdev

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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 0/3] Allow 'ip rule' command to use protocol
  2018-02-17 23:35 ` David Ahern
@ 2018-02-18  0:01   ` Donald Sharp
  0 siblings, 0 replies; 3+ messages in thread
From: Donald Sharp @ 2018-02-18  0:01 UTC (permalink / raw)
  To: David Ahern; +Cc: netdev

Got it.  I'll send an update.

donald

On Sat, Feb 17, 2018 at 6:35 PM, David Ahern <dsa@cumulusnetworks.com> wrote:
> 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.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-02-18  0:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-17 12:47 [PATCH 0/3] Allow 'ip rule' command to use protocol Donald Sharp
2018-02-17 23:35 ` David Ahern
2018-02-18  0:01   ` Donald Sharp

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.