Re: [PATCH net-next 10/20] rtnetlink: Update rtnl_stats_dump for strict data checking

2018-10-07 Thread Christian Brauner
On Thu, Oct 04, 2018 at 02:33:45PM -0700, David Ahern wrote: > From: David Ahern > > Update rtnl_stats_dump for strict data checking. If the flag is set, > the dump request is expected to have an if_stats_msg struct as the header. > All elements of the struct are expected to be 0 except filter_ma

[PATCH net-next 10/20] rtnetlink: Update rtnl_stats_dump for strict data checking

2018-10-04 Thread David Ahern
From: David Ahern Update rtnl_stats_dump for strict data checking. If the flag is set, the dump request is expected to have an if_stats_msg struct as the header. All elements of the struct are expected to be 0 except filter_mask which must be non-0 (legacy behavior). No attributes are supported.