summaryrefslogtreecommitdiffstats
path: root/sys/net/bridgestp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/bridgestp.c')
-rw-r--r--sys/net/bridgestp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/bridgestp.c b/sys/net/bridgestp.c
index 7d92b2b..9472149 100644
--- a/sys/net/bridgestp.c
+++ b/sys/net/bridgestp.c
@@ -2069,6 +2069,7 @@ bstp_modevent(module_t mod, int type, void *data)
bstp_linkstate_p = bstp_linkstate;
break;
case MOD_UNLOAD:
+ bstp_linkstate_p = NULL;
mtx_destroy(&bstp_list_mtx);
break;
default:
OpenPOWER on IntegriCloud