Re: [PATCH net-next 19/20] net: Update netconf dump handlers for strict data checking

2018-10-07 Thread David Ahern
On 10/7/18 4:53 AM, Christian Brauner wrote: >> @@ -2076,6 +2077,21 @@ static int inet_netconf_dump_devconf(struct sk_buff >> *skb, >> struct in_device *in_dev; >> struct hlist_head *head; >> >> +if (cb->strict_check) { >> +struct netlink_ext_ack *extack = cb->extack; >

Re: [PATCH net-next 19/20] net: Update netconf dump handlers for strict data checking

2018-10-07 Thread Christian Brauner
On Thu, Oct 04, 2018 at 02:33:54PM -0700, David Ahern wrote: > From: David Ahern > > Update inet_netconf_dump_devconf, inet6_netconf_dump_devconf, and > mpls_netconf_dump_devconf for strict data checking. If the flag is set, > the dump request is expected to have an netconfmsg struct as the heade

[PATCH net-next 19/20] net: Update netconf dump handlers for strict data checking

2018-10-04 Thread David Ahern
From: David Ahern Update inet_netconf_dump_devconf, inet6_netconf_dump_devconf, and mpls_netconf_dump_devconf for strict data checking. If the flag is set, the dump request is expected to have an netconfmsg struct as the header. The struct only has the family member and no attributes can be appen