net/rds: Add RDS6_INFO_SOCKETS and RDS6_INFO_RECV_MESSAGES options
authorKa-Cheong Poon <ka-cheong.poon@oracle.com>
Thu, 15 Aug 2019 09:36:43 +0000 (02:36 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 15 Aug 2019 18:40:03 +0000 (11:40 -0700)
commita46b5b6c27018102a4fe690d6516f5d5556646b7
tree9efbaac355c5e41a04d54f9a38e89f3c61992ce4
parentecb9f80db23a7ab09b46b298b404e41dd7aff6e6
net/rds: Add RDS6_INFO_SOCKETS and RDS6_INFO_RECV_MESSAGES options

Add support of the socket options RDS6_INFO_SOCKETS and
RDS6_INFO_RECV_MESSAGES which update the RDS_INFO_SOCKETS and
RDS_INFO_RECV_MESSAGES options respectively.  The old options work
for IPv4 sockets only.

Signed-off-by: Ka-Cheong Poon <ka-cheong.poon@oracle.com>
Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/af_rds.c