Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

RDS: Documentation: Document AF_RDS, PF_RDS and SOL_RDS correctly.

AF_RDS, PF_RDS and SOL_RDS are available in header files,
and there is no need to get their values from /proc. Document
this correctly.

Fixes: 0c5f9b8830aa ("RDS: Documentation")

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Sowmini Varadhan and committed by
David S. Miller
ebe96e64 0ad2a836

+4 -5
+4 -5
Documentation/networking/rds.txt
··· 62 62 ================ 63 63 64 64 AF_RDS, PF_RDS, SOL_RDS 65 - These constants haven't been assigned yet, because RDS isn't in 66 - mainline yet. Currently, the kernel module assigns some constant 67 - and publishes it to user space through two sysctl files 68 - /proc/sys/net/rds/pf_rds 69 - /proc/sys/net/rds/sol_rds 65 + AF_RDS and PF_RDS are the domain type to be used with socket(2) 66 + to create RDS sockets. SOL_RDS is the socket-level to be used 67 + with setsockopt(2) and getsockopt(2) for RDS specific socket 68 + options. 70 69 71 70 fd = socket(PF_RDS, SOCK_SEQPACKET, 0); 72 71 This creates a new, unbound RDS socket.