]> git.baikalelectronics.ru Git - kernel.git/commit
sctp: handle the init chunk matching an existing asoc
authorXin Long <lucien.xin@gmail.com>
Thu, 29 Oct 2020 07:05:09 +0000 (15:05 +0800)
committerJakub Kicinski <kuba@kernel.org>
Fri, 30 Oct 2020 22:24:44 +0000 (15:24 -0700)
commit5b6d5bc283d1d4dcddd2b2c7ad0dc1ee5df538f5
treef60cb75d09f67e0190c53fe74dec6c370a514bba
parenta646458e9d1458f1a158961a4c05fd84a196c711
sctp: handle the init chunk matching an existing asoc

This is from Section 4 of draft-tuexen-tsvwg-sctp-udp-encaps-cons-03,
and it requires responding with an abort chunk with an error cause
when the udp source port of the received init chunk doesn't match the
encap port of the transport.

Signed-off-by: Xin Long <lucien.xin@gmail.com>
Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/sctp/sm_statefuns.c