svn commit: r256228 - head/sys/dev/iscsi
Edward Tomasz Napierala
trasz at FreeBSD.org
Wed Oct 9 19:28:56 UTC 2013
Author: trasz
Date: Wed Oct 9 19:28:56 2013
New Revision: 256228
URL: http://svnweb.freebsd.org/changeset/base/256228
Log:
Fail connection upon receiving too large data segment.
Approved by: re (glebius)
Sponsored by: FreeBSD Foundation
Modified:
head/sys/dev/iscsi/icl.c
Modified: head/sys/dev/iscsi/icl.c
==============================================================================
--- head/sys/dev/iscsi/icl.c Wed Oct 9 19:28:07 2013 (r256227)
+++ head/sys/dev/iscsi/icl.c Wed Oct 9 19:28:56 2013 (r256228)
@@ -564,6 +564,7 @@ icl_conn_receive_pdu(struct icl_conn *ic
"MaxDataSegmentLength %zd; "
"dropping connection",
len, ic->ic_max_data_segment_length);
+ error = EINVAL;
break;
}
More information about the svn-src-head
mailing list