libnl/lib
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
..
cli add fq_codel cli module 2013-11-22 10:13:40 +01:00
fib_lookup Use thread-safe strerror_r() instead of strerror() 2013-02-28 13:07:04 +01:00
genl genl: Fix cb reference leak in genl_ctrl_probe_by_name() 2013-04-02 11:51:53 +02:00
idiag More safely parse vegas info and mem info. 2013-07-25 17:59:56 -07:00
netfilter netfilter/ct: support optional CTA_ZONE attribute 2013-09-05 17:39:03 +02:00
route route: update kernel header snmp.h and fix inet6_parse_protinfo() after kernel API breakage 2014-03-21 12:38:45 +01:00
.gitignore Added lex.yy.c to .gitignore 2012-08-30 03:19:04 +06:00
addr.c do not compile some address families when not available 2013-11-09 01:07:19 +01:00
attr.c The commit 6a8d90f5fe "attr: Allow attribute type 0" intended to 2013-11-29 09:41:28 +01:00
cache.c cache: Return -NLE_PROTO_MISMATCH if socket provided mismatches cache protocol 2013-07-01 12:41:42 +02:00
cache_mngr.c Handle -NLE_AGAIN in nl_cache_mngr_data_ready 2013-06-27 01:12:36 +02:00
cache_mngt.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
data.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
error.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
handlers.c nl_cb: store nl_cb_type in struct nl_cb 2013-09-05 17:46:00 +02:00
hash.c Hash: Properly prefix hash functions 2012-11-10 10:22:26 +01:00
hashtable.c Move private header files to <netlink-private/*> 2013-01-24 13:51:24 +01:00
Makefile.am build: fix build failure when using different build dir (make distcheck) 2013-12-17 18:26:31 +02:00
msg.c Remove extra memset from __nlmsg_alloc 2013-11-08 17:15:16 +01:00
nl.c nl: Fix comment typo on recvmsgs 2013-10-01 18:23:54 +02:00
object.c obj: Check for NULL pointer in nl_object_clone() 2013-10-22 14:20:41 +02:00
socket.c socket: Warn via debug message if local port namespace is exhausted 2013-06-28 18:53:16 +02:00
utils.c utils: indicate capability NL_CAPABILITY_ROUTE_BUILD_MSG_SET_SCOPE 2014-03-13 13:16:51 +01:00
version.c Run-time version information is now available 2012-08-30 03:19:04 +06:00