Re: [patch] clean up tcp_sk(), 2.6.0

From: David S. Miller
Date: Tue Dec 30 2003 - 17:55:40 EST


On Tue, 30 Dec 2003 17:32:30 +0100
Ingo Molnar <mingo@xxxxxxx> wrote:

> i recently wasted a few hours on a bug where i used "tcp_sk(sock)"
> instead of "tcp_sk(sock->sk)" - the former, while being blatantly
> incorrect, compiles just fine on 2.6.0. The patch below is equivalent to
> the define but is also type-safe. Compiles cleanly & boots fine on
> 2.6.0.

Applied, and I'll happily accept patches for udp_sk() and all
the other ones too :)
-
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/