From mboxrd@z Thu Jan 1 00:00:00 1970 From: "santosh.shilimkar@oracle.com" Subject: Re: [PATCH v5 net-next 3/3] rds: Extend RDS API for IPv6 support Date: Mon, 23 Jul 2018 21:16:39 -0700 Message-ID: <7b7ec326-5519-2fa9-044c-ada28e572747@oracle.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Cc: davem@davemloft.net, rds-devel@oss.oracle.com, sowmini.varadhan@oracle.com To: Ka-Cheong Poon , netdev@vger.kernel.org Return-path: Received: from userp2120.oracle.com ([156.151.31.85]:42464 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2388090AbeGXFVL (ORCPT ); Tue, 24 Jul 2018 01:21:11 -0400 In-Reply-To: Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-ID: On 7/23/18 8:51 PM, Ka-Cheong Poon wrote: > There are many data structures (RDS socket options) used by RDS apps > which use a 32 bit integer to store IP address. To support IPv6, > struct in6_addr needs to be used. To ensure backward compatibility, a > new data structure is introduced for each of those data structures > which use a 32 bit integer to represent an IP address. And new socket > options are introduced to use those new structures. This means that > existing apps should work without a problem with the new RDS module. > For apps which want to use IPv6, those new data structures and socket > options can be used. IPv4 mapped address is used to represent IPv4 > address in the new data structures. > > v4: Revert changes to SO_RDS_TRANSPORT > > Signed-off-by: Ka-Cheong Poon > --- Acked-by: Santosh Shilimkar