]> www.infradead.org Git - users/jedix/linux-maple.git/commit
bnx2: fix skb truesize underestimation
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 13 Oct 2011 07:50:19 +0000 (07:50 +0000)
committerJoe Jin <joe.jin@oracle.com>
Wed, 16 May 2012 05:55:56 +0000 (13:55 +0800)
commitf7d6edf72e71c395d20aef0e396c1ac5d6e795f8
tree8b6719fda2bc27e6a6d71be77eb44b35d781c40d
parentf4374a943c4043cec544e4ab5818cfdaaf473275
bnx2: fix skb truesize underestimation

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

(cherry picked from commit a1f4e8bcbccf50cf1894c263af4d677d4f566533)
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/bnx2.c