Re: [PATCH 0/3] ASIX packet handling fixes [3.2 backports]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2014-03-31 at 17:41 +0200, Emil Goode wrote:
> The following patches apply to the 3.2.55 stable kernel.
> In combination with the below patch (already added to 
> 3.2.56-rc1) they fix bugs related to packet handling for
> devices using the asix module.
> 
> commit: eb85569fe2d06c2fbf4de7b66c263ca095b397aa
> ("usbnet: remove generic hard_header_len check")
> 
> Some notes about changes in the backports:
> 
> Patch 1/3:
> - Resolved a small conflict that happened because the following
>   backported commit was added to the 3.2.19 kernel.
> 
> commit a466c7f9d6e61fb19c2d49f82007a0700724a1e3
> ("asix: allow full size 8021Q frames to be received")
> 
> Patch 2/3:
> - Changes to drivers/net/usb/ax88172a.c was dropped since this
>   file is not available in the 3.2.55 kernel.
> - Introduces some static function declarations as the functions
>   are not used outside of asix.c (sparse is complaining about it)

Good, that all makes sense.

> - Moves a FLAG_MULTI_PACKET flag to the next line in order to be
>   consistent with patch 3/3.
> - Drops a NULL check since kfree has it's own check for this.

I undid this cleanup as it is an unnecessary deviation from the upstream
version.

> These patches have been tested on a ax88772b device.

Thanks, I've queued these all up for 3.2.

Ben.

> Emil Goode (2):
>   net: asix: handle packets crossing URB boundaries
>   net: asix: add missing flag to struct driver_info
> 
> Eric Dumazet (1):
>   asix: asix_rx_fixup surgery to reduce skb truesizes
> 
>  drivers/net/usb/asix.c |  176 +++++++++++++++++++++++++++---------------------
>  1 file changed, 99 insertions(+), 77 deletions(-)
> 

-- 
Ben Hutchings
I say we take off; nuke the site from orbit.  It's the only way to be sure.

Attachment: signature.asc
Description: This is a digitally signed message part


[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]