[PATCH 2/2] route: detect missing cfgid in rtnl_link_inet_get_conf()
Thomas Graf
tgraf at suug.ch
Thu Mar 20 03:36:38 EDT 2014
On 03/19/14 at 02:49pm, Thomas Haller wrote:
> If the netlink message for IFLA_INET_CONF contains less then
> IPV4_DEVCONF_MAX entires, the last entries in i_conf are unset.
> Modify rtnl_link_inet_get_conf() to return -EINVAL when accessing
> an unset cfgid.
>
> Signed-off-by: Thomas Haller <thaller at redhat.com>
Acked-by: Thomas Graf <tgraf at suug.ch>
More information about the libnl
mailing list