android_kernel_xiaomi_sm8350/drivers/net/benet
Ajit Khaparde bd46cb6cf1 be2net: Fix to avoid a crash seen on PPC with LRO and Jumbo frames.
While testing the driver on PPC, we ran into a crash with LRO, Jumbo frames.
With CONFIG_PPC_64K_PAGES configured (a default in PPC), MAX_SKB_FRAGS drops to 3 and we were crossing the array limits on skb_shinfo(skb)->frags[].
Now we coalesce the frags from the same physical page into one slot in
skb_shinfo(skb)->frags[] and go to the next index when the frag is from

different physical page.

This patch is against the net-2.6 tree.

Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-06-28 17:34:25 -07:00
..
be_cmds.c be2net: receive asynchronous link status notifications from BE 2009-06-19 00:18:42 -07:00
be_cmds.h be2net: receive asynchronous link status notifications from BE 2009-06-19 00:18:42 -07:00
be_ethtool.c be2net: Fix to avoid a crash seen on PPC with LRO and Jumbo frames. 2009-06-28 17:34:25 -07:00
be_hw.h be2net: Add MCC queue mechanism for BE cmds 2009-06-19 00:18:39 -07:00
be_main.c be2net: Fix to avoid a crash seen on PPC with LRO and Jumbo frames. 2009-06-28 17:34:25 -07:00
be.h be2net: Fix to avoid a crash seen on PPC with LRO and Jumbo frames. 2009-06-28 17:34:25 -07:00
Kconfig
Makefile