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

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

 



The following patches apply to the 3.4.82 stable kernel.
In combination with the below patch (already added to the
3.4 stable-qeueu tree) 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:
- Changes to drivers/net/usb/ax88172a.c was dropped since this
  file is not available in the 3.4.82 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

--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




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