Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F159479246
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
Mon, Jun 15, 4:56 PM (10 h, 11 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
33972212
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