]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
RDS: Remove the link-local restriction as a stop gap measure
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Sat, 18 Jun 2016 17:48:07 +0000 (10:48 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Tue, 21 Jun 2016 03:44:06 +0000 (20:44 -0700)
Fresh CRS install seems to have a dependency with RDS IB link-local
connection going through. Setting the cluster_interconnect
parameter to non-link local address isn't covering the fresh
install usecases.

So as a stop gap measure, we just warn the user but let the connection
through till we come up with a solution to re-introduce the change.

Orabug: 2360905

Tested-by: Maria Yip <maria.yip@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
net/rds/ib.c

index d68ea09c196648fb12f228e3d4045269485a2a5f..63a2ac02b01b8ff388ef83f843ad8b8e1e886c51 100644 (file)
@@ -395,10 +395,8 @@ static int rds_ib_laddr_check(struct net *net, __be32 addr)
        struct sockaddr_in sin;
 
        /* Link-local addresses don't play well with IB */
-       if (ipv4_is_linklocal_169(addr)) {
+       if (ipv4_is_linklocal_169(addr))
                pr_info_ratelimited("RDS/IB: Link local address %pI4 NOT SUPPORTED\n", &addr);
-               return -EADDRNOTAVAIL;
-       }
 
        /* Create a CMA ID and try to bind it. This catches both
         * IB and iWARP capable NICs.