Skip to contentSkip to conversation

"structure has no member named `window'"

PATCH New Morten Helgesen 1 participant 1 message Oct 30, 2002

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 "structure has no member named `window'"

Hey,

the one-liner below is needed to compile 2.5.45.

please apply.

== Morten

Signature · 21 lines
"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);