George V. Neville-Neil 092a178372 Check that port is started when MAC filter is set
The MAC filter set may be called without softc_lock held in the case of
SIOCADDMULTI and SIOCDELMULTI ioctls. The ioctl handler checks IFF_DRV_RUNNING
flag which implies port started, but it is not guaranteed to remain.
softc_lock shared lock can't be held in the case of these ioctls processing,
since it results in failure where kernel complains that non-sleepable
lock is held in sleeping thread.

Both problems are repeatable on LAG with LACP proto bring up.

Submitted by:   Andrew Rybchenko <Andrew.Rybchenko at oktetlabs.ru>
Sponsored by:   Solarflare Communications, Inc.

MFC after:	2 weeks
2014-04-22 20:19:09 +00:00
..
2014-04-07 20:44:00 +00:00
2014-04-18 22:04:58 +00:00
2014-03-31 16:37:41 +00:00
2014-04-20 09:17:48 +00:00
2014-03-14 02:58:48 +00:00
2014-03-14 06:29:43 +00:00
2014-04-17 06:40:11 +00:00
2014-04-17 12:22:08 +00:00
2014-04-20 05:40:13 +00:00
2014-04-05 22:43:18 +00:00
2014-04-05 22:43:18 +00:00
2014-03-14 06:29:43 +00:00