Fail connection upon receiving too large data segment.
Approved by: re (glebius) Sponsored by: FreeBSD Foundation
This commit is contained in:
parent
4cdc1f5421
commit
e49b31f292
@ -564,6 +564,7 @@ icl_conn_receive_pdu(struct icl_conn *ic, size_t *availablep)
|
||||
"MaxDataSegmentLength %zd; "
|
||||
"dropping connection",
|
||||
len, ic->ic_max_data_segment_length);
|
||||
error = EINVAL;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user