android_kernel_google_msm/drivers/net
Eric Holmberg 32441d193d rmnet_smux: Fix duplicate packet send
If the high watermark is exceeded, then msm_smux_write() will return
-EAGAIN and then rmnet_xmit() will return NETDEV_TX_BUSY to have the
TCP/IP stack reschedule the packet.  In the case where the high
watermark is hit, but not exceeded, then the function improperly returns
NETDEV_TX_BUSY resulting in the packet being sent a second time.  Since
the packets are deleted in the write-done notification, the second
transmit will result in either an access-after-delete or a double-delete
crash.

Remove check for high-water mark hit in the transmit function since it
is handled by a high-watermark event from SMUX already.

CRs-Fixed: 403691
Change-Id: Iadf3ac249d3fb8ccb378fc243415acbbfc3a1ff1
Signed-off-by: Eric Holmberg <eholmber@codeaurora.org>
2013-03-07 15:25:26 -08:00
..
appletalk
arcnet arcnet: rimi: Fix device name in debug output 2012-04-17 22:22:43 -04:00
bonding bonding: Fix LACPDU rx_dropped commit. 2012-05-13 15:45:13 -04:00
caif
can
cris
dsa
ethernet rmnet_smux: Fix duplicate packet send 2013-03-07 15:25:26 -08:00
fddi
hamradio
hippi
hyperv net/hyperv: Adding cancellation to ensure rndis filter is closed 2012-04-21 15:38:10 -04:00
irda
phy icplus: fix interrupt for IC+ 101A/G and 1001LF 2012-04-19 15:34:18 -04:00
plip
ppp ppp: replace PPP_MTU with PPP_MRU 2013-01-10 11:12:10 -08:00
slip
team
tokenring
usb net: usb: Define waitqueue head as static global variable 2013-03-07 15:17:49 -08:00
vmxnet3
wan drivers/net/wan/farsync.c: add missing iounmap 2012-04-17 22:31:59 -04:00
wimax
wireless WLAN: WCN1314: Fixed kernel panic during unloading WLAN driver 2013-03-07 15:19:22 -08:00
xen-netback
dummy.c
eql.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macvlan.c Revert "net: maintain namespace isolation between vlan and real device" 2012-05-10 23:03:34 -04:00
macvtap.c macvtap: restore vlan header on user read 2012-05-11 18:16:57 -04:00
Makefile
mdio.c
mii.c
netconsole.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tun.c
veth.c
virtio_net.c virtio: Decouple virtqueues and vrings 2013-02-27 18:18:30 -08:00
xen-netfront.c