summaryrefslogtreecommitdiff
path: root/net/sctp
diff options
context:
space:
mode:
authorzhuyj <zyjzyj2000@gmail.com>2014-08-20 13:31:43 +0400
committerDavid S. Miller <davem@davemloft.net>2014-08-22 08:33:17 +0400
commit061079ac0b9be7a578dcd09f7865c2c0d6ac894a (patch)
tree0fdfe50cfaea6886395d8f828aa297e961c7e1e5 /net/sctp
parent7c3afd85dc1610bb2fc049644cd1b52c7af96f98 (diff)
downloadlinux-061079ac0b9be7a578dcd09f7865c2c0d6ac894a.tar.xz
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 <khandelwal.deepak.1987@gmail.com> Suggested-by: Vlad Yasevich <vyasevich@gmail.com> Suggested-by: Michael Tuexen <tuexen@fh-muenster.de> Suggested-by: Daniel Borkmann <dborkman@redhat.com> Signed-off-by: Zhu Yanjun <Yanjun.Zhu@windriver.com> Acked-by: Vlad Yasevich <vyasevich@gmail.com> Acked-by: Daniel Borkmann <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
-rw-r--r--net/sctp/associola.c1
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;