Thread (2 messages) 2 messages, 2 authors, 2009-06-29

Re: [PATCH net-2.6] be2net: Fix to avoid a crash seen on PPC with LRO and Jumbo frames.

From: David Miller <davem@davemloft.net>
Date: 2009-06-29 00:34:55

From: Ajit Khaparde <redacted>
Date: Fri, 26 Jun 2009 18:21:07 +0530
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 <redacted>
This patch looks good, applied, thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help