[736] in linux-net channel archive

home help back first fref pref prev next nref lref last post

Re: UDP fixes

daemon@ATHENA.MIT.EDU (Swen Thuemmler)
Thu Jul 20 13:21:29 1995

Date: Thu, 20 Jul 1995 10:06:10 +0200 (MET DST)
From: Swen Thuemmler <swen@uni-paderborn.de>
To: Superman <root@thunder.swansea.linux.org.uk>
cc: linux-net3@www.linux.org.uk, linux-net@vger.rutgers.edu,
        torvalds@linux.helsinki.fi
In-Reply-To: <m0sXyL6-000J4DC@thunder.swansea.linux.org.uk>

On Mon, 17 Jul 1995, Superman wrote:

> These patches when coupled with the mount side patches (appended) allow NFS with
> multihoming, like 4.2/4.3BSD as opposed to the normal Linux/4.4BSD behaviour. I've
> used Jon Peatfields patches of the two sets I got as his are backward compatible.
> 
> Alan

Great. At last, the patches are in. Will they go into 1.2.12?

One possible addition: 

--- sock.c.orig Thu Jul 20 09:53:37 1995
+++ sock.c      Thu Jul 20 09:58:06 1995
@@ -209,7 +209,7 @@
         *
         */
        result=sock->ops->recvfrom(sock, (void *)start, 
-                                 size + 1024, 1, 0, NULL,
+                                 size + 1024, 1, 0, &(server->toaddr),
                        /* Here is NFS_SLACK_SPACE..., hack */
                                  &addrlen);
        if (result < 0) {

This will fill server-toaddr with the address of the interface we're
receiving the packet from, and will send the next request there. The
question is: is this sensible? Will this be slower (due to filling in the
address) or possibly faster (less routing on the other end required).

Greetings, Swen



home help back first fref pref prev next nref lref last post