From 9a30bf5c200e28a53ddbe5a57cbbb569b72e3b7f Mon Sep 17 00:00:00 2001 From: Santosh Shilimkar Date: Wed, 10 Aug 2016 12:30:36 -0700 Subject: [PATCH] RDS: IB: Add MOS note details to link local(HAIP) address print 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 Signed-off-by: Santosh Shilimkar --- net/rds/ib.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/net/rds/ib.c b/net/rds/ib.c index dbc711214f92..e2234280b25e 100644 --- a/net/rds/ib.c +++ b/net/rds/ib.c @@ -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. -- 2.50.1