RDS/IB: Fix printk to indicate remote IP, not local
authorAndy Grover <andy.grover@oracle.com>
Fri, 17 Jul 2009 13:13:25 +0000 (13:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 20 Jul 2009 15:03:04 +0000 (08:03 -0700)
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/ib_cm.c

index 1eb0c291a0b41f441d2375e4b2aa228e0bcc5f27..f621086f8038e96ecdb634da40cf50d2ee2eef31 100644 (file)
@@ -111,7 +111,7 @@ void rds_ib_cm_connect_complete(struct rds_connection *conn, struct rdma_cm_even
        }
 
        printk(KERN_NOTICE "RDS/IB: connected to %pI4 version %u.%u%s\n",
-                       &conn->c_laddr,
+                       &conn->c_faddr,
                        RDS_PROTOCOL_MAJOR(conn->c_version),
                        RDS_PROTOCOL_MINOR(conn->c_version),
                        ic->i_flowctl ? ", flow control" : "");