]> git.puffer.fish Git - matthieu/frr.git/commit
pim6d: use ICMP6_FILTER instead of BPF on mroute
authorDavid Lamparter <equinox@opensourcerouting.org>
Wed, 27 Apr 2022 07:23:27 +0000 (09:23 +0200)
committerDavid Lamparter <equinox@opensourcerouting.org>
Thu, 28 Apr 2022 08:46:57 +0000 (10:46 +0200)
commitfef295d439236b2673ae4bb0d77f7681322b57f9
treeebe268eb6ee99a25aca3062fc96f3cee37a8f994
parent633a50d11c7dc14e543e849cc4ec135ca0416f17
pim6d: use ICMP6_FILTER instead of BPF on mroute

The ICMP6_FILTER option is always checked by the kernel, so the cost is
taken whether or not anything is set there.  Use it instead of taking on
additional cost with a BPF program.

Signed-off-by: David Lamparter <equinox@opensourcerouting.org>
pimd/pim6_mroute_msg.c
pimd/pim_mroute.c