HomeFreeBSD

Plug nexthop group refcount leak.

Description

Plug nexthop group refcount leak.
In case with batch route delete via rib_walk_del(), when
some paths from the multipath route gets deleted, old
multipath group were not freed.

PR: 254496
Reported by: Zhenlei Huang <zlei.huang@gmail.com>

(cherry picked from commit 66f138563becf12d5c21924f816d2a45c3a1ed7a)

Details

Provenance
melifaroAuthored on Mar 24 2021, 11:51 PM
Parents
rGaf85312e8a6f: Fix panic when destroying interface with ECMP routes.
Branches
Unknown
Tags
Unknown