From 2e0c4ade6763589bd6a3099386e4435f0aaf2473 Mon Sep 17 00:00:00 2001 From: Thomas Haller Date: Wed, 3 May 2017 10:36:23 +0200 Subject: [PATCH] libnl-3.3.0 release Signed-off-by: Thomas Haller --- configure.ac | 2 +- doc/configure.ac | 2 +- include/netlink/utils.h | 6 ++++++ lib/utils.c | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 66585db42..e7402fdf0 100644 --- a/configure.ac +++ b/configure.ac @@ -40,7 +40,7 @@ m4_define([libnl_lt_revision], [0]) m4_define([libnl_lt_age], [25]) m4_define([libnl_version], - [libnl_major_version.libnl_minor_version.libnl_micro_version-rc1]) + [libnl_major_version.libnl_minor_version.libnl_micro_version]) AC_INIT(libnl, [libnl_version], [], [], [http://www.infradead.org/~tgr/libnl/]) AC_CONFIG_HEADERS([lib/defs.h]) diff --git a/doc/configure.ac b/doc/configure.ac index bb001739a..c8bc1d49e 100644 --- a/doc/configure.ac +++ b/doc/configure.ac @@ -9,7 +9,7 @@ # Copyright (c) 2003-2013 Thomas Graf # -AC_INIT(libnl-doc, [3.3.0-rc1], [http://www.infradead.org/~tgr/libnl/]) +AC_INIT(libnl-doc, [3.3.0], [http://www.infradead.org/~tgr/libnl/]) AC_CONFIG_MACRO_DIR([m4]) AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([foreign]) diff --git a/include/netlink/utils.h b/include/netlink/utils.h index c94b670d4..f61ef4f42 100644 --- a/include/netlink/utils.h +++ b/include/netlink/utils.h @@ -274,6 +274,12 @@ enum { NL_CAPABILITY_XFRM_SP_SEC_CTX_LEN = 26, #define NL_CAPABILITY_XFRM_SP_SEC_CTX_LEN NL_CAPABILITY_XFRM_SP_SEC_CTX_LEN + /** + * The library version is libnl3 3.3.0 or newer. This capability should never be backported. + */ + NL_CAPABILITY_VERSION_3_3_0 = 27, +#define NL_CAPABILITY_VERSION_3_3_0 NL_CAPABILITY_VERSION_3_3_0 + __NL_CAPABILITY_MAX, NL_CAPABILITY_MAX = (__NL_CAPABILITY_MAX - 1), #define NL_CAPABILITY_MAX NL_CAPABILITY_MAX diff --git a/lib/utils.c b/lib/utils.c index aaa951330..704dc7a85 100644 --- a/lib/utils.c +++ b/lib/utils.c @@ -1219,7 +1219,7 @@ int nl_has_capability (int capability) _NL_SET (3, NL_CAPABILITY_VERSION_3_2_29, NL_CAPABILITY_XFRM_SP_SEC_CTX_LEN, - 0, + NL_CAPABILITY_VERSION_3_3_0, 0, 0, 0,