Re: [BUG] pksb_expand_header

2005-08-31 Thread David S. Miller
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; > >

Re: [BUG] pksb_expand_header

2005-08-31 Thread Patrick McHardy
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 n

[BUG] pksb_expand_header

2005-08-31 Thread Qasim Javed
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. regards, Qasim Javed - To