WSL2-Linux-Kernel/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.c ftgmac100: fix skb truesize underestimation 2011-10-13 22:25:20 -04:00
ftgmac100.h
ftmac100.c ftmac100: fix skb truesize underestimation 2011-10-13 22:28:29 -04:00
ftmac100.h