freebsd-dev/sys
Artur Rojek cb98c439d6 ena: Add locking assertions
ENA silently assumed that ena_up, ena_down and ena_start_xmit routines
should be called within locked context. Driver's logic heavily assumes
on concurrent access to those routines, so for safety and better
documentation about this assumption, the locking assertions were added
to the above functions.

The assertion was added only for the main steps (skipping the helper
functions) which can be called from multiple places including the kernel
and the driver itself.

Obtained from: Semihalf
MFC after: 2 weeks
Sponsored by: Amazon, Inc.
2021-09-02 01:06:21 +02:00
..
amd64 amd64: correctly calculate KVA of the preloaded ucode blob 2021-08-31 04:46:12 +03:00
arm Revert "arm: Bump KSTACK_PAGES default to match i386/amd64" 2021-09-01 13:13:27 -07:00
arm64 qoriq_dw_pci: Fix typo in link status checking code 2021-08-31 06:22:33 +02:00
bsm
cam cam: revert second half of 75b5caa08e 2021-09-01 09:35:27 +00:00
cddl Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
compat syscalls.master: switch to CAPENABLED flags 2021-09-01 21:58:16 +01:00
conf syscalls.master: switch to CAPENABLED flags 2021-09-01 21:58:16 +01:00
contrib zfs: merge openzfs/zfs@3b89d9518 (master) into main 2021-08-31 09:02:21 +02:00
crypto aesni: Avoid a potential out-of-bounds load in aes_encrypt_icm() 2021-08-30 14:22:20 -04:00
ddb Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
dev ena: Add locking assertions 2021-09-02 01:06:21 +02:00
dts Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
fs unionfs: style 2021-09-01 07:55:37 -07:00
gdb
geom graid: Avoid tasting devices with small sector sizes 2021-08-31 17:09:52 -04:00
gnu
i386 Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
isa
kern syscalls.master: correct formatting issues 2021-09-01 21:58:22 +01:00
kgssapi
libkern libkern: remove bcopy 2021-08-24 11:24:07 +00:00
mips Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
modules zfs: merge openzfs/zfs@3b89d9518 (master) into main 2021-08-31 09:02:21 +02:00
net pf: Add counters for syncookies 2021-09-01 12:02:19 +02:00
net80211 Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
netgraph routing: Allow using IPv6 next-hops for IPv4 routes (RFC 5549). 2021-08-22 22:56:08 +00:00
netinet sctp: Always check for a vanishing inpcb when processing COOKIE-ECHO 2021-09-01 10:28:17 -04:00
netinet6 inet6(4): Fix a few common typos in source code comments 2021-08-28 18:53:59 +02:00
netipsec ipsec: fix race condition in key.c 2021-08-13 12:52:38 +02:00
netpfil pf: import pf_set_protostate() from OpenBSD 2021-09-01 12:02:19 +02:00
netsmb
nfs
nfsclient
nfsserver
nlm
ofed routing: Allow using IPv6 next-hops for IPv4 routes (RFC 5549). 2021-08-22 22:56:08 +00:00
opencrypto ktls: Support asynchronous dispatch of AEAD ciphers. 2021-08-30 13:11:52 -07:00
powerpc Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
riscv sifive_spi: Add missing case for SPIBUS_MODE_NONE 2021-08-30 23:38:02 +01:00
rpc rpc: Make function tables const 2021-08-14 11:26:12 -04:00
security
sys ktls: Support asynchronous dispatch of AEAD ciphers. 2021-08-30 13:11:52 -07:00
teken
tests routing: add IPv6 fib validation procedure. 2021-08-16 23:04:01 +00:00
tools makesyscalls.lua: add a CAPENABLED flag 2021-09-01 21:58:06 +01:00
ufs ffs_update(): Do not assume that EBUSY can only come LK_NOWAIT trylock 2021-08-31 07:38:35 +03:00
vm vm: use __func__ for the correct function name 2021-08-22 17:43:12 +00:00
x86 Create sys/reg.h for the common code previously in machine/reg.h 2021-08-30 12:50:53 +01:00
xdr
xen
Makefile