Blame SOURCES/rh1057024_ifa_flags_2.patch

4c8f2e
From 6ad0773a41a713421caf3d88078aad634bc915e0 Mon Sep 17 00:00:00 2001
4c8f2e
From: Thomas Haller <thaller@redhat.com>
4c8f2e
Date: Thu, 2 Jan 2014 10:51:38 +0100
4c8f2e
Subject: [PATCH 2/3] addr: add address flag IFA_F_MANAGETEMPADDR
4c8f2e
4c8f2e
(cherry picked from commit dcc0baac020e033c4325e4d89c92aaab03f01b01)
4c8f2e
4c8f2e
Signed-off-by: Thomas Haller <thaller@redhat.com>
4c8f2e
---
4c8f2e
 include/linux/if_addr.h | 1 +
4c8f2e
 lib/route/addr.c        | 1 +
4c8f2e
 2 files changed, 2 insertions(+)
4c8f2e
4c8f2e
diff --git a/include/linux/if_addr.h b/include/linux/if_addr.h
4c8f2e
index 63da1cd..94b32b4 100644
4c8f2e
--- a/include/linux/if_addr.h
4c8f2e
+++ b/include/linux/if_addr.h
4c8f2e
@@ -48,6 +48,7 @@ enum {
4c8f2e
 #define IFA_F_DEPRECATED	0x20
4c8f2e
 #define IFA_F_TENTATIVE		0x40
4c8f2e
 #define IFA_F_PERMANENT		0x80
4c8f2e
+#define IFA_F_MANAGETEMPADDR	0x100
4c8f2e
 
4c8f2e
 struct ifa_cacheinfo {
4c8f2e
 	__u32	ifa_prefered;
4c8f2e
diff --git a/lib/route/addr.c b/lib/route/addr.c
4c8f2e
index bcdc319..c3c59ce 100644
4c8f2e
--- a/lib/route/addr.c
4c8f2e
+++ b/lib/route/addr.c
4c8f2e
@@ -1023,6 +1023,7 @@ static const struct trans_tbl addr_flags[] = {
4c8f2e
 	__ADD(IFA_F_DEPRECATED, deprecated)
4c8f2e
 	__ADD(IFA_F_TENTATIVE, tentative)
4c8f2e
 	__ADD(IFA_F_PERMANENT, permanent)
4c8f2e
+	__ADD(IFA_F_MANAGETEMPADDR, mngtmpaddr)
4c8f2e
 };
4c8f2e
 
4c8f2e
 char *rtnl_addr_flags2str(int flags, char *buf, size_t size)
4c8f2e
-- 
4c8f2e
1.8.3.1
4c8f2e