Page MenuHomeFreeBSD

D18067.diff
No OneTemporary

D18067.diff

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

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)

Event Timeline