From: Ming Lei Date: Mon, 23 Sep 2013 12:59:35 +0000 (+0800) Subject: USBNET: fix handling padding packet X-Git-Tag: v3.12-rc4~30^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60e453a940ac678565b6641d65f8c18541bb9f28;p=pandora-kernel.git USBNET: fix handling padding packet 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 Acked-by: Oliver Neukum Signed-off-by: Ming Lei Signed-off-by: David S. Miller --- Reading git-diff-tree failed