HomeFreeBSD

When doing lm_add(), check for duplicates.

Description

When doing lm_add(), check for duplicates.

This is useful when lm_find() moves the match to the global mapping,
since lm_find() could be called with a same path more than once.

Reported and tested by: Andreas Longwitz <longwitz@incore.de>
Sponsored by: The FreeBSD Foundation
Approved by: re (gjb)
MFC after: 1 week

Details

Provenance
kibAuthored on
Parents
rS338954: cxgbe(4): Enable support for per-connection rate limiting in the default
Branches
Unknown
Tags
Unknown