summaryrefslogtreecommitdiff
path: root/include/linux/flex_array.h
diff options
context:
space:
mode:
authorAvinash Patil <patila@marvell.com>2013-03-05 04:27:56 +0400
committerJohn W. Linville <linville@tuxdriver.com>2013-03-07 01:29:11 +0400
commitf553e1aad797540afddd1a99753a348e1c426ffe (patch)
tree8d84d1298269c759ec7cd2686c5faccd903b6ce1 /include/linux/flex_array.h
parent9931078e36bd2caa3d5364cab31a893d50a8b5de (diff)
downloadlinux-f553e1aad797540afddd1a99753a348e1c426ffe.tar.xz
mwifiex: modify skb->truesize for PCIE Rx
We allocate SKB buffers of 4K size to make sure that we process RX AMSDU of 4K. So when skb->len is lesser than 4K; we should modify skb->truesize. This resolves an issue where kernel has allocated packets with 2K assumption and starts dropping packets for large size data transfer. This fix is already present for USB; extend it to PCIE. Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: Bing Zhao <bzhao@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'include/linux/flex_array.h')
0 files changed, 0 insertions, 0 deletions