[PATCH 0/2] make parsing in inet6_parse_protinfo() and inet_parse_af() more liberal

Thomas Haller thaller at redhat.com
Wed Mar 19 09:49:05 EDT 2014


Noteworthy:

 - .minlen is now set to 4 bytes, i.e. to at least one entry.
 - rtnl_link_inet_get_conf() can now fail with error -NLE_INVAL

Thomas Haller (2):
  route: do not enforce minlen in inet6_parse_protinfo() when parsing
    IFLA_INET6_CONF
  route: detect missing cfgid in rtnl_link_inet_get_conf()

 lib/route/link/inet.c  | 20 +++++++++++++++++---
 lib/route/link/inet6.c |  8 ++++++--
 2 files changed, 23 insertions(+), 5 deletions(-)

-- 
1.8.5.3




More information about the libnl mailing list