[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090922.141945.211402736.davem@davemloft.net>
Date: Tue, 22 Sep 2009 14:19:45 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: steve.glendinning@...c.com
Cc: netdev@...r.kernel.org, ian.saturley@...c.com,
vlad.lyalikov@...c.com
Subject: Re: [PATCH] smsc95xx: fix transmission where ZLP is expected
From: Steve Glendinning <steve.glendinning@...c.com>
Date: Tue, 22 Sep 2009 15:00:27 +0100
> Usbnet framework assumes USB hardware doesn't handle zero length
> packets, but SMSC LAN95xx requires these to be sent for correct
> operation.
>
> This patch fixes an easily reproducible tx lockup when sending a frame
> that results in exactly 512 bytes in a USB transmission (e.g. a UDP
> frame with 458 data bytes, due to IP headers and our USB headers). It
> adds an extra flag to usbnet for the hardware driver to indicate that
> it can handle and requires the zero length packets.
>
> This patch should not affect other usbnet users, please also consider
> for -stable.
>
> Signed-off-by: Steve Glendinning <steve.glendinning@...c.com>
Applied, thanks.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists