freebsd-src/sys/mips/atheros
Adrian Chadd ef54d27641 Address PR kern/148307 - fix if_ath TX mbuf alignment/size constraint checks
The existing code only checked the alignment of the first mbuf and
didn't enforce the size constraints.

This commit introduces a simple function to check the alignment and
size of all mbufs in the list. This fixes the initial issue in the
PR.

PR: kern/148307
Reviewed by: gonzo@
2010-07-08 14:59:32 +00:00
..
apb.c - Add intr counters for APB interrupts 2009-11-18 22:53:05 +00:00
apbvar.h - Add intr counters for APB interrupts 2009-11-18 22:53:05 +00:00
ar71xx_bus_space_reversed.c - Handle byte-order issue for non-word accesses to memory mapped 2009-04-19 22:56:35 +00:00
ar71xx_bus_space_reversed.h - Handle byte-order issue for non-word accesses to memory mapped 2009-04-19 22:56:35 +00:00
ar71xx_ehci.c - include register definitions for respective controllers 2009-11-12 20:48:04 +00:00
ar71xx_machdep.c - Call post-boot fixup function in order to get proper static 2010-01-25 00:44:05 +00:00
ar71xx_ohci.c - include register definitions for respective controllers 2009-11-12 20:48:04 +00:00
ar71xx_pci.c - Increase timeouts to 100 milliseconds, 1 millisecond is definitely not 2010-01-28 21:55:56 +00:00
ar71xx_pci_bus_space.c - Add pci bus space that translates byte order to little endian, 2009-05-15 21:36:50 +00:00
ar71xx_pci_bus_space.h - Add pci bus space that translates byte order to little endian, 2009-05-15 21:36:50 +00:00
ar71xx_spi.c - Remove unnecessary register writes in activate_device 2010-01-21 00:15:59 +00:00
ar71xx_wdog.c Extend the AR71XX watchdog debugging and data. 2010-06-19 12:12:39 +00:00
ar71xxreg.h Fix the CS line definitions. These bits are for the CS2/CS1 lines 2010-07-07 15:05:44 +00:00
files.ar71xx - Add driver for PCF2123, SPI real time clock/calendar 2010-01-22 22:14:12 +00:00
if_arge.c Address PR kern/148307 - fix if_ath TX mbuf alignment/size constraint checks 2010-07-08 14:59:32 +00:00
if_argevar.h Introduce a sysctl block for if_arge and, for now, a blank debug sysctl 2010-07-08 14:34:15 +00:00
pcf2123_rtc.c - Add driver for PCF2123, SPI real time clock/calendar 2010-01-22 22:14:12 +00:00
pcf2123reg.h - Add driver for PCF2123, SPI real time clock/calendar 2010-01-22 22:14:12 +00:00
uart_bus_ar71xx.c - Move CPU/AHB frequency calculations to functions to 2009-07-09 20:11:26 +00:00
uart_cpu_ar71xx.c - Move CPU/AHB frequency calculations to functions to 2009-07-09 20:11:26 +00:00