diff --git a/sys/net/if.c b/sys/net/if.c index 348495f612fb..598fc2a8ad8a 100644 --- a/sys/net/if.c +++ b/sys/net/if.c @@ -104,8 +104,8 @@ _Static_assert(sizeof(((struct ifreq *)0)->ifr_name) == offsetof(struct ifreq, ifr_ifru), "gap between ifr_name and ifr_ifru"); -epoch_t net_epoch_preempt; -epoch_t net_epoch; +__read_mostly epoch_t net_epoch_preempt; +__read_mostly epoch_t net_epoch; #ifdef COMPAT_FREEBSD32 #include #include