Page MenuHomeFreeBSD

routing: simplify decompose_change_notification().
ClosedPublic

Authored by melifaro on Jun 25 2022, 8:01 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Sep 6, 11:33 PM
Unknown Object (File)
Sun, Sep 6, 12:28 PM
Unknown Object (File)
Thu, Sep 3, 10:03 AM
Unknown Object (File)
Thu, Sep 3, 2:51 AM
Unknown Object (File)
Wed, Sep 2, 3:43 PM
Unknown Object (File)
Tue, Sep 1, 9:49 AM
Unknown Object (File)
Tue, Sep 1, 2:30 AM
Unknown Object (File)
Mon, Aug 31, 3:35 PM
Subscribers

Details

Summary

The function's goal is to compare old/new nhop/nhgrp for the route
and decompose it into the series of RTM_ADD/RTM_DELETE single-nhop
events, calling specified callback for each event.
Simplify by properly leveraging the fact that both old/new groups
are sorted nhop-# ascending.

MFC after: 2 weeks

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46116
Build 43005: arc lint + arc unit