diff mbox

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

Message ID 59c3b8798e977cdbdd787b8eaef4a6e01920a14b.1476796525.git.riku.voipio@linaro.org
State Accepted
Commit 434f286bbc1570b204ac2a450d92890578594773
Headers show

Commit Message

Riku Voipio Oct. 18, 2016, 1:21 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(+)

-- 
2.1.4
diff mbox

Patch

diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index e005401..bbdf316 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);