HomeFreeBSD

pf: Fix memory leak in DIOCRADDTABLES

Description

pf: Fix memory leak in DIOCRADDTABLES

If a user attempts to add two tables with the same name the duplicate table
will not be added, but we forgot to free the duplicate table, leaking memory.
Ensure we free the duplicate table in the error path.

Reported by: Coverity
CID: 1382111
MFC after: 3 weeks

Details

Provenance
kpAuthored on
Parents
rS331224: ixgbe(4): Update shared code, add support for X552 1G, fix bug
Branches
Unknown
Tags
Unknown