summaryrefslogtreecommitdiff
path: root/lib/vector.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-05-23 08:25:51 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2018-05-24 09:13:05 -0400
commit3575d9e86607b6f83f8f3bef6979fe804bfe6de2 (patch)
treef6d9ea5667131a6069937c77169f5d660d32d521 /lib/vector.c
parent19300af8f26be3b34041f90944c6fc07ad138fe1 (diff)
zebra: Ignore most netlink notifications from ourselves
The BPF filter was an exclusion list of netlink messages we did not want to receive from our self. The problem with this is that the exclusion list was and will be ever growing. So switch the test around to an inclusion list since it is shorter and not growing. Right now this is RTM_NEWADDR and RTM_DELADDR. Change some of the debug messages to error messages so that when something slips through and it is unexpected during development we will see the problem. Also try to improve the documentation about what the filter is doing and leave some breadcrumbs for future developers to know where to change code when new functionality is added. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'lib/vector.c')
0 files changed, 0 insertions, 0 deletions