linux/drivers/net/ethernet/faraday
Eric Dumazet 96cd895168 ftmac100: fix skb truesize underestimation
ftmac100 allocates a page per skb fragment. We must account
PAGE_SIZE increments on skb->truesize, not the actual frag length.

If frame is under 64 bytes, page is freed, so increase truesize only for
bigger frames.

Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
CC: Po-Yu Chuang <ratbert@faraday-tech.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-10-13 22:28:29 -04:00
..
Kconfig MII: fix Kconfig dependencies for MII 2011-09-15 15:49:08 -04:00
Makefile ftgmac100/ftmac100: Move the Faraday drivers 2011-08-11 16:29:35 -07:00
ftgmac100.c ftgmac100: fix skb truesize underestimation 2011-10-13 22:25:20 -04:00
ftgmac100.h ftgmac100/ftmac100: Move the Faraday drivers 2011-08-11 16:29:35 -07:00
ftmac100.c ftmac100: fix skb truesize underestimation 2011-10-13 22:28:29 -04:00
ftmac100.h ftgmac100/ftmac100: Move the Faraday drivers 2011-08-11 16:29:35 -07:00