1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys
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
..
amd64 Factor out common ioport handler code for better hygiene -- pointed 2014-04-22 16:13:56 +00:00
arm Remove uncessary cache and TLB maintenance ops. 2014-04-20 18:21:05 +00:00
boot Add the initial version of if_nf10bmac(4), a driver to support an 2014-04-17 12:33:26 +00:00
bsm IFp4 @1192291: 2014-04-07 20:44:00 +00:00
cam Properly pass the initiator address when running in proxy mode. 2014-04-16 11:00:10 +00:00
cddl MFV r264668: 2014-04-18 22:04:58 +00:00
compat In freebsd32_sendmsg(), replace the call to sockargs() followed by a 2014-04-05 18:56:01 +00:00
conf Really, really, really only allow this option for amd64/i386 builds. 2014-04-09 18:44:54 +00:00
contrib Implement the final missing sysctls by moving ipf_auth_softc_t from 2014-04-07 19:32:56 +00:00
crypto NO_MAN= has been deprecated in favor of MAN= for some time, go ahead 2014-04-13 05:21:56 +00:00
ddb ddb: Minor style cleanups. 2014-03-31 16:37:41 +00:00
dev Check that port is started when MAC filter is set 2014-04-22 20:19:09 +00:00
fs Fixes mkdir for the NFSv2 client that was broken by r264705. 2014-04-22 04:42:46 +00:00
gdb
geom Keep geom_uncompress(4) in line with geom_uzip(4), bring in the r264504 fix. 2014-04-22 18:08:34 +00:00
gnu
i386 Don't build EISA by default anymore. Remove from i386 GENERIC and 2014-04-18 16:53:06 +00:00
ia64 Rename __wchar_t so it no longer conflicts with __wchar_t from clang 3.4 2014-04-01 14:46:11 +00:00
isa Remove vestiges of knowing the ISA bus, which we gave up on around 20 2014-03-19 21:03:04 +00:00
kern Fix a comment typo; conversion tables are for leap years, not leap seconds. 2014-04-20 13:37:22 +00:00
kgssapi
libkern
mips Fix typo and case inconsistency in MIPS CP0 register names. 2014-04-17 20:42:03 +00:00
modules Don't build EISA by default anymore. Remove from i386 GENERIC and 2014-04-18 16:53:06 +00:00
net Backport from projects/pf r263908: 2014-04-20 09:17:48 +00:00
net80211 Remove IPX support. 2014-03-14 02:58:48 +00:00
netgraph Remove AppleTalk support. 2014-03-14 06:29:43 +00:00
netinet Add {} braces so that the code conforms to the indentation. 2014-04-21 19:17:19 +00:00
netinet6 Remove unused variable. 2014-04-17 06:40:11 +00:00
netipsec Remove _IP_VHL* macros and related ifdefs. 2014-04-16 05:31:54 +00:00
netnatm
netpfil Backport from projects/pf r263908: 2014-04-20 09:17:48 +00:00
netsmb Remove redundant unlock. 2014-04-17 12:22:08 +00:00
nfs
nfsclient
nfsserver Update kernel inclusions of capability.h to use capsicum.h instead; some 2014-03-16 10:55:57 +00:00
nlm Correct a typo in nlm_find_host_by_addr(): the intention of the 2014-03-11 00:25:55 +00:00
ofed Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
opencrypto allow the kern.cryptodevallowsoft sysctl to enable symetric/hashes too... 2014-03-11 01:45:46 +00:00
pc98 MFi386: r257858 (by kib) 2014-04-20 05:40:13 +00:00
pci Increase the number of TX DMA segments from 32 to 35. It turned 2014-03-31 01:54:59 +00:00
powerpc Small performance optimization. Clobber only cr0, rather than the entire CR. 2014-04-11 06:17:44 +00:00
rpc
security audit: plug FILEDESC_LOCK leak in audit_canon_path. 2014-03-21 01:30:33 +00:00
sparc64 Rename __wchar_t so it no longer conflicts with __wchar_t from clang 3.4 2014-04-01 14:46:11 +00:00
sys sys/capsicum.h: Remove not very useful visibility guards. 2014-04-19 22:18:57 +00:00
teken
tools Update NetBSD Foundation copyrights to 2-clause BSD 2014-03-18 01:40:25 +00:00
ufs Update comment to explain search order reverted to historical order 2014-03-22 11:26:39 +00:00
vm Rename global cnt to vm_cnt to avoid shadowing. 2014-03-22 10:26:09 +00:00
x86 Make this compile with gcc. 2014-04-05 22:43:18 +00:00
xdr
xen Make this compile with gcc. 2014-04-05 22:43:18 +00:00
Makefile Remove AppleTalk support. 2014-03-14 06:29:43 +00:00