From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Fainelli Subject: [PATCH net v3 0/2] net: ethoc: Error path and transmit fixes Date: Tue, 12 Jul 2016 16:04:34 -0700 Message-ID: <1468364676-19242-1-git-send-email-f.fainelli@gmail.com> Cc: davem@davemloft.net, jcmvbkbc@gmail.com, colin.king@canonical.com, tklauser@distanz.ch, thierry.reding@gmail.com, andrew@lunn.ch, Florian Fainelli To: netdev@vger.kernel.org Return-path: Received: from mail-pa0-f65.google.com ([209.85.220.65]:35411 "EHLO mail-pa0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752063AbcGLXFK (ORCPT ); Tue, 12 Jul 2016 19:05:10 -0400 Received: by mail-pa0-f65.google.com with SMTP id dx3so1867232pab.2 for ; Tue, 12 Jul 2016 16:05:04 -0700 (PDT) Sender: netdev-owner@vger.kernel.org List-ID: Hi all, This patch series contains two patches for the ethoc driver while testing on a TS-7300 board where ethoc is provided by an on-board FPGA. First patch was cooked after chasing crashes with invalid resources passed to the driver. Second patch was cooked after seeing that an interface configured with IP 192.168.2.2 was sending ARP packets for 192.168.0.0, no wonder why it could not work. I don't have access to any other platform using an ethoc interface so it could be good to some testing on Xtensa for instance. Changes in v3: - corrected the error path if skb_put_padto() fails, thanks to Max for spotting this! Changes in v2: - fixed the first commit message Florian Fainelli (2): net: ethoc: Fix early error paths net: ethoc: Correctly pad short packets drivers/net/ethernet/ethoc.c | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) -- 2.7.4