libnl/include
Thomas Haller 5981a39583 route: update kernel header snmp.h and fix inet6_parse_protinfo() after kernel API breakage
Take 'include/uapi/linux/snmp.h' from current kernel v3.13
(commit d8ec26d7f8287f5788a494f56e8814210f0e64be).

The header file added new values for IPSTATS_MIB_* and ICMP6_MIB_*, but
more importantly, the kernel broke user space API by reordering enum values in
IPSTATS_MIB_*. Add a workaround when parsing IFLA_PROTINFO trying to
be compatible with both older and newer kernels.

Note that this workaround might fail for some specific kernel versions by
assuming the old enum value mapping, although the kernel version already
contains the API change. In this case rtnl_link_get_stat() mixes up
values.

Acked-by: Thomas Graf <tgraf@suug.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
2014-03-21 12:38:45 +01:00
..
linux route: update kernel header snmp.h and fix inet6_parse_protinfo() after kernel API breakage 2014-03-21 12:38:45 +01:00
netlink route: update kernel header snmp.h and fix inet6_parse_protinfo() after kernel API breakage 2014-03-21 12:38:45 +01:00
netlink-private doc: fix typo in documentation 2014-01-21 19:16:55 +01:00
Makefile.am add fq_codel qdisc 2013-11-22 10:13:39 +01:00