]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When processing an ICMP packet containing an SCTP packet, it
authortuexen <tuexen@FreeBSD.org>
Tue, 12 Apr 2016 11:48:54 +0000 (11:48 +0000)
committertuexen <tuexen@FreeBSD.org>
Tue, 12 Apr 2016 11:48:54 +0000 (11:48 +0000)
commit8cd2183953490afc4008603a4b91d5967e5e80c1
tree8b4abe726ca0f425cf83ee4db65b0decfcdd0618
parent545a118818f94c24e661a32afb8508d005028cf9
When processing an ICMP packet containing an SCTP packet, it
is required to check the verification tag. However, this
requires the verification tag to be not 0. Enforce this.
For packets with a verification tag of 0, we need to
check it it contains an INIT chunk and use the initiate
tag for the validation. This will be a separate commit,
since it touches also other code.

MFC after: 1 week
sys/netinet/sctp_usrreq.c
sys/netinet/sctp_var.h