third_party_libnl/lib
Tobias Klauser 51a51c3a1c lib/route: keep link stats minlen compatible with kernel < 4.6
Since linux/if_link.h was synced in libnl commit d533736e22 ("vxlan:
add support for additional VXLAN attributes."), the minlen check in
validate_nla() fails on kernels < 4.6 - or more precisely, on kernels
not containing kernel commit 6e7333d315a7 ("net: add rx_nohandler stat
counter"). The check fails because rtnl_link_stats and rtnl_link_stats64
sent by the kernel don't have the rx_nohandler member yet, but libnl
expects them to have it.

Account for this by decreasing the minlen by one member and add an
explanatory comment.

https://github.com/thom311/libnl/pull/116

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Thomas Haller <thaller@redhat.com>
2016-11-28 21:33:21 +01:00
..
cli trivial: whitespace-only fixes for src and lib 2016-08-12 23:06:27 +02:00
fib_lookup lib: switch to using strerror_l() instead of strerror_r() 2016-08-25 17:32:57 +02:00
genl lib: update ce-mask to uint64_t 2016-02-12 18:09:04 +01:00
idiag trivial: whitespace-only fixes for src and lib 2016-08-12 23:06:27 +02:00
netfilter remove multiple implementations of htonll(), ntohll() 2016-09-06 11:21:48 +02:00
route lib/route: keep link stats minlen compatible with kernel < 4.6 2016-11-28 21:33:21 +01:00
xfrm xfrm: add capability reference to xfrmnl_sa_set_* 2016-11-06 21:49:34 +01:00
.gitignore Added lex.yy.c to .gitignore 2012-08-30 03:19:04 +06:00
addr.c nl-addr: avoid read-out-of-bound in nl_addr_fill_sockaddr() 2016-08-14 11:46:19 +02:00
attr.c lib: return error on Netlink attribute length overflow 2016-06-24 19:32:25 +02:00
cache_mngr.c lib: switch to using strerror_l() instead of strerror_r() 2016-08-25 17:32:57 +02:00
cache_mngt.c cache: assert in nl_cache_mngt_register() for valid oo_keygen() function 2014-11-25 10:44:26 +01:00
cache.c trivial: whitespace-only fixes for src and lib 2016-08-12 23:06:27 +02:00
data.c lib: add const-ness to appropriate parameters in addr, attr, data 2015-02-16 11:20:18 +01:00
error.c lib: return error on Netlink attribute length overflow 2016-06-24 19:32:25 +02:00
handlers.c lib: switch to using strerror_l() instead of strerror_r() 2016-08-25 17:32:57 +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 lib/route: SRIOV Parse and Read support 2016-11-24 13:27:39 +01:00
msg.c lib: switch to using strerror_l() instead of strerror_r() 2016-08-25 17:32:57 +02:00
nl.c lib: switch to using strerror_l() instead of strerror_r() 2016-08-25 17:32:57 +02:00
object.c trivial: whitespace-only fixes for src and lib 2016-08-12 23:06:27 +02:00
socket.c lib: switch to using strerror_l() instead of strerror_r() 2016-08-25 17:32:57 +02:00
utils.c xfrm: fix xfrm security context management 2016-11-06 21:49:34 +01:00
version.c Run-time version information is now available 2012-08-30 03:19:04 +06:00