Re: [PATCH v3 iproute2-next 2/3] ip: Display ip rule protocol used

2018-02-26 Thread David Ahern
On 2/23/18 12:32 PM, Donald Sharp wrote: > @@ -391,6 +404,10 @@ static int flush_rule(const struct sockaddr_nl *who, > struct nlmsghdr *n, > > parse_rtattr(tb, FRA_MAX, RTM_RTA(frh), len); > > + if (tb[FRA_PROTOCOL] && > + >

[PATCH v3 iproute2-next 2/3] ip: Display ip rule protocol used

2018-02-23 Thread Donald Sharp
Modify 'ip rule' command to notice when the kernel passes to us the originating protocol. Add code to allow the `ip rule flush protocol XXX` command to be accepted and properly handled. Modify the documentation to reflect these code changes. Signed-off-by: Donald Sharp