| To: | Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] fixing the cases where tcp_tw_bucket was accessed as a sock |
| From: | "David S. Miller" <davem@xxxxxxxxxx> |
| Date: | Mon, 13 Oct 2003 12:49:30 -0700 |
| Cc: | netdev@xxxxxxxxxxx |
| In-reply-to: | <20031012131344.GH16182@conectiva.com.br> |
| References: | <20031012131344.GH16182@conectiva.com.br> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Sun, 12 Oct 2003 10:13:44 -0300 Arnaldo Carvalho de Melo <acme@xxxxxxxxxxxxxxxx> wrote: > The WARN_ON is just to be paranoid for a while, I should have done > that a loooong time ago :-\ I appreciate the intentions here but the resulting code is really a mess. We have this thing now in in.h called "inet_something()" that tests TCP state, and then we have something similar for ipv6 in addrconf.c :-) Let's do one thing at a time. First, fix the original bug in tcp_ipv4.c by just putting your inet_rcv_saddr() shorthand right there in tcp_ipv4.c and name it tcp4_rcv_saddr() or something like that. Then we can move onto the rest of the changes and try to find a common place for the helper routines. See what happens when you try to do too many things at one time :-) |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Tigon3 5701 PCI-X recv performance problem, John Partridge |
|---|---|
| Next by Date: | Re: Tigon3 5701 PCI-X recv performance problem, David S. Miller |
| Previous by Thread: | [PATCH] fixing the cases where tcp_tw_bucket was accessed as a sock, Arnaldo Carvalho de Melo |
| Next by Thread: | Re: [PATCH] fixing the cases where tcp_tw_bucket was accessed as a sock, Arnaldo Carvalho de Melo |
| Indexes: | [Date] [Thread] [Top] [All Lists] |