[PATCH 0/2] ASIX packet handling fixes [3.5 backports]

Luís Henriques luis.henriques at canonical.com
Thu Feb 27 10:26:42 UTC 2014


On Thu, Feb 27, 2014 at 03:44:19AM +0100, Emil Goode wrote:
> 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
> 

Thanks a lot for your help, Emil.  The backport seems to be Ok (and your
notes helped on the review ;-) ).  So, I'll queue it for the next 3.5
kernel release.

(Oh, and thank you for the testing as well!)

Cheers,
--
Luís




More information about the kernel-team mailing list