Message ID | 20171023201055.21973-9-andrew.smirnov@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> 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 BDD06603D7 for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 23 Oct 2017 20:16:34 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B11312893E for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 23 Oct 2017 20:16:34 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id A602028946; Mon, 23 Oct 2017 20:16:34 +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_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, 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 35C242893E for <patchwork-qemu-devel@patchwork.kernel.org>; Mon, 23 Oct 2017 20:16:34 +0000 (UTC) Received: from localhost ([::1]:40398 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org>) id 1e6j9F-0003bH-Dt for patchwork-qemu-devel@patchwork.kernel.org; Mon, 23 Oct 2017 16:16:33 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:46219) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <andrew.smirnov@gmail.com>) id 1e6j4L-0000HE-AG for qemu-devel@nongnu.org; Mon, 23 Oct 2017 16:11:30 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <andrew.smirnov@gmail.com>) id 1e6j4K-0002Vz-EE for qemu-devel@nongnu.org; Mon, 23 Oct 2017 16:11:29 -0400 Received: from mail-pg0-x244.google.com ([2607:f8b0:400e:c05::244]:47826) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <andrew.smirnov@gmail.com>) id 1e6j4G-0002US-FI; Mon, 23 Oct 2017 16:11:24 -0400 Received: by mail-pg0-x244.google.com with SMTP id r25so12629985pgn.4; Mon, 23 Oct 2017 13:11:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=AXC+HkATDLeFYVG01o6Y11ZoKWqxGPN/yDzBAxHUdWE=; b=TUrt1l+2Xd8eWSBiC8ridoWy2S/oL9WQc5Wznkw8MBPushH0J3AR/mY5mQ7eIKNVyf qSK5vZsqgP3hmlR9bF6n0sY3UNeT+nKTNVeP3/1and0ncLhQ28GiVJgktq6mqSHf+Rlb 2D9gw1jMZ7L4rRR9t85BSAnoi7/s8DqRTZwXc1tmBC8oUIYhoQ61/bf98Yu1toz0GEYB LGf99Sc6f3QhdqLbrPQrORc5n13/+VzrVjB54Bi8/zcdj5p4VVM8VgVY0VbO81qW5C6I aYD3TV/wZZH274s/SxMVRO+xFHFLxmvWlixVNGBpSKKH6Xq7zxBkHHlnsgBjo+4XZbb1 o8Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=AXC+HkATDLeFYVG01o6Y11ZoKWqxGPN/yDzBAxHUdWE=; b=Qav5a1gDc5rD8Zia1+YMF1KxPt/dVuedwvc4YYC9uB1EgbRU52rXxciZbe7Yj7batL 71zlQ/MKAE9dJNL+AOe37uGqwd1OL+ydnuiTtLbT8xsjDAl5cceC73VQcylPnJE3bjZu ik7Rzbrl4USGzY2t2Hdw7XgnTX1cNlmssYQFWSW5pJEAzjwIAIPBt2guuic9DZu+cfjm o5I2Gd9CeLckMTswvPDgoYoI6G04K6+7+Fi9AWAMFxpgFWxjU1PGT9J8cCBkrefnFyH6 BnaKzwCwGVebaM6xJgcHh41PMTluvuftxie3EpNvPnsxzyXD2UpatJdaElezCAGfOA5C oYvA== X-Gm-Message-State: AMCzsaU7L7ZtE7tVnONfec19ZqXbqLD0bhy+VjLfwnMEQbyJzJU5o5Kw AA3zRseThhaJXiE2xH8apgLpcmTI X-Google-Smtp-Source: ABhQp+RMnbU1FuJ/6lu4POqA+ymBSdxF38k+HRFygaThSpAHwz/C3dIk0t2phfy86GU30Qs8lHJCXA== X-Received: by 10.98.74.93 with SMTP id x90mr14075063pfa.177.1508789483339; Mon, 23 Oct 2017 13:11:23 -0700 (PDT) Received: from squirtle.westlake.spaceflightindustries.com ([173.226.206.194]) by smtp.gmail.com with ESMTPSA id j1sm15181623pfj.108.2017.10.23.13.11.22 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 23 Oct 2017 13:11:22 -0700 (PDT) From: Andrey Smirnov <andrew.smirnov@gmail.com> To: qemu-arm@nongnu.org Date: Mon, 23 Oct 2017 13:10:36 -0700 Message-Id: <20171023201055.21973-9-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.13.5 In-Reply-To: <20171023201055.21973-1-andrew.smirnov@gmail.com> References: <20171023201055.21973-1-andrew.smirnov@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400e:c05::244 Subject: [Qemu-devel] [PATCH v2 08/27] imx_fec: Use correct length for packet size X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: <qemu-devel.nongnu.org> List-Unsubscribe: <https://lists.nongnu.org/mailman/options/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=unsubscribe> List-Archive: <http://lists.nongnu.org/archive/html/qemu-devel/> List-Post: <mailto:qemu-devel@nongnu.org> List-Help: <mailto:qemu-devel-request@nongnu.org?subject=help> List-Subscribe: <https://lists.nongnu.org/mailman/listinfo/qemu-devel>, <mailto:qemu-devel-request@nongnu.org?subject=subscribe> Cc: Peter Maydell <peter.maydell@linaro.org>, Andrey Smirnov <andrew.smirnov@gmail.com>, Jason Wang <jasowang@redhat.com>, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= <f4bug@amsat.org>, qemu-devel@nongnu.org, yurovsky@gmail.com Errors-To: qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org Sender: "Qemu-devel" <qemu-devel-bounces+patchwork-qemu-devel=patchwork.kernel.org@nongnu.org> X-Virus-Scanned: ClamAV using ClamSMTP |
diff --git a/hw/net/imx_fec.c b/hw/net/imx_fec.c index 38d8c27dcd..eefb3b2c62 100644 --- a/hw/net/imx_fec.c +++ b/hw/net/imx_fec.c @@ -528,7 +528,7 @@ static void imx_enet_do_tx(IMXFECState *s, uint32_t index) } } /* Last buffer in frame. */ - qemu_send_packet(qemu_get_queue(s->nic), frame, len); + qemu_send_packet(qemu_get_queue(s->nic), frame, frame_size); ptr = frame; frame_size = 0; if (bd.option & ENET_BD_TX_INT) {