CVSROOT: /cvs Module name: src Changes by: [email protected] 2018/05/21 09:52:22
Modified files:
sys/netinet : ip_carp.c ip_carp.h ip_icmp.c ip_input.c
sys/netinet6 : icmp6.c ip6_input.c
Log message:
All places that call carp_lsdrop() use the interface pointer already.
It does not make sense to call if_get() again, just pass ifp as
parameter. Move the IFT_CARP check into the function instead of
doing it everywhere. Replace the inverted match variable logic
with simple returns.
OK mpi@ friehm@
