]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE12-partly-revert-rx-cleanup-20040804
authorDerrick Brashear <shadow@dementia.org>
Mon, 18 Oct 2004 04:29:15 +0000 (04:29 +0000)
committerDerrick Brashear <shadow@dementia.org>
Mon, 18 Oct 2004 04:29:15 +0000 (04:29 +0000)
if there's a callback connection to a multihomed client, you need this
or you end up with multiple connections, one per IP, being made from
the single connection

(cherry picked from commit b4566d725e1aa4f57d1e6db5821c590a4b6da7c0)

src/rx/rx.c

index 47bf37056c91a33d4ae85d034777d0821c9f4b2e..d8ca3f80096eab97ee62e78c7612736b6380b4aa 100644 (file)
@@ -2291,7 +2291,8 @@ rxi_FindConnection(socket, host, port, serviceId, cid,
            break;
        if (type == RX_CLIENT_CONNECTION && pp->port == port)
            break;
-       if (type == RX_CLIENT_CONNECTION && (conn->epoch & 0x80000000))
+       /* So what happens when it's a callback connection? */
+       if (/*type == RX_CLIENT_CONNECTION &&*/ (conn->epoch & 0x80000000))
            break;
       }
       if ( !flag )