]> git.karo-electronics.de Git - linux-beck.git/commit
net/rds Add getsockopt support for SO_RDS_TRANSPORT
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Fri, 29 May 2015 21:28:09 +0000 (17:28 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 1 Jun 2015 04:47:23 +0000 (21:47 -0700)
commit8ba38460f363e4d26d666aae9bc7fd3afa5f8e43
tree006c24e39896b5d0911c957533b02defc4e4b12b
parentd97dac54bf83b2a3df85fba37595e355627e0f2b
net/rds Add getsockopt support for SO_RDS_TRANSPORT

The currently attached transport for a PF_RDS socket may be obtained
from user space by invoking getsockopt(2) using the SO_RDS_TRANSPORT
option at the SOL_RDS level. The integer optval returned will be one
of the RDS_TRANS_* constants defined in linux/rds.h.

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