Message ID | 20180102193622.27215-10-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 D69B06035E for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 2 Jan 2018 19:42:46 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C742B28E0D for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 2 Jan 2018 19:42:46 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC34528E1C; Tue, 2 Jan 2018 19:42:46 +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 4718128E0D for <patchwork-qemu-devel@patchwork.kernel.org>; Tue, 2 Jan 2018 19:42:46 +0000 (UTC) Received: from localhost ([::1]:52941 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 1eWSST-0008Vh-GX for patchwork-qemu-devel@patchwork.kernel.org; Tue, 02 Jan 2018 14:42:45 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:58742) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <andrew.smirnov@gmail.com>) id 1eWSMj-0003M8-Mc for qemu-devel@nongnu.org; Tue, 02 Jan 2018 14:36:50 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <andrew.smirnov@gmail.com>) id 1eWSMi-0000Qt-KA for qemu-devel@nongnu.org; Tue, 02 Jan 2018 14:36:49 -0500 Received: from mail-pl0-x243.google.com ([2607:f8b0:400e:c01::243]:41582) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from <andrew.smirnov@gmail.com>) id 1eWSMe-0000Nc-Of; Tue, 02 Jan 2018 14:36:44 -0500 Received: by mail-pl0-x243.google.com with SMTP id g2so29239178pli.8; Tue, 02 Jan 2018 11:36:44 -0800 (PST) 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=Ty+c/nHpZuV2ryMR9Vetge+TEO8E4qKSpfUH6xLUNk0=; b=ouKbJSanIZp+rZnPARz9MhkePvWj3DTiMEBO7MWbPceHK9/g1yQXolBc8MYJAMR5zP 9KNtD7XN7GLY+7MYAAiertR6fca8Aun30t0C1DavrJ1kdJcRlM64l8JMmRaBRigOUnxs kE+mJ6hG3zNkrdx0g7s36ZZeJW94P8iHX1KtdTkihvjKQaZDuu+jjaUtC+0sp598Iayb FazMsfCgw5n5ejPvnG/AQ/z2vskHu2DYC1MSSOiYMxuYP0/A/88U57ES6H+nVzdOJp5T HC99byAZ48ibzQcma2VwZiwkm1P3DzQhSx8LUkJuoJGF20cto6TsQn0AomEgjobM0TJC doaw== 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=Ty+c/nHpZuV2ryMR9Vetge+TEO8E4qKSpfUH6xLUNk0=; b=ksWWGoQj2gsHb+EKMKXupvWMlW8ztIXVShILq1/bqCVKL6Rh47yKxmB4wD39LQSRdg NUMByB60gXetJb10d1JauieGnP5xmb7LA+JVAfTwgAQLcIL8gNlHLApVW2p4AUoD2/YZ ug26dGBqNdHCx15nU7YwMOwEGr22nGt1num1+kBABDxVAn0HA7M1k5ycNOUtZOu2S3ZD 1XTcS9Y/w5Unn6WjfN2RDy7DfrrG1nPEt82kzZ96kaFGQ8n6LGEUBUUkgAr5Xu1I3Xva o22I9LH7jEtq2plAw0Z4sCAphtq1Ctbj8zoE8D26unREct2FZO78kNqqoycI1WPLFs4J 1cMw== X-Gm-Message-State: AKGB3mIeDjkjpB0pwEUe7LFpMvn9F6P/xI0sBJdF6HK8VVTcQwomLDi/ w2RwVjcN9vzA1yGoFyvqbOAuLmZjpr0= X-Google-Smtp-Source: ACJfBotFkxEz+BNfDysquzhbtK8bi3NSSWhST1ZDW+LtuQ/Nu7Abgcng8S3MpMvDbwsCy6tQ5otpBg== X-Received: by 10.159.194.204 with SMTP id u12mr46617608plz.191.1514921803592; Tue, 02 Jan 2018 11:36:43 -0800 (PST) Received: from squirtle.westlake.spaceflightindustries.com ([173.226.206.194]) by smtp.gmail.com with ESMTPSA id g9sm97905951pfk.0.2018.01.02.11.36.42 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 02 Jan 2018 11:36:42 -0800 (PST) From: Andrey Smirnov <andrew.smirnov@gmail.com> To: qemu-arm@nongnu.org Date: Tue, 2 Jan 2018 11:36:20 -0800 Message-Id: <20180102193622.27215-10-andrew.smirnov@gmail.com> X-Mailer: git-send-email 2.14.3 In-Reply-To: <20180102193622.27215-1-andrew.smirnov@gmail.com> References: <20180102193622.27215-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:c01::243 Subject: [Qemu-devel] [PATCH v3 09/11] 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 77d27f763e..6cb9e2e20e 100644 --- a/hw/net/imx_fec.c +++ b/hw/net/imx_fec.c @@ -556,7 +556,7 @@ static void imx_enet_do_tx(IMXFECState *s, uint32_t index) } /* Last buffer in frame. */ - qemu_send_packet(qemu_get_queue(s->nic), s->frame, len); + qemu_send_packet(qemu_get_queue(s->nic), s->frame, frame_size); ptr = s->frame; frame_size = 0;