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;
}
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"