sctp: not send SCTP_PEER_ADDR_CHANGE notifications with failed probe
authorzhuyj <zyjzyj2000@gmail.com>
Wed, 20 Aug 2014 09:31:43 +0000 (17:31 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 22 Aug 2014 04:33:17 +0000 (21:33 -0700)
commit061079ac0b9be7a578dcd09f7865c2c0d6ac894a
tree0fdfe50cfaea6886395d8f828aa297e961c7e1e5
parent7c3afd85dc1610bb2fc049644cd1b52c7af96f98
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>
net/sctp/associola.c