Skip to content

Commit 061079a

Browse files
zhuyjdavem330
authored andcommitted
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]>
1 parent 7c3afd8 commit 061079a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

net/sctp/associola.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -813,6 +813,7 @@ void sctp_assoc_control_transport(struct sctp_association *asoc,
813813
else {
814814
dst_release(transport->dst);
815815
transport->dst = NULL;
816+
ulp_notify = false;
816817
}
817818

818819
spc_state = SCTP_ADDR_UNREACHABLE;

0 commit comments

Comments
 (0)