From: Qasim Javed <[EMAIL PROTECTED]> Date: Wed, 31 Aug 2005 21:04:26 +0500
> I have encountered a bug in the pskb_expand_head procedure in > "net/core/skbuff.h". The following chunk is wrong i think. You mean "net/core/skbuff.c" > 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. Nope, this is completely legal, it's calculating the distance in bytes from the old buffer to the new buffer, so that the sk_buff pointers can be adjusted correctly. - 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