On 6/14/19 7:32 PM, Stefano Brivio wrote: > ip_valid_fib_dump_req() does two things: performs strict checking on > netlink attributes for dump requests, and sets a dump filter if netlink > attributes require it. > > We might want to just set a filter, without performing strict validation. > > Rename it to ip_filter_fib_dump_req(), and add a 'strict' boolean > argument that must be set if strict validation is requested. > > This patch doesn't introduce any functional changes. > > Signed-off-by: Stefano Brivio <sbri...@redhat.com> > --- > v4: New patch >
Can you explain why this patch is needed? The existing function requires strict mode and is needed to enable any of the kernel side filtering beyond the RTM_F_CLONED setting in rtm_flags.