]> git.hungrycats.org Git - linux/commit
sctp: not send SCTP_PEER_ADDR_CHANGE notifications with failed probe
authorZhu Yanjun <zyjzyj2000@gmail.com>
Thu, 20 Nov 2014 06:04:40 +0000 (14:04 +0800)
committerWilly Tarreau <w@1wt.eu>
Sun, 23 Nov 2014 09:55:54 +0000 (10:55 +0100)
commit5abff9a5a12f45b27139b0fbd87570be3169926b
tree8ad92e41e27b26bdcc0147c265aaec5a6e549211
parent34af0b70d23880d47fd75f209d2ccc138dbe6e55
sctp: not send SCTP_PEER_ADDR_CHANGE notifications with failed probe

2.6.x kernels require a similar logic change as commit 2c0d6ac894a
[sctp: not send SCTP_PEER_ADDR_CHANGE notifications with failed probe]
introduces for newer kernels.

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>
Signed-off-by: Willy Tarreau <w@1wt.eu>
net/sctp/associola.c