SCTP: handle COOKIE while in SHUTDOWN phase 31/10831/2
authorMarco Varlese <marco.varlese@suse.com>
Tue, 27 Feb 2018 08:38:31 +0000 (09:38 +0100)
committerDamjan Marion <dmarion.lists@gmail.com>
Wed, 28 Feb 2018 05:54:43 +0000 (05:54 +0000)
commit8c5f67f2b883ad9dcb489ab0eb16e1acbe478926
tree6fe63e6814e812f79b07950e29ef8a425b579b88
parentac0932d26c17b8d82af1a7d033e1abdccb6f7209
SCTP: handle COOKIE while in SHUTDOWN phase

This patch address the requirement to handle a COOKIE chunk whilst in
SHUTDOWN phase. The COOKIE shouldn't just be dropped but an OPERATION
ERROR chunk shall be sent to the peer to inform about the current
situation.

Change-Id: I1a47652402d49cfee3b0c810304d7902f3a62f40
Signed-off-by: Marco Varlese <marco.varlese@suse.com>
src/vnet/sctp/sctp.h
src/vnet/sctp/sctp_input.c
src/vnet/sctp/sctp_output.c