aboutsummaryrefslogtreecommitdiff
path: root/linux-user/syscall.c
diff options
context:
space:
mode:
authorLaurent Vivier <laurent@vivier.eu>2016-10-06 14:55:10 +0200
committerRiku Voipio <riku.voipio@linaro.org>2016-10-21 15:19:40 +0300
commit434f286bbc1570b204ac2a450d92890578594773 (patch)
treea2564e494dadaf7137e52b2dc3fa892dd27f710d /linux-user/syscall.c
parent2f14788c542fcdc7fc2eb4a93db7facb39c43463 (diff)
linux-user: add RTA_PRIORITY in netlink
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>
Diffstat (limited to 'linux-user/syscall.c')
-rw-r--r--linux-user/syscall.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c
index beeb23d5dc..31143b38fe 100644
--- a/linux-user/syscall.c
+++ b/linux-user/syscall.c
@@ -2600,6 +2600,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);