RE: [PATCH net-next 0/4] Rightsize IFLA_AF_SPEC size calculation

2015-10-14 Thread Arad, Ronen
>-Original Message- >From: David Miller [mailto:da...@davemloft.net] >Sent: Wednesday, October 14, 2015 6:44 PM >To: Arad, Ronen >Cc: netdev@vger.kernel.org >Subject: Re: [PATCH net-next 0/4] Rightsize IFLA_AF_SPEC size calculation > >From: Ronen Arad >Date

Re: [PATCH net-next 0/4] Rightsize IFLA_AF_SPEC size calculation

2015-10-14 Thread David Miller
From: Ronen Arad Date: Tue, 13 Oct 2015 22:58:30 -0700 > if_nlmsg_size() overestimates the minimum allocation size of netlink dump > request (when called from rtnl_calcit()) or the size of the message (when > called > from rtnl_getlink()). This is because ext_filter_mask is not supported by > rt

[PATCH net-next 0/4] Rightsize IFLA_AF_SPEC size calculation

2015-10-13 Thread Ronen Arad
if_nlmsg_size() overestimates the minimum allocation size of netlink dump request (when called from rtnl_calcit()) or the size of the message (when called from rtnl_getlink()). This is because ext_filter_mask is not supported by rtnl_link_get_af_size() and rtnl_link_get_size(). The over-estimation