sctp: not send SCTP_PEER_ADDR_CHANGE notifications with failed probe
[firefly-linux-kernel-4.4.55.git] / net / sctp / associola.c
index 06a9ee6b2d3a577a73b62028a711f5f801fe13f0..aaafb3250c6a5c6eec9c9a5401c6f4f6129bcfd5 100644 (file)
@@ -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;