summaryrefslogtreecommitdiffstats
path: root/sys/net/bridgestp.h
diff options
context:
space:
mode:
authorthompsa <thompsa@FreeBSD.org>2012-04-20 10:06:28 +0000
committerthompsa <thompsa@FreeBSD.org>2012-04-20 10:06:28 +0000
commitb85b9300bc3e968d4d6ce9f8f09fdedb3311f928 (patch)
treeb70349db1b9a2ef1fda9b36f231b3c521de3d29e /sys/net/bridgestp.h
parent5ffa03204ccf2735f460fb6731c0c73d0ac11d17 (diff)
downloadFreeBSD-src-b85b9300bc3e968d4d6ce9f8f09fdedb3311f928.zip
FreeBSD-src-b85b9300bc3e968d4d6ce9f8f09fdedb3311f928.tar.gz
Move the interface media check to a taskqueue, some interfaces (usb) sleep
during SIOCGIFMEDIA and we were holding locks.
Diffstat (limited to 'sys/net/bridgestp.h')
-rw-r--r--sys/net/bridgestp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/bridgestp.h b/sys/net/bridgestp.h
index e76cfe9..cbb8d53 100644
--- a/sys/net/bridgestp.h
+++ b/sys/net/bridgestp.h
@@ -326,6 +326,7 @@ struct bstp_port {
uint8_t bp_txcount;
struct task bp_statetask;
struct task bp_rtagetask;
+ struct task bp_mediatask;
};
/*
OpenPOWER on IntegriCloud