On Thu, Dec 14, 2006 at 03:07:06PM +0000, Gerrit Renker wrote:
> diff --git a/include/net/tcp.h b/include/net/tcp.h
> index c99774f..b7d8317 100644
> --- a/include/net/tcp.h
> +++ b/include/net/tcp.h
> @@ -242,14 +242,9 @@ extern int tcp_memory_pressure;
>
> static inline int before(__u32 seq1, __u32 seq2)
> {
> - return (__s32)(seq1-seq2) < 0;
> + return (__s32)(seq2-seq1) > 0;
> }
> -
> -static inline int after(__u32 seq1, __u32 seq2)
> -{
> - return (__s32)(seq2-seq1) < 0;
> -}
> -
> +#define after(seq2, seq1) before(seq1, seq2)
Btw, these macfox/inlines are named quite a bit too generic for
something that is in tcp.h
-
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