projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f4d0ee9
)
[SCTP] Fix SCTP_ASSOCINFO getsockopt for 1-1 style
author
Vladislav Yasevich
<vladislav.yasevich@hp.com>
Thu, 28 Apr 2005 18:57:54 +0000
(11:57 -0700)
committer
David S. Miller
<davem@davemloft.net>
Thu, 28 Apr 2005 18:57:54 +0000
(11:57 -0700)
Signed-off-by: Vladislav Yasevich <vladislav.yasevich@hp.com>
Signed-off-by: Sridhar Samudrala <sri@us.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sctp/socket.c
patch
|
blob
|
blame
|
history
diff --git
a/net/sctp/socket.c
b/net/sctp/socket.c
index e8c2101825710512f0f7393ecb482835a8664a34..32f2249411fadabea3767ce3b20ad820f382f401 100644
(file)
--- a/
net/sctp/socket.c
+++ b/
net/sctp/socket.c
@@
-3473,7
+3473,7
@@
static int sctp_getsockopt_associnfo(struct sock *sk, int len,
return -EINVAL;
/* Values correspoinding to the specific association */
- if (as
socparams.sasoc_assoc_id != 0
) {
+ if (as
oc
) {
assocparams.sasoc_asocmaxrxt = asoc->max_retrans;
assocparams.sasoc_peer_rwnd = asoc->peer.rwnd;
assocparams.sasoc_local_rwnd = asoc->a_rwnd;