Qasim Javed wrote: > Hi, > > I have encountered a bug in the pskb_expand_head procedure in > "net/core/skbuff.h". The following chunk is wrong i think. > > skb_release_data(skb); > > off = (data+nhead) - skb->head; > > The data of skb is first released and then skb->head is used in the > very next statement.
Only the old address is used. It calculates the offset between the old and the new data area to adjust the pointers. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html