]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
RDS: IB: Add MOS note details to link local(HAIP) address print
authorSantosh Shilimkar <santosh.shilimkar@oracle.com>
Wed, 10 Aug 2016 19:30:36 +0000 (12:30 -0700)
committerSantosh Shilimkar <santosh.shilimkar@oracle.com>
Wed, 10 Aug 2016 23:02:33 +0000 (16:02 -0700)
Update the log to include MOS note details and also make the
banner more prominent. This makes it consistent with application
flagging the similar error with MOS note details.

Orabug: 23027670

Acked-by: Mukesh Kacker <mukesh.kacker@oracle.com>
Signed-off-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
net/rds/ib.c

index dbc711214f925bf2080a81e1d80c9c2de0a61ecb..e2234280b25e7e3db44ac2613b178aa2146c8e56 100644 (file)
@@ -395,8 +395,21 @@ 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))
-               pr_info_ratelimited("RDS/IB: Link local address %pI4 NOT SUPPORTED\n", &addr);
+       if (ipv4_is_linklocal_169(addr)) {
+               pr_info_once("\n");
+               pr_info_once("****************************************************\n");
+               pr_info_once("** WARNING WARNING WARNING WARNING WARNING        **\n");
+               pr_info_once("**                                                **\n");
+               pr_info_once("** RDS/IB: Link local address %pI4 NOT SUPPORTED  **\n",
+                            &addr);
+               pr_info_once("**                                                **\n");
+               pr_info_once("** HAIP IP addresses should not be used on ORACLE **\n");
+               pr_info_once("** engineered systems                             **\n");
+               pr_info_once("**                                                **\n");
+               pr_info_once("** If you see this message, Please refer to       **\n");
+               pr_info_once("** cluster_interconnects in MOS note #1274318.1   **\n");
+               pr_info_once("****************************************************\n");
+       }
 
        /* Create a CMA ID and try to bind it. This catches both
         * IB and iWARP capable NICs.