niu: fix skb truesize underestimation
authorEric Dumazet <eric.dumazet@gmail.com>
Thu, 13 Oct 2011 12:39:27 +0000 (12:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Oct 2011 02:25:21 +0000 (22:25 -0400)
commite7e5a4033f765e2a37095cd0a73261c99840f77e
treed654c4973917e2b82263a5e4afb49ba0cada4fde
parent5e6c355c47e75314fd2282d087616069d4093ecf
niu: fix skb truesize underestimation

Add a 'truesize' argument to niu_rx_skb_append(), filled with rcr_size
by the caller to properly account frag sizes in skb->truesize

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/sun/niu.c