HomeFreeBSD

MFC r340797

Description

MFC r340797

sfxge(4): fix potential buffer overflow in Tx queue init

Improve error checking to avoid a caller overflowing the MCDI
request buffer if the requested TXQ size was excessively large.

Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
Differential Revision: https://reviews.freebsd.org/D18067

Details

Provenance
arybchikAuthored on
Differential Revision
D18067: sfxge(4): fix potential buffer overflow in Tx queue init
Parents
rS342304: MFC r340826
Branches
Unknown
Tags
Unknown