This repository has been archived on 2026-03-14. You can view files and clone it, but cannot push or open issues or pull requests.
Files
ubports_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
..
2013-01-10 11:12:10 -08:00
2012-04-16 23:56:36 -04:00
2012-03-27 22:45:26 -04:00
2012-02-01 16:49:50 +01:00