DORMANTno replies

[PATCH 2.6 1/6][SCTP] Fix SCTP_ASSOCINFO getsockopt for 1-1 style sockets.

From: Sridhar Samudrala <hidden>
Date: 2005-04-26 18:32:12

Hi Dave,

I am resubmitting SCTP patches pine after fixing the leading space problem.
Please apply.

Thanks
Sridhar

[SCTP] Fix SCTP_ASSOCINFO getsockopt for 1-1 style sockets.

Signed-off-by: Vladislav Yasevich <redacted>
Signed-off-by: Sridhar Samudrala <redacted>
----------------------------------------------------------------------
diff -Nru a/net/sctp/socket.c b/net/sctp/socket.c
--- a/net/sctp/socket.c	2005-04-21 16:20:07 -07:00
+++ b/net/sctp/socket.c	2005-04-21 16:20:07 -07:00
@@ -3473,7 +3473,7 @@
 		return -EINVAL;

 	/* Values correspoinding to the specific association */
-	if (assocparams.sasoc_assoc_id != 0) {
+	if (asoc) {
 		assocparams.sasoc_asocmaxrxt = asoc->max_retrans;
 		assocparams.sasoc_peer_rwnd = asoc->peer.rwnd;
 		assocparams.sasoc_local_rwnd = asoc->a_rwnd;
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help