[PATCH 0/2] ASIX packet handling fixes [3.5 backports]
Emil Goode
emilgoode at gmail.com
Thu Feb 27 02:44:19 UTC 2014
The following patches apply to the linux-3.5.y-queue branch of the
ubuntu kernel. In combination with the below patch they fix bugs
related to packet handling for devices using the asix module.
commit: af183b6b0e06a6238c257167aec3ed4f18d78fc5
("usbnet: remove generic hard_header_len check")
Some notes about changes in the backports:
- Changes to drivers/net/usb/ax88172a.c was dropped since this
file is not available in the 3.5.y kernel.
- Introduces some static function declarations as the functions
are not used outside of asix.c (sparse is complaining about it)
- Moves a FLAG_MULTI_PACKET flag to the next line in order to be
consistent with patch 2/2.
- Drops a NULL check since kfree has it's own check for this.
These patches have been tested on a ax88772b device.
Emil Goode (2):
net: asix: handle packets crossing URB boundaries
net: asix: add missing flag to struct driver_info
drivers/net/usb/asix.c | 128 +++++++++++++++++++++++++++++++++++++-----------
1 file changed, 99 insertions(+), 29 deletions(-)
--
1.7.10.4
More information about the kernel-team
mailing list