]> git.baikalelectronics.ru Git - kernel.git/commit
vmxnet3: fix skb truesize underestimation
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 13 Oct 2011 11:38:17 +0000 (11:38 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Oct 2011 02:25:21 +0000 (22:25 -0400)
commita3c1c33bf8c341a6273f6b5a5b617ddd99aefd6d
tree3d7942a388e8493b1dc5aaa685add4bb09f6b97e
parentc791b604bed8c576b0dd7465078218d19659c377
vmxnet3: fix skb truesize underestimation

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>
drivers/net/vmxnet3/vmxnet3_drv.c