]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vmxnet3: fix skb truesize underestimation
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 13 Oct 2011 11:38:17 +0000 (11:38 +0000)
committerGuangyu Sun <guangyu.sun@oracle.com>
Thu, 15 Nov 2012 19:49:01 +0000 (11:49 -0800)
commit1cc09b1da567669c828860e4d497bf88f568ad37
tree40a2d44b4e046424a5c61aa961e0fa01149d1421
parent9387814412b9766d8e3952781ed4a82756550952
vmxnet3: fix skb truesize underestimation

commit 5e6c355c47e75314fd2282d087616069d4093ecf upstream

vmxnet3 allocates a page per skb fragment. We must account
PAGE_SIZE increments on skb->truesize, not the actual frag length.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Shreyas Bhatewara <sbhatewara@vmware.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Guangyu Sun <guangyu.sun@oracle.com>
drivers/net/vmxnet3/vmxnet3_drv.c