Commit Graph

3 Commits

Author SHA1 Message Date
Jeff Hugo
d2e2c49df2 msm: rmnet: reschedule read tasklet in low memory conditions
If the read tasklet is unable to allocate a skb due to low memory
conditions, reschedule the tasklet to retry at some point in the future.

CRs-Fixed: 295596
Signed-off-by: Jeffrey Hugo <jhugo@codeaurora.org>
2011-10-03 16:15:21 -07:00
Abhijeet Dharmapurikar
5eeca528c7 rmnet: Accept packets larger than MTU
The initial Android RmNET device driver had a validation filter on
receive packets to ensure size did not exceed link MTU (1514
originally).  This assumed the link was symmetrical, such that
maximum transmit and receive transmission unit (MTU/MRU) were the
same. Over time, the symmetrical link assumption has been proven
incorrect, leading to cases where valid packets are dropped.

Remove the RX packet size validation filter such that packets
larger then configured MTU will be passed up the data stack.  This
strategy change is permitted under the kernel documentation.
Reference: kernel/Documentation/networking/netdevices.txt

CRs-Fixed: 290151
Signed-off-by: Abhijeet Dharmapurikar <adharmap@codeaurora.org>
Acked-by: Andrew Richardson <randrew@qualcomm.com>
2011-10-03 10:27:12 -07:00
Bryan Huntsman
3f2bc4d6eb Initial Contribution
msm-2.6.38: tag AU_LINUX_ANDROID_GINGERBREAD.02.03.04.00.142

Signed-off-by: Bryan Huntsman <bryanh@codeaurora.org>
2011-10-03 09:57:10 -07:00