Exclude the network link eventhandler from epochification after r353292.
This fixes the following assert when "options RATELIMIT" is used: panic() malloc() sysctl_add_oid() tcp_rl_ifnet_link() do_link_state_change() taskqueue_run_locked() Sponsored by: Mellanox Technologies
This commit is contained in:
parent
427c402de2
commit
93cfeb0ed9
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=353549
@ -2353,9 +2353,9 @@ do_link_state_change(void *arg, int pending)
|
||||
if (log_link_state_change)
|
||||
if_printf(ifp, "link state changed to %s\n",
|
||||
(link_state == LINK_STATE_UP) ? "UP" : "DOWN" );
|
||||
NET_EPOCH_EXIT(et);
|
||||
EVENTHANDLER_INVOKE(ifnet_link_event, ifp, link_state);
|
||||
CURVNET_RESTORE();
|
||||
NET_EPOCH_EXIT(et);
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user