]> 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)
commit605b3a2d962eac6b191345ec02f0bc7c9d604731
treef60cb75d09f67e0190c53fe74dec6c370a514bba
parent70f7d0bb69be03d3fe985bab4fca313d7d84952b
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