summaryrefslogtreecommitdiffstats
path: root/include/netlink
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-08-14 09:05:48 (GMT)
committerThomas Haller <thaller@redhat.com>2016-08-14 09:07:01 (GMT)
commit99b1d8acf87bcb35efed49f412d54af682bf1738 (patch)
tree32745e95f7ab1229523d3957c4f535b52a203b34 /include/netlink
parentdfaba51b5b2b5ad7e3c4990c2af3f30acbe5f8d9 (diff)
downloadlibnl-99b1d8acf87bcb35efed49f412d54af682bf1738.zip
libnl-99b1d8acf87bcb35efed49f412d54af682bf1738.tar.gz
libnl-99b1d8acf87bcb35efed49f412d54af682bf1738.tar.bz2
lib: capability NL_CAPABILITY_RTNL_ADDR_PEER_ID_FIX for ID comparison of v4 addresses
The ID attributes for IPv4 addresses were broken which causes wrong nl_object_identical() and cache lookup. This capability shall indicate that the bug was fixed. Signed-off-by: Thomas Haller <thaller@redhat.com>
Diffstat (limited to 'include/netlink')
-rw-r--r--include/netlink/utils.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/netlink/utils.h b/include/netlink/utils.h
index 3b10340..1115bb4 100644
--- a/include/netlink/utils.h
+++ b/include/netlink/utils.h
@@ -217,6 +217,13 @@ enum {
NL_CAPABILITY_VERSION_3_2_28 = 19,
#define NL_CAPABILITY_VERSION_3_2_28 NL_CAPABILITY_VERSION_3_2_28
+ /**
+ * After NL_CAPABILITY_RTNL_ADDR_PEER_FIX, a follow up regression to lookup
+ * IPv4 addresses in the cache was fixed (PR#105).
+ */
+ NL_CAPABILITY_RTNL_ADDR_PEER_ID_FIX = 20,
+#define NL_CAPABILITY_RTNL_ADDR_PEER_ID_FIX NL_CAPABILITY_RTNL_ADDR_PEER_ID_FIX
+
__NL_CAPABILITY_MAX,
NL_CAPABILITY_MAX = (__NL_CAPABILITY_MAX - 1),
#define NL_CAPABILITY_MAX NL_CAPABILITY_MAX