| To: | Ingo Molnar <mingo@xxxxxxx> |
|---|---|
| Subject: | Re: [patch] clean up tcp_sk(), 2.6.0 |
| From: | Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx> |
| Date: | Tue, 30 Dec 2003 14:57:52 -0200 |
| Cc: | "David S. Miller" <davem@xxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <20031230163230.GA12553@elte.hu> |
| Mail-followup-to: | Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx>, Ingo Molnar <mingo@xxxxxxx>, "David S. Miller" <davem@xxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, netdev@xxxxxxxxxxx |
| Organization: | Conectiva S.A. |
| References: | <20031230163230.GA12553@elte.hu> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.5.1i |
Em Tue, Dec 30, 2003 at 05:32:30PM +0100, Ingo Molnar escreveu: > > 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. Don't have a problem, but then it'd be nice to do this for udp_sk, raw_sk, etc, etc :) - Arnaldo |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: major bonding bug?, Amir Noam |
|---|---|
| Next by Date: | Re: [patch] clean up tcp_sk(), 2.6.0, YOSHIFUJI Hideaki / 吉藤英明 |
| Previous by Thread: | [patch] clean up tcp_sk(), 2.6.0, Ingo Molnar |
| Next by Thread: | Re: [patch] clean up tcp_sk(), 2.6.0, YOSHIFUJI Hideaki / 吉藤英明 |
| Indexes: | [Date] [Thread] [Top] [All Lists] |