netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net v3 0/2] net: ethoc: Error path and transmit fixes
@ 2016-07-12 23:04 Florian Fainelli
  2016-07-12 23:04 ` [PATCH net v3 1/2] net: ethoc: Fix early error paths Florian Fainelli
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Florian Fainelli @ 2016-07-12 23:04 UTC (permalink / raw)
  To: netdev
  Cc: davem, jcmvbkbc, colin.king, tklauser, thierry.reding, andrew,
	Florian Fainelli

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2016-07-13  6:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-12 23:04 [PATCH net v3 0/2] net: ethoc: Error path and transmit fixes Florian Fainelli
2016-07-12 23:04 ` [PATCH net v3 1/2] net: ethoc: Fix early error paths Florian Fainelli
2016-07-12 23:04 ` [PATCH net v3 2/2] net: ethoc: Correctly pad short packets Florian Fainelli
2016-07-13  6:13 ` [PATCH net v3 0/2] net: ethoc: Error path and transmit fixes David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).