1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-12 09:58:36 +00:00
freebsd/sys
Andrew Gallatin 1f7ce05d1d Fix an off-by-one error when deciding to request a tx interrupt
The canonical check for whether or not a ring is drainable is
TXQ_AVAIL() > MAX_TX_DESC() + 2.  Use this same construct here,
in order to avoid a potential off-by-one error where we might otherwise
fail to request an interrupt.

Reviewed by:	mmacy
Sponsored by:	Netflix
2018-05-07 18:11:22 +00:00
..
amd64 amd64: tweak the memmove comment regarding authorship 2018-05-07 17:37:07 +00:00
arm am335x_prcm: Delay the frequencies read check 2018-05-06 14:37:11 +00:00
arm64 arm64: rockchip: cru: Call clk_set_assigned 2018-05-07 07:31:25 +00:00
bsm
cam Refactor dadone(). There was no useful code sharing in it; it was just 2018-05-01 21:42:27 +00:00
cddl Make it easier for filesystems to count themselves as jail-enabled, 2018-05-04 20:54:27 +00:00
compat Make it easier for filesystems to count themselves as jail-enabled, 2018-05-04 20:54:27 +00:00
conf amd64: replace libkern's memset and memmove with assembly variants 2018-05-07 15:07:28 +00:00
contrib MFV: r333077 2018-05-01 19:17:38 +00:00
crypto opencrypto: Integrate Chacha20 algorithm into OCF 2018-03-29 04:02:50 +00:00
ddb Restore db_radix on parse error, otherwise we'll silently change it to 2018-04-17 15:44:05 +00:00
dev clk: clk_set_assigned: Skip frequency of value 0 2018-05-07 09:42:35 +00:00
dts arm: overlays: Update to new path-based sugar format 2018-05-04 14:38:48 +00:00
fs msdosfs: use vfs_timestamp() to generate timestamps instead of getnanotime(). 2018-05-06 21:29:29 +00:00
gdb amd64: Protect the kernel text, data, and BSS by setting the RW/NX bits 2018-03-06 14:28:37 +00:00
geom Refactor some of the MI kernel dump code in preparation for netdump. 2018-05-06 00:22:38 +00:00
gnu gnu/dts: Update our copy of arm dts from Linux 4.16 2018-04-20 19:37:08 +00:00
i386 Implement support for ifuncs in the kernel linker. 2018-05-03 21:37:46 +00:00
isa Revert r330780, it was improperly tested and results in taking a spin 2018-03-11 20:13:15 +00:00
kern Boost thread priority while changing CPU frequency 2018-05-07 15:24:03 +00:00
kgssapi
libkern iconv uses strlen directly on user supplied memory 2018-02-26 18:23:36 +00:00
mips Print the dump progress indicator after calling dump_start(). 2018-05-01 17:32:43 +00:00
modules cxgbe(4): Update all firmwares to 1.19.1.0. 2018-05-05 20:16:08 +00:00
net Fix an off-by-one error when deciding to request a tx interrupt 2018-05-07 18:11:22 +00:00
net80211 Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
netgraph Correct pseudo misspelling in sys/ comments 2018-02-23 18:15:50 +00:00
netinet Keep CARP state as INIT when net.inet.carp.allow=0. 2018-05-07 14:44:55 +00:00
netinet6 r333175 introduced deferred deletion of multicast addresses in order to permit the driver ioctl 2018-05-06 20:34:13 +00:00
netipsec Merge r1.22-1.23 from NetBSD: 2018-04-26 12:23:31 +00:00
netpfil Retire ixgb(4) 2018-05-02 15:59:15 +00:00
netsmb
nfs Remove support for FDDI networks. 2018-04-11 17:28:24 +00:00
nfsclient
nfsserver
nlm
ofed Improve copy-and-pasted versions of SIOCGIFADDR. 2018-03-27 20:51:49 +00:00
opencrypto cryptosoft: Do not exceed crd_len around *crypt_multi 2018-04-19 15:24:21 +00:00
powerpc Add support for powernv POWER9 MMU initialization 2018-05-05 16:00:02 +00:00
riscv Remove the unused fuwintr() and suiwintr() functions. 2018-04-17 18:04:28 +00:00
rpc
security Use an accessor function to access ifr_data. 2018-03-30 18:50:13 +00:00
sparc64 Retire ixgb(4) 2018-05-02 15:59:15 +00:00
sys With the fall-back hack for lint gone, I have no copyright claim on this file. 2018-05-06 21:22:46 +00:00
teken Pedantic polishing of code to please FlexeLint. 2018-04-08 19:23:50 +00:00
tests
tools Add dtb overlays support 2018-03-24 21:30:24 +00:00
ufs Renumber soft-update types starting at 1 instead of 0 to avoid confusion 2018-04-05 00:32:01 +00:00
vm Fix some races introduced in r332974. 2018-05-04 17:17:30 +00:00
x86 x86 cpususpend_handler: call wbinvd after setting suspend state bits 2018-05-07 12:22:25 +00:00
xdr
xen xen: fix gntdev 2018-05-02 10:19:17 +00:00
Makefile