Re: [PATCH net-next v6 03/11] ipv4/route: Allow NULL flowinfo in rt_fill_info()

2019-06-20 Thread Stefano Brivio
On Thu, 20 Jun 2019 07:15:55 -0600 David Ahern wrote: > On 6/19/19 5:59 PM, Stefano Brivio wrote: > > In the next patch, we're going to use rt_fill_info() to dump exception > > routes upon RTM_GETROUTE with NLM_F_ROOT, meaning userspace is requesting > > a dump and not a specific route selection,

Re: [PATCH net-next v6 03/11] ipv4/route: Allow NULL flowinfo in rt_fill_info()

2019-06-20 Thread David Ahern
On 6/19/19 5:59 PM, Stefano Brivio wrote: > In the next patch, we're going to use rt_fill_info() to dump exception > routes upon RTM_GETROUTE with NLM_F_ROOT, meaning userspace is requesting > a dump and not a specific route selection, which in turn implies the input > interface is not relevant. Up

[PATCH net-next v6 03/11] ipv4/route: Allow NULL flowinfo in rt_fill_info()

2019-06-19 Thread Stefano Brivio
In the next patch, we're going to use rt_fill_info() to dump exception routes upon RTM_GETROUTE with NLM_F_ROOT, meaning userspace is requesting a dump and not a specific route selection, which in turn implies the input interface is not relevant. Update rt_fill_info() to handle a NULL flowinfo. Su