Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177570486
D61571.1794767719.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
390 B
Referenced Files
None
Subscribers
None
D61571.1794767719.diff
View Options
diff --git a/sys/dev/nvmf/nvmf_tcp.h b/sys/dev/nvmf/nvmf_tcp.h
--- a/sys/dev/nvmf/nvmf_tcp.h
+++ b/sys/dev/nvmf/nvmf_tcp.h
@@ -229,7 +229,7 @@
}
/* Validate plen. */
- if (plen < ch->hlen) {
+ if (plen < full_hlen) {
printf("NVMe/TCP: Invalid PDU length %u\n", plen);
*fes = NVME_TCP_TERM_REQ_FES_INVALID_HEADER_FIELD;
*fei = offsetof(struct nvme_tcp_common_pdu_hdr, plen);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Nov 15, 6:35 PM (23 h, 38 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41746200
Default Alt Text
D61571.1794767719.diff (390 B)
Attached To
Mode
D61571: nvmf_tcp: Ensure the PDU length is long enough for the header digest
Attached
Detach File
Event Timeline