From: Manish Chopra Date: Tue, 15 Mar 2016 11:13:45 +0000 (-0400) Subject: qlge: Fix receive packets drop. X-Git-Tag: v3.2.80~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eccb4a6e115459ae3063eb67f0e44e9ac53dc1c2;p=pandora-kernel.git qlge: Fix receive packets drop. [ Upstream commit 2c9a266afefe137bff06bbe0fc48b4d3b3cb348c ] When running small packets [length < 256 bytes] traffic, packets were being dropped due to invalid data in those packets which were delivered by the driver upto the stack. Using pci_dma_sync_single_for_cpu ensures copying latest and updated data into skb from the receive buffer. Signed-off-by: Sony Chacko Signed-off-by: Manish Chopra Signed-off-by: David S. Miller Signed-off-by: Ben Hutchings --- Reading git-diff-tree failed