On (07/30/15 11:03), David Ahern wrote:
> >+write_pnet(&conn->c_net, net);
>
> these are typically in wrappers like sock_net and sock_net_set
:
> >+conn = rds_conn_create(&init_net, dp->dp_daddr, dp->dp_saddr,
> >+ &rds_ib_transport, GFP_KERNEL);
>
> I forget
On 7/30/15 2:55 AM, Sowmini Varadhan wrote:
diff --git a/net/rds/connection.c b/net/rds/connection.c
index da6da57..3bea7b9 100644
--- a/net/rds/connection.c
+++ b/net/rds/connection.c
@@ -117,7 +117,8 @@ static void rds_conn_reset(struct rds_connection *conn)
* For now they are not garbage co
Open the sockets calling sock_create_kern() with the correct struct net
pointer, and use the correct struct net pointer when verifying the
address passed to rds_bind().
Signed-off-by: Sowmini Varadhan
---
net/rds/bind.c|3 ++-
net/rds/connection.c | 16 ++--
net/rds/ib