Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F110928504
D18067.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
448 B
Referenced Files
None
Subscribers
None
D18067.diff
View Options
Index: head/sys/dev/sfxge/common/ef10_tx.c
===================================================================
--- head/sys/dev/sfxge/common/ef10_tx.c
+++ head/sys/dev/sfxge/common/ef10_tx.c
@@ -70,7 +70,7 @@
EFX_TXQ_NBUFS(enp->en_nic_cfg.enc_txq_max_ndescs));
npages = EFX_TXQ_NBUFS(size);
- if (npages > MC_CMD_INIT_TXQ_IN_DMA_ADDR_MAXNUM) {
+ if (MC_CMD_INIT_TXQ_IN_LEN(npages) > sizeof (payload)) {
rc = EINVAL;
goto fail1;
}
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 26, 12:49 AM (7 h, 16 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16844429
Default Alt Text
D18067.diff (448 B)
Attached To
Mode
D18067: sfxge(4): fix potential buffer overflow in Tx queue init
Attached
Detach File
Event Timeline
Log In to Comment