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

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

 



The following patches apply to the 3.2.55 stable kernel.
They fix bugs related to packet handling for devices
using the asix module. These bugs cause droped packages
and the logs to be filled with error messages.

Some notes about changes in the backports:

Patch 1/3:
- Changes to drivers/net/usb/ax88172a.c was dropped since this
  file is not available in the 3.2.55 kernel.
- The original patch was included in the v3.8-rc3 mainline kernel
  where asix_rx_fixup() looks rather different. The diff doesn't
  closely resemble the original patch.
- 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.

Patch 3/3:
- Drops the changes to the following files that are not present
  in the 3.2.55 kernel:
  drivers/net/usb/ax88179_178a.c
  drivers/net/usb/qmi_wwan.c
  drivers/net/usb/sr9800.c

These patches have been tested on a ax88772b device.

Emil Goode (3):
  net: asix: handle packets crossing URB boundaries
  net: asix: add missing flag to struct driver_info
  usbnet: remove generic hard_header_len check

 drivers/net/usb/asix.c       |  178 ++++++++++++++++++++++++------------------
 drivers/net/usb/gl620a.c     |    4 +
 drivers/net/usb/mcs7830.c    |    5 +-
 drivers/net/usb/net1080.c    |    4 +
 drivers/net/usb/rndis_host.c |    4 +
 drivers/net/usb/smsc75xx.c   |    4 +
 drivers/net/usb/smsc95xx.c   |    4 +
 drivers/net/usb/usbnet.c     |   25 +++---
 8 files changed, 133 insertions(+), 95 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]