dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/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