From patchwork Mon Oct 17 13:24:28 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Riku Voipio X-Patchwork-Id: 9379297 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id C037A600CA for ; Mon, 17 Oct 2016 13:39:15 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B321C2921E for ; Mon, 17 Oct 2016 13:39:15 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A7EE829356; Mon, 17 Oct 2016 13:39:15 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-6.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from lists.gnu.org (lists.gnu.org [208.118.235.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 381A02921E for ; Mon, 17 Oct 2016 13:39:15 +0000 (UTC) Received: from localhost ([::1]:33120 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bw88I-0006Xr-5T for patchwork-qemu-devel@patchwork.kernel.org; Mon, 17 Oct 2016 09:39:14 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bw7uW-0003Cc-NY for qemu-devel@nongnu.org; Mon, 17 Oct 2016 09:25:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bw7uT-0003Dt-42 for qemu-devel@nongnu.org; Mon, 17 Oct 2016 09:25:00 -0400 Received: from mail-lf0-x22f.google.com ([2a00:1450:4010:c07::22f]:35999) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1bw7uS-0003Da-SI for qemu-devel@nongnu.org; Mon, 17 Oct 2016 09:24:57 -0400 Received: by mail-lf0-x22f.google.com with SMTP id b75so288594834lfg.3 for ; Mon, 17 Oct 2016 06:24:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=lyXeBrARFAm9UFqC++SksOHeRjCO+/lnE7aD9xW57/4=; b=SGMFz50YNyYevy5scjBmRoI/+o6wv9fMZuuBPYVibqOTmlf6SWJPWK7bjhwQKvkieu ozD6IelAUORYL4UKsrlgKTDOKBBnhdLqmluCD9e3KeyDQwionLK/Mjn3ckV/U7+S9ANv YxymL9y/3qafWjk8o9cULeZcLYU+SL+qbKu9Y= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=lyXeBrARFAm9UFqC++SksOHeRjCO+/lnE7aD9xW57/4=; b=HsOrQ1HRNOU+9fRJ6+z9MkF4nD23pHUe2wf/KAjLBg1xKfEzdFCA9ASXrVF9sJVFTR EMBwfGEHHKqOWT7v35iibBdv6k8KxwO/1KdQZtJXHeJZG/OURXq24RoVAYUam2oeu4rR KxBzxDWMQ2IKHHunD1pTWpWvJYpDqD2JAdn5T9W2Zy/qUPsNMLakfPm+BFxCvGPDX82T AnJ6yTfzKPv0tWhzUm3pxA9gTGZNSn0uNWKW7mvGGiXLvQ02o+oOfqboKYixaIbx9Ccw diQXKS1gD9FpXmP7JYQzy/BH55/E8kj9rCdod9HM7jRScczZVcv4zk6WrHyzToxFBEGq R39w== X-Gm-Message-State: AA6/9RmTvfGgLnAaZy6RQE5mfmT5WXx4YowUT0CeLt8RifVx3VrmxByrIs+1P87/fx8h2lDN X-Received: by 10.25.196.193 with SMTP id u184mr13371428lff.32.1476710695435; Mon, 17 Oct 2016 06:24:55 -0700 (PDT) Received: from beaming.home (91-157-170-157.elisa-laajakaista.fi. [91.157.170.157]) by smtp.gmail.com with ESMTPSA id y81sm7782857lff.29.2016.10.17.06.24.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 17 Oct 2016 06:24:54 -0700 (PDT) From: riku.voipio@linaro.org To: qemu-devel@nongnu.org Date: Mon, 17 Oct 2016 16:24:28 +0300 Message-Id: X-Mailer: git-send-email 2.1.4 In-Reply-To: References: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c07::22f Subject: [Qemu-devel] [PULL 10/22] linux-user: add RTA_PRIORITY in netlink X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Peter Maydell , Laurent Vivier Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" X-Virus-Scanned: ClamAV using ClamSMTP From: Laurent Vivier Used by fedora21 on ppc64 in the network initialization Signed-off-by: Laurent Vivier Signed-off-by: Riku Voipio --- linux-user/syscall.c | 1 + 1 file changed, 1 insertion(+) 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);