From: "YOSHIFUJI Hideaki / 吉藤英明" <yoshfuji@linux-ipv6.org>
To: bryan@nerdvest.com
Cc: marcelo.tosatti@cyclades.com, linux-kernel@vger.kernel.org,
netdev@oss.sgi.com
Subject: Re: Linux 2.4.27-pre4
Date: Mon, 31 May 2004 13:01:06 +0900 (JST) [thread overview]
Message-ID: <20040531.130106.109802314.yoshfuji@linux-ipv6.org> (raw)
In-Reply-To: <40BAA82A.4040105@nerdvest.com>
[-- Attachment #1: Type: Text/Plain, Size: 715 bytes --]
In article <40BAA82A.4040105@nerdvest.com> (at Sun, 30 May 2004 22:36:10 -0500), Bryan Andersen <bryan@nerdvest.com> says:
> Error in ipv4 net code, config attached.
>
> gcc-3.2 -D__KERNEL__ -I/usr/src/linux-2.4.27-pre4/include -Wall
> -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
> -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon
> -nostdinc -iwithprefix include -DKBUILD_BASENAME=tcp_input -c -o
> tcp_input.o tcp_input.c
> tcp_input.c: In function `tcp_rcv_space_adjust':
> tcp_input.c:479: structure has no member named `sk_rcvbuf'
> tcp_input.c:480: structure has no member named `sk_rcvbuf'
Thanks. Patch is available. Please try this patch.
--yoshfuji
[-- Attachment #2: Type: Message/Rfc822, Size: 2939 bytes --]
From: Mikael Pettersson <mikpe@csd.uu.se>
To: marcelo.tosatti@cyclades.com
Cc: davem@redhat.com, linux-kernel@vger.kernel.org, netdev@oss.sgi.com
Subject: [PATCH][2.4.27-pre4] tcp_input.c compile-time error
Date: Sun, 30 May 2004 23:54:50 +0200 (MEST)
Message-ID: <200405302154.i4ULso3l014496@harpo.it.uu.se>
net/ipv4/tcp_input.c in 2.4.27-pre4 fails to compile:
tcp_input.c: In function `tcp_rcv_space_adjust':
tcp_input.c:479: error: structure has no member named `sk_rcvbuf'
tcp_input.c:480: error: structure has no member named `sk_rcvbuf'
make[3]: *** [tcp_input.o] Error 1
The patch below appears to fix this problem, although some netdev
person should probably check it.
/Mikael
diff -ruN linux-2.4.27-pre4/net/ipv4/tcp_input.c linux-2.4.27-pre4.tcp_input-fix/net/ipv4/tcp_input.c
--- linux-2.4.27-pre4/net/ipv4/tcp_input.c 2004-05-30 23:18:16.000000000 +0200
+++ linux-2.4.27-pre4.tcp_input-fix/net/ipv4/tcp_input.c 2004-05-30 23:45:52.000000000 +0200
@@ -476,8 +476,8 @@
16 + sizeof(struct sk_buff));
space *= rcvmem;
space = min(space, sysctl_tcp_rmem[2]);
- if (space > sk->sk_rcvbuf)
- sk->sk_rcvbuf = space;
+ if (space > sk->rcvbuf)
+ sk->rcvbuf = space;
}
}
prev parent reply other threads:[~2004-05-31 4:00 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-30 20:56 Marcelo Tosatti
2004-05-31 3:36 ` Bryan Andersen
2004-05-31 4:01 ` YOSHIFUJI Hideaki / 吉藤英明 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040531.130106.109802314.yoshfuji@linux-ipv6.org \
--to=yoshfuji@linux-ipv6.org \
--cc=bryan@nerdvest.com \
--cc=linux-kernel@vger.kernel.org \
--cc=marcelo.tosatti@cyclades.com \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®