android_kernel_msm-6.1_noth.../drivers/net
Eric Dumazet b8fbaef586 wimax/i2400m: fix erroneous NETDEV_TX_BUSY use
A driver start_xmit() method cannot free skb and return NETDEV_TX_BUSY,
since caller is going to reuse freed skb.

In fact netif_tx_stop_queue() / netif_stop_queue() is needed before
returning NETDEV_TX_BUSY or you can trigger a ksoftirqd fatal loop.

In case of memory allocation error, only safe way is to drop the packet
and return NETDEV_TX_OK

Also increments tx_dropped counter

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Cc: Inaky Perez-Gonzalez <inaky.perez-gonzalez@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2012-03-16 02:01:41 -07:00
..
appletalk
arcnet
bonding
caif caif-hsi: Set default MTU to 4096 2012-03-06 16:27:45 -05:00
can
cris
dsa
ethernet bnx2x: fix memory leak in bnx2x_init_firmware() 2012-03-16 01:57:26 -07:00
fddi
hamradio
hippi
hyperv net/hyperv: fix erroneous NETDEV_TX_BUSY use 2012-03-16 02:01:17 -07:00
irda
phy
plip
ppp
slip
team
tokenring
usb net/usbnet: reserve headroom on rx skbs 2012-03-16 02:01:05 -07:00
vmxnet3 vmxnet3: Fix transport header size 2012-03-01 22:09:41 -05:00
wan
wimax wimax/i2400m: fix erroneous NETDEV_TX_BUSY use 2012-03-16 02:01:41 -07:00
wireless rt2x00: fix random stalls 2012-03-12 14:00:17 -04:00
xen-netback
dummy.c
eql.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macvlan.c
macvtap.c
Makefile
mdio.c
mii.c
netconsole.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tun.c tun: don't hold network namespace by tun sockets 2012-03-12 17:14:00 -07:00
veth.c
virtio_net.c
xen-netfront.c