OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
597ddd5
)
RDS: Don't set c_version in __rds_conn_create()
author
Andy Grover
<andy.grover@oracle.com>
Fri, 17 Jul 2009 13:13:28 +0000
(13:13 +0000)
committer
David S. Miller
<davem@davemloft.net>
Mon, 20 Jul 2009 15:03:08 +0000
(08:03 -0700)
Protocol negotiation is logically a property of the
transports, so rds core need not set it.
Signed-off-by: Andy Grover <andy.grover@oracle.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/rds/connection.c
patch
|
blob
|
history
diff --git
a/net/rds/connection.c
b/net/rds/connection.c
index
d14445c
..
605fe3f
100644
(file)
--- a/
net/rds/connection.c
+++ b/
net/rds/connection.c
@@
-155,7
+155,6
@@
static struct rds_connection *__rds_conn_create(__be32 laddr, __be32 faddr,
}
INIT_HLIST_NODE(&conn->c_hash_node);
- conn->c_version = RDS_PROTOCOL_3_0;
conn->c_laddr = laddr;
conn->c_faddr = faddr;
spin_lock_init(&conn->c_lock);