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>
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>