diff options
author | Laurent Vivier <laurent@vivier.eu> | 2018-06-27 23:21:51 +0200 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2018-07-02 20:16:35 +0200 |
commit | d2ba246cf3a216fefc786b3116063dddf2f32810 (patch) | |
tree | 01e318274518af40217b109685cb1a64c955a927 /linux-user | |
parent | 7155be7cda5c7f930ff1e61e1b9bd3dfacd23ada (diff) |
linux-user: add netlink CARRIER_UP_COUNT/CARRIER_DOWN_COUNT
Error is reported with libuv test suite:
not ok 311 - udp_multicast_interface6
# exit code 134
# Output from process `udp_multicast_interface6`:
# Unknown host QEMU_IFLA type: 47
# Unknown host QEMU_IFLA type: 48
# Unknown host QEMU_IFLA type: 47
# Unknown host QEMU_IFLA type: 48
# Unknown host QEMU_IFLA type: 47
# Unknown host QEMU_IFLA type: 48
# Unknown host QEMU_IFLA type: 47
# Unknown host QEMU_IFLA type: 48
# Unknown host QEMU_IFLA type: 47
# Unknown host QEMU_IFLA type: 48
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Message-Id: <20180627212152.26525-2-laurent@vivier.eu>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/syscall.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/linux-user/syscall.c b/linux-user/syscall.c index 2117fb13b4..4460f1e39a 100644 --- a/linux-user/syscall.c +++ b/linux-user/syscall.c @@ -2522,6 +2522,8 @@ static abi_long host_to_target_data_link_rtattr(struct rtattr *rtattr) case QEMU_IFLA_NUM_VF: case QEMU_IFLA_GSO_MAX_SEGS: case QEMU_IFLA_GSO_MAX_SIZE: + case QEMU_IFLA_CARRIER_UP_COUNT: + case QEMU_IFLA_CARRIER_DOWN_COUNT: u32 = RTA_DATA(rtattr); *u32 = tswap32(*u32); break; |