Skip to content

Commit c560a37

Browse files
committed
libnl-3.2.29 release
Signed-off-by: Thomas Haller <[email protected]>
1 parent 69526c6 commit c560a37

File tree

4 files changed

+17
-2
lines changed

4 files changed

+17
-2
lines changed

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ m4_define([libnl_lt_revision], [0])
4040
m4_define([libnl_lt_age], [24])
4141

4242
m4_define([libnl_version],
43-
[libnl_major_version.libnl_minor_version.libnl_micro_version-rc1])
43+
[libnl_major_version.libnl_minor_version.libnl_micro_version])
4444

4545
AC_INIT(libnl, [libnl_version], [], [], [http://www.infradead.org/~tgr/libnl/])
4646
AC_CONFIG_HEADERS([lib/defs.h])

doc/configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# Copyright (c) 2003-2013 Thomas Graf <[email protected]>
1010
#
1111

12-
AC_INIT(libnl-doc, [3.2.29-rc1], [http://www.infradead.org/~tgr/libnl/])
12+
AC_INIT(libnl-doc, [3.2.29], [http://www.infradead.org/~tgr/libnl/])
1313
AC_CONFIG_MACRO_DIR([m4])
1414
AC_CONFIG_AUX_DIR([build-aux])
1515
AM_INIT_AUTOMAKE([foreign])

include/netlink/utils.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,12 @@ enum {
261261
NL_CAPABILITY_NL_RECVMSGS_PEEK_BY_DEFAULT = 24,
262262
#define NL_CAPABILITY_NL_RECVMSGS_PEEK_BY_DEFAULT NL_CAPABILITY_NL_RECVMSGS_PEEK_BY_DEFAULT
263263

264+
/**
265+
* The library version is libnl3 3.2.29 or newer. This capability should never be backported.
266+
*/
267+
NL_CAPABILITY_VERSION_3_2_29 = 25,
268+
#define NL_CAPABILITY_VERSION_3_2_29 NL_CAPABILITY_VERSION_3_2_29
269+
264270
__NL_CAPABILITY_MAX,
265271
NL_CAPABILITY_MAX = (__NL_CAPABILITY_MAX - 1),
266272
#define NL_CAPABILITY_MAX NL_CAPABILITY_MAX

lib/utils.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1193,6 +1193,15 @@ int nl_has_capability (int capability)
11931193
NL_CAPABILITY_XFRM_SEC_CTX_LEN,
11941194
NL_CAPABILITY_LINK_BUILD_ADD_REQUEST_SET_CHANGE,
11951195
NL_CAPABILITY_NL_RECVMSGS_PEEK_BY_DEFAULT),
1196+
_NL_SET (3,
1197+
NL_CAPABILITY_VERSION_3_2_29,
1198+
0,
1199+
0,
1200+
0,
1201+
0,
1202+
0,
1203+
0,
1204+
0),
11961205
/* IMPORTANT: these capability numbers are intended to be universal and stable
11971206
* for libnl3. Don't allocate new numbers on your own that differ from upstream
11981207
* libnl3.

0 commit comments

Comments
 (0)