HomeFreeBSD

Split rt_newaddrmsg_fib() into two different functions.

Description

Split rt_newaddrmsg_fib() into two different functions.
Adding/deleting interface addresses involves access to 3 different subsystems,
int different parts of code. Each call can fail, so reporting successful
operation by rtsock in the middle of the process error-prone.

Further split routing notification API and actual rtsock calls via creating
public-available rt_addrmsg() / rt_routemsg() functions with "private"
rtsock_* backend.

MFC after: 2 weeks

Details

Provenance
melifaroAuthored on
Parents
rS260487: MFH: tracking commit (head@r260486)
Branches
Unknown
Tags
Unknown

Event Timeline