diff mbox

[PULL,10/22] linux-user: add RTA_PRIORITY in netlink

Message ID bbf6f249567f1e63acff9248a6c2dc0743597313.1476710353.git.riku.voipio@linaro.org (mailing list archive)
State New, archived
Headers show

Commit Message

Riku Voipio Oct. 17, 2016, 1:24 p.m. UTC
From: Laurent Vivier <laurent@vivier.eu>

Used by fedora21 on ppc64 in the network initialization

Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Signed-off-by: Riku Voipio <riku.voipio@linaro.org>
---
 linux-user/syscall.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index bcd97ba..d66efa1 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -2601,6 +2601,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);