diff options
author | zhuyj <[email protected]> | 2014-08-20 17:31:43 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2014-08-21 21:33:17 -0700 |
commit | 061079ac0b9be7a578dcd09f7865c2c0d6ac894a (patch) | |
tree | 0fdfe50cfaea6886395d8f828aa297e961c7e1e5 | |
parent | 7c3afd85dc1610bb2fc049644cd1b52c7af96f98 (diff) |
sctp: not send SCTP_PEER_ADDR_CHANGE notifications with failed probe
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]>
-rw-r--r-- | net/sctp/associola.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/sctp/associola.c b/net/sctp/associola.c index 06a9ee6b2d3a..aaafb3250c6a 100644 --- 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; |