]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6fc19794e2aa81c11cf9c60b3b29cebc72c71eb0
treed654c4973917e2b82263a5e4afb49ba0cada4fde
parent014487f94b0ea5b5c87dadad0d7d75e9719e5684
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