Re: [PATCH v1] USBNET: fix handling padding packet
From: David Miller <hidden>
Date: 2013-09-28 19:45:41
From: Ming Lei <redacted> Date: Mon, 23 Sep 2013 20:59:35 +0800
Commit 638c5115a7949(USBNET: support DMA SG) introduces DMA SG if the usb host controller is capable of building packet from discontinuous buffers, but missed handling padding packet when building DMA SG. This patch attachs the pre-allocated padding packet at the end of the sg list, so padding packet can be sent to device if drivers require that. Reported-by: David Laight <redacted> Acked-by: Oliver Neukum <redacted> Signed-off-by: Ming Lei <redacted>
Applied, thanks. I still think the suggestion to disable scatter gather for devices with the padding issue was the most sane approach to solve this. I guess people like supporting complicated crap and excess code for things that pretty much do not exist, or at best are not prominent enough to cater for at all. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html