linux-user: add RTA_PRIORITY in netlink
diff mbox

Message ID 1475758510-4344-1-git-send-email-laurent@vivier.eu
State New
Headers show

Commit Message

Laurent Vivier Oct. 6, 2016, 12:55 p.m. UTC
Used by fedora21 on ppc64 in the network initialization

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
---
 linux-user/syscall.c | 1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox

diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index 0815f30..d21d901 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -2591,6 +2591,7 @@  static abi_long target_to_host_data_route_rtattr(struct rtattr *rtattr)
     case RTA_GATEWAY:
         break;
     /* u32 */
+    case RTA_PRIORITY:
     case RTA_OIF:
         u32 = RTA_DATA(rtattr);
         *u32 = tswap32(*u32);