projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c3afd8
)
sctp: not send SCTP_PEER_ADDR_CHANGE notifications with failed probe
author
zhuyj
<
[email protected]
>
Wed, 20 Aug 2014 09:31:43 +0000
(17:31 +0800)
committer
David S. Miller
<
[email protected]
>
Fri, 22 Aug 2014 04:33:17 +0000
(21:33 -0700)
Since the transport has always been in state SCTP_UNCONFIRMED, it
therefore wasn't active before and hasn't been used before, and it
always has been, so it is unnecessary to bug the user with a
notification.
Reported-by: Deepak Khandelwal <
[email protected]
>
Suggested-by: Vlad Yasevich <
[email protected]
>
Suggested-by: Michael Tuexen <
[email protected]
>
Suggested-by: Daniel Borkmann <
[email protected]
>
Signed-off-by: Zhu Yanjun <
[email protected]
>
Acked-by: Vlad Yasevich <
[email protected]
>
Acked-by: Daniel Borkmann <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/sctp/associola.c
patch
|
blob
|
history
diff --git
a/net/sctp/associola.c
b/net/sctp/associola.c
index 06a9ee6b2d3a577a73b62028a711f5f801fe13f0..aaafb3250c6a5c6eec9c9a5401c6f4f6129bcfd5 100644
(file)
--- a/
net/sctp/associola.c
+++ b/
net/sctp/associola.c
@@
-813,6
+813,7
@@
void sctp_assoc_control_transport(struct sctp_association *asoc,
else {
dst_release(transport->dst);
transport->dst = NULL;
+ ulp_notify = false;
}
spc_state = SCTP_ADDR_UNREACHABLE;