summaryrefslogtreecommitdiffstats
path: root/sys/net/if_lagg.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2007-05-07 00:28:55 +0000
committerthompsa <thompsa@FreeBSD.org>2007-05-07 00:28:55 +0000
commit46904da6708bef5c82473bee8fa21f4e0d2a8730 (patch)
tree67b80c585fcd86344d00a12b18ee6d2d44484700 /sys/net/if_lagg.h
parentcaab23fd294a310227a4c2f4912f639cdebc28e2 (diff)
downloadFreeBSD-src-46904da6708bef5c82473bee8fa21f4e0d2a8730.zip
FreeBSD-src-46904da6708bef5c82473bee8fa21f4e0d2a8730.tar.gz
Avoid touching various unsafe parts if the interface is disappearing.
Diffstat (limited to 'sys/net/if_lagg.h')
-rw-r--r--sys/net/if_lagg.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/if_lagg.h b/sys/net/if_lagg.h
index 3c648f0..968568a 100644
--- a/sys/net/if_lagg.h
+++ b/sys/net/if_lagg.h
@@ -176,6 +176,7 @@ struct lagg_port {
int lp_ifflags; /* saved ifp flags */
void *lh_cookie; /* if state hook */
caddr_t lp_psc; /* protocol data */
+ int lp_detaching; /* ifnet is detaching */
SLIST_HEAD(__mclhd, lagg_mc) lp_mc_head; /* multicast addresses */
OpenPOWER on IntegriCloud