mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-08 12:54:11 +00:00
Fix a bug introduced in r324638.
Thanks to Felix Weinrank for making me aware of this. MFC after: 3 days
This commit is contained in:
parent
d8371cb18e
commit
3ed8d364a7
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=324725
@ -728,6 +728,8 @@ struct _ipfw_dyn_rule {
|
||||
|
||||
#define ICMP_REJECT_RST 0x100 /* fake ICMP code (send a TCP RST) */
|
||||
#define ICMP6_UNREACH_RST 0x100 /* fake ICMPv6 code (send a TCP RST) */
|
||||
#define ICMP_REJECT_ABORT 0x101 /* fake ICMP code (send an SCTP ABORT */
|
||||
#define ICMP6_UNREACH_ABORT 0x101 /* fake ICMPv6 code (send an SCTP ABORT) */
|
||||
|
||||
/*
|
||||
* These are used for lookup tables.
|
||||
|
@ -4536,6 +4536,7 @@ sctp_process_control(struct mbuf *m, int iphlen, int *offset, int length,
|
||||
if (ntohs(ch->chunk_length) < sizeof(*ch)) {
|
||||
SCTPDBG(SCTP_DEBUG_INPUT1, "Invalid header length %d\n",
|
||||
ntohs(ch->chunk_length));
|
||||
*offset = length;
|
||||
return (stcb);
|
||||
}
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user