From: Emil Goode Date: Mon, 31 Mar 2014 15:41:32 +0000 (+0200) Subject: net: asix: handle packets crossing URB boundaries X-Git-Tag: v3.2.57~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbc321cec0e7dee2b06c86026b73c1562dc32c39;p=pandora-kernel.git net: asix: handle packets crossing URB boundaries commit 8b5b6f5413e97c3e8bafcdd67553d508f4f698cd upstream. ASIX AX88772B started to pack data even more tightly. Packets and the ASIX packet header may now cross URB boundaries. To handle this we have to introduce some state between individual calls to asix_rx_fixup(). Signed-off-by: Lucas Stach Signed-off-by: David S. Miller [ Emil: backported to 3.2: - dropped changes to drivers/net/usb/ax88172a.c - Introduced some static function declarations as the functions are not used outside of asix.c (sparse is complaining about it) ] Signed-off-by: Emil Goode Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed