Re: [PATCH v3 net-next 3/5] ipv4: Refactor nexthop attributes in fib_dump_info

2019-04-02 Thread Martin Lau
On Mon, Apr 01, 2019 at 08:02:32PM -0700, David Ahern wrote: > From: David Ahern > > Similar to ipv6, move addition of nexthop attributes to dump > message into helpers that are called for both single path and > multipath routes. Align the new helpers to the IPv6 variant > which most notably mean

[PATCH v3 net-next 3/5] ipv4: Refactor nexthop attributes in fib_dump_info

2019-04-01 Thread David Ahern
From: David Ahern Similar to ipv6, move addition of nexthop attributes to dump message into helpers that are called for both single path and multipath routes. Align the new helpers to the IPv6 variant which most notably means computing the flags argument based on settings in nh_flags. The RTA_FL