OpenBSD cvs log

created 2019-05-08T03:12:29Z
begin 2017-11-21T00:00:00Z
end 2017-11-22T00:00:00Z
path src/sys
commits 2

date 2017-11-21T09:08:55Z
author patrick
files src/sys/netinet/ip_carp.c log diff annotate
message Move the addrhook disestablish from carpdetach() to carp_clone_destroy()
to make it symmetric to the addrhook establish which is being done in
carp_clone_create(). This fixes the issue that carp does not recognize
address changes on the carp after an interface has detached, which could
cause issues like carp not recovering or even panics. Unfortunately
there are more bugs lurking in carp.

ok bluhm@

date 2017-11-21T12:05:09Z
author mpi
files src/sys/netinet6/ip6_forward.c log diff annotate
message Do not assume if_get(9) returns a non NULL ifp when using a route
interface index.

This assumption is true for the moment iff the route lookup *and* the
if_get() are done under KERNEL_LOCK(). This is not the case here.

Found the hardway by Hrvoje Popovski.

ok florian@, visa@, bluhm@