No description
Find a file
Thomas Haller dfd0a80ec8 route: don't enforce minlen in inet6_parse_protinfo() (IFLA_PROTINFO) and inet_parse_af() (IFLA_AF_SPEC)
Older kernel version might have fewer values defined, so they would send
netlink messages that got rejected. Only check that at least one value
got sent.

This is especially grave as libnl uses an internal copy of the
kernel header files. Thus not only it is bound to the installed kernel
headers but to the libnl internal header copies that might easily be out
of sync with the kernel.

This affects IFLA_PROTINFO, inet6_parse_protinfo():
  - tb[IFLA_INET6_CONF], expecting DEVCONF_MAX
  - tb[IFLA_INET6_STATS], expecting __IPSTATS_MIB_MAX
  - tb[IFLA_INET6_ICMP6STATS], expecting __ICMP6_MIB_MAX
and IFLA_AF_SPEC, inet_parse_af():
  - tb[IFLA_INET_CONF], expecting IPV4_DEVCONF_MAX

https://bugzilla.redhat.com/show_bug.cgi?id=1062533

Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-03-21 12:27:18 +01:00
doc build: fix error when running configure --disable-doc 2014-01-29 18:13:35 +01:00
etc pktloc: support to specify a shift operator for packet locations 2010-11-04 20:01:36 +01:00
include u32: add const to rtnl_u32_add_key_in*_addr() 2014-03-21 12:23:09 +01:00
lib route: don't enforce minlen in inet6_parse_protinfo() (IFLA_PROTINFO) and inet_parse_af() (IFLA_AF_SPEC) 2014-03-21 12:27:18 +01:00
m4 doc: Check documentation generation requirements with autoconf 2012-05-09 10:06:24 +02:00
man genl: Update genl-ctrl-list(8) 2012-06-01 13:10:03 +02:00
python python: fix build error for missing library_path in setup.py 2014-01-21 19:11:16 +01:00
src remove the obsolete src/cls directory 2014-01-31 15:52:06 +01:00
tests rename rtnl_mirred_set_index() to rtnl_mirred_set_ifindex() 2013-12-09 15:33:27 +01:00
.gitignore Enable linker versioning 2013-08-07 14:51:03 +02:00
autogen.sh doc: Split doc/ into separate packages 2012-10-19 16:16:06 +02:00
ChangeLog libnl 3.2.10 2012-06-06 11:43:53 +02:00
configure.ac libnl-3.2.24 release 2014-01-21 19:48:41 +01:00
COPYING Update COPYING to fix FSF address 2012-01-17 12:38:37 +01:00
libnl-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-cli-3.0.pc.in Add libnl-cli-3.0 to pkg-config tool 2011-10-10 11:39:24 +02:00
libnl-genl-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-idiag-3.0.pc.in Add support for inet diag Netlink protocol. 2013-07-19 02:06:21 -07:00
libnl-nf-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl-route-3.0.pc.in Switch to libtool versioning system 2011-09-13 22:58:08 +02:00
libnl.sym.in Enable linker versioning 2013-08-07 14:51:03 +02:00
Makefile.am make: automake provides a cscope target these days 2012-12-21 13:30:21 +01:00