linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* include/linux/skbuff.h Typo
@ 2003-11-28  2:26 Peter Lieverdink
  2003-11-28  2:47 ` Arnaldo Carvalho de Melo
  0 siblings, 1 reply; 2+ messages in thread
From: Peter Lieverdink @ 2003-11-28  2:26 UTC (permalink / raw)
  To: linux-kernel

Compiling 2.6.0-test11 (PPC) errors out on line 844 of skbuff.h. I'm 
guessing the following patch makes it do what it should.

- Peter.


--- linux-2.6.0-test11/include/linux/skbuff_orig.h      2003-11-28 
13:22:47.892405000 +1100
+++ linux-2.6.0-test11/include/linux/skbuff.h   2003-11-28 
13:20:02.142405000 +1100
@@ -841,7 +841,7 @@
         SKB_LINEAR_ASSERT(skb);
         skb->tail += len;
         skb->len  += len;
-       if (unlikely(skb=>tail>skb->end))
+       if (unlikely(skb->tail > skb->end))
                 skb_over_panic(skb, len, current_text_addr());
         return tmp;
  }


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: include/linux/skbuff.h Typo
  2003-11-28  2:26 include/linux/skbuff.h Typo Peter Lieverdink
@ 2003-11-28  2:47 ` Arnaldo Carvalho de Melo
  0 siblings, 0 replies; 2+ messages in thread
From: Arnaldo Carvalho de Melo @ 2003-11-28  2:47 UTC (permalink / raw)
  To: Peter Lieverdink; +Cc: linux-kernel

Em Fri, Nov 28, 2003 at 01:26:17PM +1100, Peter Lieverdink escreveu:
> Compiling 2.6.0-test11 (PPC) errors out on line 844 of skbuff.h. I'm 
> guessing the following patch makes it do what it should.
> 
> - Peter.
> 
> 
> --- linux-2.6.0-test11/include/linux/skbuff_orig.h      2003-11-28 
> 13:22:47.892405000 +1100
> +++ linux-2.6.0-test11/include/linux/skbuff.h   2003-11-28 
> 13:20:02.142405000 +1100
> @@ -841,7 +841,7 @@
>         SKB_LINEAR_ASSERT(skb);
>         skb->tail += len;
>         skb->len  += len;
> -       if (unlikely(skb=>tail>skb->end))
> +       if (unlikely(skb->tail > skb->end))
>                 skb_over_panic(skb, len, current_text_addr());
>         return tmp;

Sure thing, but what tree is this one you are using? I checked 2.6.0-test11
and there is no => thinko there...

- Arnaldo

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-11-28  2:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-28  2:26 include/linux/skbuff.h Typo Peter Lieverdink
2003-11-28  2:47 ` Arnaldo Carvalho de Melo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).