]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
RDS-TCP: Make RDS-TCP work correctly when it is set up in a netns other than init_net
authorSowmini Varadhan <sowmini.varadhan@oracle.com>
Wed, 5 Aug 2015 05:43:25 +0000 (01:43 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 7 Aug 2015 18:29:57 +0000 (11:29 -0700)
commitd5a8ac28a7ff2f250d1bedbb6008dd2f6f6f1638
tree66efc48335d6e97f76503e8c24e95e06b6a22b56
parent1ebd08a7e5ef6265092eae19a547674733dc1c01
RDS-TCP: Make RDS-TCP work correctly when it is set up in a netns other than init_net

Open the sockets calling sock_create_kern() with the correct struct net
pointer, and use that struct net pointer when verifying the
address passed to rds_bind().

Signed-off-by: Sowmini Varadhan <sowmini.varadhan@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
12 files changed:
net/rds/bind.c
net/rds/connection.c
net/rds/ib.c
net/rds/ib_cm.c
net/rds/iw.c
net/rds/iw_cm.c
net/rds/rds.h
net/rds/send.c
net/rds/tcp.c
net/rds/tcp_connect.c
net/rds/tcp_listen.c
net/rds/transport.c