From: Santosh Shilimkar Date: Wed, 10 Aug 2016 19:30:36 +0000 (-0700) Subject: RDS: IB: Add MOS note details to link local(HAIP) address print X-Git-Tag: v4.1.12-92~87^2~23 X-Git-Url: https://www.infradead.org/git/?a=commitdiff_plain;h=9a30bf5c200e28a53ddbe5a57cbbb569b72e3b7f;p=users%2Fjedix%2Flinux-maple.git 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 --- 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.