HomeFreeBSD

MFC r340375 (by jch@):

Description

MFC r340375 (by jch@):

cxgbe/netmap: Fix cxgbe netmap when interface is DOWN

A kernel panic can occur if the cxgbe interface is DOWN
when activating netmap. This patch prevents the driver
from freeing up cxgbe netmap resources when they have not
been allocated.

Submitted by: Nicolas Witkowski <nwitkowski@verisign.com>
Reviewed by: np
Sponsored by: Verisign, Inc.
Differential Revision: https://reviews.freebsd.org/D17802

Details

Provenance
npAuthored on
Reviewer
np
Differential Revision
D17802: Fix cxgbe netmap when interface is DOWN
Parents
rS346973: Add a paragraph that mentions gptboot having an interactive mode, and
Branches
Unknown
Tags
Unknown