freebsd-nq/sys
Adrian Chadd b1f3262c73 Correctly initialise the TXQ link pointer to the last descriptor in
the last buffer in the list.

The current behaviour (due to me, so pointy hat is firmly on my head here)
was incorrect - it was setting the link pointer to the last descriptor
of the _first_ buffer in the TXQ.  Instead, it should have set it to the
last descriptor in the _last_ buffer in the TXQ.

This showed up as occasional TX stalls with frames in the TXQ but no
TX progress being made.  Further inspection showed the TXQ looked like
it contained multiple "lists" of frames - there'd be a list of correct
frames, then a NULL link pointer, but there'd be a next buffer in the
list.

Since this code is only called upon an interface reset, it's likely
this only began showing up when I started doing stress testing
in environments which annoy the radios enough to cause lockups.

I've not yet any TX stalls with this patch applied.

PR:		kern/165866
2012-03-08 23:53:38 +00:00
..
amd64 Disable the option VFS_ALLOW_NONMPSAFE by default on all the supported 2012-03-06 20:01:25 +00:00
arm Disable the option VFS_ALLOW_NONMPSAFE by default on all the supported 2012-03-06 20:01:25 +00:00
boot Add a note to clarify why we create a relocated copy of boot1 in lower 2012-03-06 20:45:13 +00:00
bsm
cam Add LUN resizing to CTL. Also make it possible to explicitly set 2012-03-06 13:43:57 +00:00
cddl Analogous to r232059, add a parameter for the ZFS file system: 2012-02-26 16:30:39 +00:00
compat Fix race condition in KfRaiseIrql(). 2012-03-04 17:08:43 +00:00
conf Provide wbwd(4), a driver for the watchdog timer found on various 2012-03-06 18:44:52 +00:00
contrib Merge from OpenBSD: 2012-03-08 09:20:00 +00:00
crypto Add support for the extended FPU states on amd64, both for native 2012-01-21 17:45:27 +00:00
ddb Use strchr() and strrchr(). 2012-01-02 12:12:10 +00:00
dev Correctly initialise the TXQ link pointer to the last descriptor in 2012-03-08 23:53:38 +00:00
fs Add support for ns timestamps and birthtime to the ext2/3 driver. 2012-03-08 21:06:05 +00:00
gdb kern cons: introduce infrastructure for console grabbing by kernel 2011-12-17 15:08:43 +00:00
geom Remove unactionable message about label geometry 2012-03-08 01:48:44 +00:00
gnu/fs Use new OSS-based BSD-licensed header for cs sound driver. 2012-02-01 21:38:01 +00:00
i386 Disable the option VFS_ALLOW_NONMPSAFE by default on all the supported 2012-03-06 20:01:25 +00:00
ia64 Disable the option VFS_ALLOW_NONMPSAFE by default on all the supported 2012-03-06 20:01:25 +00:00
isa - There's no need to overwrite the default device method with the default 2011-11-22 21:28:20 +00:00
kern Free up allocated memory used by posix_fadvise(2). 2012-03-08 20:34:13 +00:00
kgssapi Add missing break statement to make sure all 3DES etypes really are treated 2011-10-10 09:13:07 +00:00
libkern Implement extensions on top of standards instead of the other way around. 2012-01-03 07:05:30 +00:00
mips Get rid of duplicated versions of the KSU bits. 2012-03-06 23:08:02 +00:00
modules Provide wbwd(4), a driver for the watchdog timer found on various 2012-03-06 18:44:52 +00:00
net Move the vlan buffer space into the union which also fixes an unused variable 2012-03-07 07:22:53 +00:00
net80211 Add missing \n's. 2012-03-08 23:46:42 +00:00
netatalk Fix typos 2012-02-28 15:07:05 +00:00
netgraph Revert r231829, that was my braino. 2012-02-22 09:08:51 +00:00
netinet Change SYSINIT priorities so that ip_mroute_modevent() is executed 2012-03-04 18:59:38 +00:00
netinet6 In nd6_options() ignore the RFC 6106 options completely rather than printing 2012-03-04 18:51:45 +00:00
netipsec Add multi-FIB IPv6 support to the core network stack supplementing 2012-02-03 13:08:44 +00:00
netipx Convert all users of IF_ADDR_LOCK to use new locking macros that specify 2012-01-05 19:00:36 +00:00
netnatm
netncp Change ncp_scan_bindery_object() to pass a constant search string. 2011-10-16 08:44:03 +00:00
netsmb Add unicode support to msdosfs and smbfs; original pathes from imura, 2011-11-18 03:05:20 +00:00
nfs Add multi-FIB IPv6 support to the core network stack supplementing 2012-02-03 13:08:44 +00:00
nfsclient Post r230394, the Lookup RPC counts for both NFS clients increased 2012-03-03 01:06:54 +00:00
nfsserver Honor NFSv3 commit call (RFC 1813, Section 3.3.21) where when count is 0, 2011-12-15 02:26:53 +00:00
nlm jwd@ reported a problem via email to freebsd-fs@ on Aug 25, 2011 2012-01-31 02:11:05 +00:00
ofed Remove spurious 8bit chars, turning files into plain ASCII. 2012-01-15 13:23:54 +00:00
opencrypto Add the fo_chown and fo_chmod methods to struct fileops and use them 2011-08-16 20:07:47 +00:00
pc98 Disable the option VFS_ALLOW_NONMPSAFE by default on all the supported 2012-03-06 20:01:25 +00:00
pci Use correct Config registers for RTL8139 family. Unlike RTL8168 and 2012-02-25 04:54:51 +00:00
powerpc Disable the option VFS_ALLOW_NONMPSAFE by default on all the supported 2012-03-06 20:01:25 +00:00
rpc Both a crash reported on freebsd-current on Oct. 18 under the 2011-11-03 14:38:03 +00:00
security Remove direct access to si_name. 2012-02-10 12:35:57 +00:00
sparc64 Disable the option VFS_ALLOW_NONMPSAFE by default on all the supported 2012-03-06 20:01:25 +00:00
sys Add a new sched_clear_name() method to the scheduler interface to clear 2012-03-08 19:41:05 +00:00
teken Link the demo application against ncursesw to make Unicode work. 2011-10-13 14:20:27 +00:00
tools Make vnode_if.awk parse vnode operations with underscores, like VOP_FOO_BAR. 2012-02-21 19:35:59 +00:00
ufs Add KTR_VFS traces to track modifications to a vnode's writecount. 2012-03-08 20:27:20 +00:00
vm Add KTR_VFS traces to track modifications to a vnode's writecount. 2012-03-08 20:27:20 +00:00
x86 Copy amd64 ptrace.h to x86 and merge with i386 ptrace.h. Replace 2012-03-04 20:24:28 +00:00
xdr
xen blkif interface comment cleanups. No functional changes 2012-02-29 17:47:01 +00:00
Makefile Improve the cscope target's handling of MD directories. Automatically 2012-01-03 17:31:27 +00:00