2002-10-30 04:01:31

by Morten Helgesen

[permalink] [raw]
Subject: [PATCH 2.5.45 - net/ipv4/syncookies.c] "structure has no member named `window'"

Hey,

the one-liner below is needed to compile 2.5.45.

please apply.

== Morten

--

"Livet er ikke for nybegynnere" - sitat fra en klok person.

mvh
Morten Helgesen
UNIX System Administrator & C Developer
Nextframe AS
[email protected] / 93445641
http://www.nextframe.net


--- clean-linux-2.5.45/net/ipv4/syncookies.c Wed Oct 30 02:28:17 2002
+++ patched-linux-2.5.45/net/ipv4/syncookies.c Wed Oct 30 05:14:08 2002
@@ -189,7 +189,7 @@
}

/* Try to redo what tcp_v4_send_synack did. */
- req->window_clamp = rt->u.dst.window;
+ req->window_clamp = dst_metric(&rt->u.dst, RTAX_WINDOW);
tcp_select_initial_window(tcp_full_space(sk), req->mss,
&req->rcv_wnd, &req->window_clamp,
0, &rcv_wscale);