Make sure the aggregate fields are properly cleared - both in the
ath_buf and when forming a non-aggregate frame.

The non-11n setds function is called when TXing aggregate frames (and
yes, I should fix this!) and the non-11n TX aggregation code doesn't clear
the delimiter field.  I figure it's nicer to do that.


git-svn-id: svn://svn.freebsd.org/base/head@240255 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove trailing whitespace.


git-svn-id: svn://svn.freebsd.org/base/head@240256 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Remove clause 3 and 4 from the NetBSD Foundation copyright header, missed
in r203971.


git-svn-id: svn://svn.freebsd.org/base/head@240257 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Whitespace changes.

MFC after: 10 days


git-svn-id: svn://svn.freebsd.org/base/head@240263 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add removed if_pflow.h.


git-svn-id: svn://svn.freebsd.org/base/head@240264 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
For UDP transport set IP_RECVDSTADDR sockopt on the socket, and provide
IP_SENDSRCADDR control with datagram message we reply with. This makes
bsnmpd reply from exactly same address that request was sent to, thus
successfully bypassing stateful firewalls or other kinds of strict checking.

PR:		bin/171279


git-svn-id: svn://svn.freebsd.org/base/head@240271 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Make struct uboot_devdesc compatible with struct disk_devdesc.


git-svn-id: svn://svn.freebsd.org/base/head@240272 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Use disk_fmtdev() and disk_parsedev() functions from the new DISK API.


git-svn-id: svn://svn.freebsd.org/base/head@240273 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Update uboot's disk driver to use new DISK API.


git-svn-id: svn://svn.freebsd.org/base/head@240274 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Build disk.c only when DISK_SUPPORT is enabled.


git-svn-id: svn://svn.freebsd.org/base/head@240275 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Update according to the change of struct uboot_devdesc.


git-svn-id: svn://svn.freebsd.org/base/head@240276 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Handle LOADER_NO_DISK_SUPPORT knob in the arm and powerpc ubldr.


git-svn-id: svn://svn.freebsd.org/base/head@240277 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Document -quit, four and a half years after it was implemented.

MFC after:	3 days
Pointy hat to:	imp@


git-svn-id: svn://svn.freebsd.org/base/head@240278 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add support for host mode to the DWC OTG controller driver.
The DWC OTG host mode support should still be considered
experimental. Isochronous support for DWC OTG is not
fully implemented. Some code added derives from
Aleksandr Rybalko's dotg.c driver.


git-svn-id: svn://svn.freebsd.org/base/head@240279 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add support for DWC OTG.


git-svn-id: svn://svn.freebsd.org/base/head@240280 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add support for DWC OTG.


git-svn-id: svn://svn.freebsd.org/base/head@240281 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Implement missing USB suspend and resume support for DWC OTG driver.


git-svn-id: svn://svn.freebsd.org/base/head@240282 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add MNTK_LOOKUP_EXCL_DOTDOT struct mount flag, which specifies to the
lookup code that dotdot lookups shall override any shared lock
requests with the exclusive one. The flag is useful for filesystems
which sometimes need to upgrade shared lock to exclusive inside the
VOP_LOOKUP or later, which cannot be done safely for dotdot, due to
dvp also locked and causing LOR.

In collaboration with:	    pho
MFC after:	3 weeks


git-svn-id: svn://svn.freebsd.org/base/head@240283 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Add a facility for vgone() to inform the set of subscribed mounts
about vnode reclamation. Typical use is for the bypass mounts like
nullfs to get a notification about lower vnode going away.

Now, vgone() calls new VFS op vfs_reclaim_lowervp() with an argument
lowervp which is reclaimed. It is possible to register several
reclamation event listeners, to correctly handle the case of several
nullfs mounts over the same directory.

For the filesystem not having nullfs mounts over it, the overhead
added is a single mount interlock lock/unlock in the vnode reclamation
path.

In collaboration with:	pho
MFC after:	3 weeks


git-svn-id: svn://svn.freebsd.org/base/head@240284 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
Allow shared lookups for nullfs mounts, if lower filesystem supports
it.  There are two problems which shall be addressed for shared
lookups use to have measurable effect on nullfs scalability:

1. When vfs_lookup() calls VOP_LOOKUP() for nullfs, which passes lookup
operation to lower fs, resulting vnode is often only shared-locked. Then
null_nodeget() cannot instantiate covering vnode for lower vnode, since
insmntque1() and null_hashins() require exclusive lock on the lower.

Change the assert that lower vnode is exclusively locked to only
require any lock.  If null hash failed to find pre-existing nullfs
vnode for lower vnode and the vnode is shared-locked, the lower vnode
lock is upgraded.

2. Nullfs reclaims its vnodes on deactivation. This is due to nullfs
inability to detect reclamation of the lower vnode.  Reclamation of a
nullfs vnode at deactivation time prevents a reference to the lower
vnode to become stale.

Change nullfs VOP_INACTIVE to not reclaim the vnode, instead use the
VFS_RECLAIM_LOWERVP to get notification and reclaim upper vnode
together with the reclamation of the lower vnode.

Note that nullfs reclamation procedure calls vput() on the lowervp
vnode, temporary unlocking the vnode being reclaimed. This seems to be
fine for MPSAFE filesystems, but not-MPSAFE code often put partially
initialized vnode on some globally visible list, and later can decide
that half-constructed vnode is not needed.  If nullfs mount is created
above such filesystem, then other threads might catch such not
properly initialized vnode. Instead of trying to overcome this case,
e.g. by recursing the lower vnode lock in null_reclaim_lowervp(), I
decided to rely on nearby removal of the support for non-MPSAFE
filesystems.

In collaboration with:	pho
MFC after:	3 weeks


git-svn-id: svn://svn.freebsd.org/base/head@240285 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f