diff options
author | thompsa <thompsa@FreeBSD.org> | 2012-04-20 10:06:28 +0000 |
---|---|---|
committer | thompsa <thompsa@FreeBSD.org> | 2012-04-20 10:06:28 +0000 |
commit | b85b9300bc3e968d4d6ce9f8f09fdedb3311f928 (patch) | |
tree | b70349db1b9a2ef1fda9b36f231b3c521de3d29e /sys/net/bridgestp.h | |
parent | 5ffa03204ccf2735f460fb6731c0c73d0ac11d17 (diff) | |
download | FreeBSD-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.h | 1 |
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; }; /* |