include/linux/skbuff.h Typo

From: Peter Lieverdink
Date: Thu Nov 27 2003 - 21:29:47 EST


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;
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/