OpenBSD/src KlLoLJusys/netinet ip_carp.c ip_input.c, sys/netinet6 ip6_input.c icmp6.c

   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@
VersionDeltaFile
1.332+10-17sys/netinet/ip_carp.c
1.337+6-6sys/netinet/ip_input.c
1.175+4-7sys/netinet/ip_icmp.c
1.215+4-5sys/netinet6/ip6_input.c
1.223+3-4sys/netinet6/icmp6.c
1.47+3-3sys/netinet/ip_carp.h
+30-426 files

UnifiedSplitRaw