diff options
| author | Mark Stapp <mjs@cisco.com> | 2024-11-21 15:12:42 -0500 |
|---|---|---|
| committer | Mark Stapp <mjs@cisco.com> | 2024-12-05 09:23:53 -0500 |
| commit | 29122bc9b8d5317f6f486f9fe61a92a854948cc5 (patch) | |
| tree | e825fccf277a0db175f3d63bb996c1ea2a0b0197 /zebra/interface.c | |
| parent | 99ecf5ead0b1e1c8f4e9d798517e4d3474b0f02a (diff) | |
zebra: refactor netlink route message parsing
Separate core netlink route message parsing into a new api that
uses a dplane ctx to hold the parsed attribute data. Use the new
api in two paths: the normal netlink update message parsing path,
and in the FPM plugin, which also uses netlink encoding. The FPM
route-notificatin code runs in its own pthread, and only needs
a subset of the route info that zebra ordinarily develops. This
change stops that pthread from accessing zebra's internal
data, such as vrfs and ifps, that are not thread-safe.
Signed-off-by: Mark Stapp <mjs@cisco.com>
Diffstat (limited to 'zebra/interface.c')
0 files changed, 0 insertions, 0 deletions
