diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-08-01 20:57:11 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2017-08-01 20:57:11 +0000 |
commit | c276eac8617c504424b38f6d543590a2eef618f2 (patch) | |
tree | 0437dc3181509e99f57fbe0d7e1df0e160e7a534 /sys | |
parent | 4876174ab8aa7666c5d49ac7a9478699b2228f00 (diff) |
rt_if_track() is needed even on ramdisk kernels, because of MPATH
ok mpi
Diffstat (limited to 'sys')
-rw-r--r-- | sys/net/if.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/net/if.c b/sys/net/if.c index 9ee53c4f12a..ed95b15b8c9 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if.c,v 1.506 2017/07/24 09:38:25 mpi Exp $ */ +/* $OpenBSD: if.c,v 1.507 2017/08/01 20:57:10 deraadt Exp $ */ /* $NetBSD: if.c,v 1.35 1996/05/07 05:26:04 thorpej Exp $ */ /* @@ -1605,9 +1605,7 @@ if_linkstate(struct ifnet *ifp) NET_ASSERT_LOCKED(); rtm_ifchg(ifp); -#ifndef SMALL_KERNEL rt_if_track(ifp); -#endif dohooks(ifp->if_linkstatehooks, 0); } |