summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* noop change so RUN->RUN transition isn't considered invalidsam2005-01-241-1/+2
| | | | (it happens on ibss merge)
* add macros to convert between txop's and usecssam2005-01-241-0/+2
|
* Fixup radiotap handling of FCS and QoS frames per discussion with David Young:sam2005-01-242-43/+16
| | | | | | | | | | | | o mark rx frames including FCS in the payload with the IEEE80211_RADIOTAP_F_FCS flag o remove hack to copy 802.11 headers with padding out of line; instead mark the frames with IEEE80211_RADIOTAP_F_DATAPAD and require applications to do the work o split precalculated radiotap flags into tx+rx now that they can be different Note the full usefulness of these changes depends on updates to applications that process radiotap data.
* spell "file system" correctlycharnier2005-01-243-3/+3
| | | | Approved by: ru
* beacon handling fixups for adhoc mode:sam2005-01-241-12/+21
| | | | | | | | | | o don't reclaim any previous beacon state in ath_beacon_alloc; do it explicitly in ath_newstate o reference count the node held in the beacon frame state block o process ibss merge more intelligently; let the state machine do the right thing instead of explicitly setting the new bssi id o explicitly stop tx dma before doing beacon setup to handle the ibss merge case
* spell "file system" correctlycharnier2005-01-241-6/+6
| | | | Approved by: ru
* spell "file system" correctlycharnier2005-01-242-4/+4
| | | | Approved by: ru
* switch to use bus_dmamap_load_mbuf_sgsam2005-01-241-25/+13
|
* o correct beacon interval calculation; the internal setting is in TU's not mssam2005-01-241-7/+4
| | | | o replace the private macro to convert MS->TU with the common one
* o clarify that beacon interval settings are in TU's, not mssam2005-01-241-3/+6
| | | | o add macros to convert between TU's and ms
* statically allocate the station/neighbor node table; the deferredsam2005-01-249-175/+76
| | | | | allocation scheme introduced a race condition during device state transitions
* There have been a substantial number of changes to this file from theimp2005-01-241-1/+28
| | | | NetBSD original, so add our copyright notice as well.
* Begin the first phase of trying to add IRP support (and ultimatelywpaul2005-01-249-820/+1340
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | USB device support): - Convert all of my locally chosen function names to their actual Windows equivalents, where applicable. This is a big no-op change since it doesn't affect functionality, but it helps avoid a bit of confusion (it's now a lot easier to see which functions are emulated Windows API routines and which are just locally defined). - Turn ndis_buffer into an mdl, like it should have been. The structure is the same, but now it belongs to the subr_ntoskrnl module. - Implement a bunch of MDL handling macros from Windows and use them where applicable. - Correct the implementation of IoFreeMdl(). - Properly implement IoAllocateMdl() and MmBuildMdlForNonPagedPool(). - Add the definitions for struct irp and struct driver_object. - Add IMPORT_FUNC() and IMPORT_FUNC_MAP() macros to make formatting the module function tables a little cleaner. (Should also help with AMD64 support later on.) - Fix if_ndis.c to use KeRaiseIrql() and KeLowerIrql() instead of the previous calls to hal_raise_irql() and hal_lower_irql() which have been renamed. The function renaming generated a lot of churn here, but there should be very little operational effect.
* Markup and grammar fixes.ru2005-01-243-23/+31
|
* Add an entry for Magic Ram, Inc's ETHERNET PC CARD 933926 card I justimp2005-01-241-0/+9
| | | | | won on ebay. Also, add a pointer to the PCMCIA's web site for the registered tuples (== manufacturer ID's).
* o Reorganize the previous delta to make it more style(9) compliant.maxim2005-01-241-3/+5
| | | | | | Submitted by: ru o Reduce an amount of memory we ask in advance.
* When "no_ccache" is set as an argument to the pam_krb5 module, don'trwatson2005-01-241-0/+4
| | | | | | | | | copy the acquired TGT from the in-memory cache to the on-disk cache at login. This was documented but un-implemented behavior. MFC after: 1 week PR: bin/64464 Reported and tested by: Eric van Gyzen <vangyzen at stat dot duke dot edu>
* Fix spelling in a comment.yar2005-01-241-1/+1
|
* Fix NULL pointer dereference bug when parsing IPV6CP traffic.bms2005-01-241-1/+5
| | | | | | | | | | This file is already off the vendor branch, and the fix will be in future tcpdump.org vendor branch imports. PR: bin/76497 MFC after: 1 week Obtained from: tcpdump.org rev 1.89.2.4 Discussed with: fenner, keramida
* Save a line by unlocking before we test.phk2005-01-241-2/+1
|
* Change vprint() to vn_printf() which takes varargs.phk2005-01-242-13/+17
| | | | Add #define for vprint() to call vn_printf().
* Fix an evil typo.glebius2005-01-241-1/+1
| | | | | Submitted by: Roselyn Lee MFC after: 3 days
* Remove unused cred argument to ext2_reload()phk2005-01-242-12/+6
|
* o Try hard to guess a buffer size for a fast growing routing table.maxim2005-01-241-5/+15
| | | | | | | | An approach taken from killall/killall.c. PR: bin/76075 Submitted by: Dmitrij Tejblum MFC after: 3 weeks
* Kill the VV_OBJBUF and test the v_object for NULL instead.phk2005-01-247-15/+7
|
* Fix a list corruption issue in cloning device management using thephk2005-01-241-16/+41
| | | | | western strategy ("allocate first, ask questions later") so we can extend the devmtx coverage to the clone list.
* Remove "register" keywords.phk2005-01-241-2/+2
|
* Remove unused cred arg from nfs_vinvalbuf() and many bogus argumentsphk2005-01-245-29/+21
| | | | passed for it.
* - Convert so_qlen, so_incqlen, so_qlimit fields of struct socket fromglebius2005-01-242-8/+29
| | | | | | | | | | | short to unsigned short. - Add SYSCTL_PROC() around somaxconn, not accepting values < 1 or > U_SHRTMAX. Before this change setting somaxconn to smth above 32767 and calling listen(fd, -1) lead to a socket, which doesn't accept connections at all. Reviewed by: rwatson Reported by: Igor Sysoev
* Polish style.phk2005-01-241-9/+4
|
* Style: Remove the commented out vop_foo_args replicas.phk2005-01-241-103/+15
|
* Update man pages to be in line with guidelines for IPv6 in FreeBSD.gnn2005-01-243-653/+17
| | | | | | | | | FreeBSD currently implements the most up to date IPv6 APIs for option and route header parsing. This checkin marks the older APIs as deprecated and points the reader to the newer pages. Reviewed by: Jun-ichiro Itojun Approved by: rwatson (mentor)
* - Somehow I mangled KTR_CRITICAL.jeff2005-01-241-1/+1
| | | | Spotted by: ru
* - Regen for recent vfs syscall changes.jeff2005-01-245-51/+51
| | | | Sponsored By: Isilon Systems, Inc.
* - Change all VFS syscalls to MSTD as they all manually deal with giantjeff2005-01-241-46/+46
| | | | | | or the appropriate filesystem locks. Sponsored By: Isilon Systems, Inc.
* - Remove GIANT_REQUIRED where giant is no longer required.jeff2005-01-244-22/+29
| | | | | | | - Use VFS_LOCK_GIANT() rather than directly acquiring giant in places where giant is only held because vfs requires it. Sponsored By: Isilon Systems, Inc.
* - Don't acquire giant around calls to bufdone().jeff2005-01-241-2/+0
| | | | Sponsored By: Isilon Systems, Inc.
* - Add CTR calls to trace the lifecycle of a buffer.jeff2005-01-241-79/+84
| | | | | | | | | | | | | | | | | - Remove some KASSERTs which are invalid if the appropriate lock is not held. - Slightly restructure bremfree() so that it is more sane. - Change the flush code in bdwrite() to avoid acquiring a mutex whenever possible. - Change the flush code in bdwrite() to avoid holding the bufobj mutex while calling buf_countdeps(). This introduces a lock-order relationship with the softdep lock that can not otherwise be resolved. - Don't set B_DONE until bufdone() is complete, otherwise another processor may believe the buf is done before it is. - Only acquire Giant if the caller has set b_iodone. Don't grab giant around normal bufdone() calls. Sponsored By: Isilon Systems, Inc.
* - Add the tunable and sysctl for the mpsafevfs. It currently defaultsjeff2005-01-241-37/+49
| | | | | | | | | | | | | | | to off. - Protect access to mnt_kern_flag with the mointpoint mutex. - Remove some KASSERTs which are not legal checks without the appropriate locks held. - Use VCANRECYCLE() rather than rolling several slightly different checks together. - Return from vtryrecycle() with a recycled vnode rather than a locked vnode. This simplifies some locking. - Remove several GIANT_REQUIRED lines. - Add a few KASSERTs to help with INACT debugging. Sponsored By: Isilon Systems, Inc.
* - Add a VCANRECYCLE() which performs all the checks required to ensurejeff2005-01-241-0/+6
| | | | that we are free to release a vnode.
* - Remove GIANT_REQUIRED where giant is no longer required.jeff2005-01-241-6/+0
| | | | Sponsored By: Isilon Systems, Inc.
* - Remove GIANT_REQUIRED where it is no longer required.jeff2005-01-241-4/+0
| | | | Sponsored By: Isilon Systems, Inc.
* - Remove GIANT_REQUIRED where giant is no longer required.jeff2005-01-241-54/+81
| | | | | | | | | | | | | - Protect access to mnt_kern_flag with the mountpoint mutex. - Use the appropriate nd flags to deal with giant in vn_open_cred(). We currently determine whether the caller is mpsafe by checking for a valid fdidx. Any caller coming from user-space is now mpsafe and supplies a valid fd. No kenrel callers have been converted to mpsafe, so this check is sufficient for now. - Use VFS_LOCK_GIANT instead of manual giant acquisition where appropriate. Sponsored By: Isilon Systems, Inc.
* - Protect mnt_kern_flag with the mountpoint's mutex. This is requiredjeff2005-01-241-7/+11
| | | | | | to make the suspend related functions mpsafe. Sponsored By: Isilon Systems, Inc.
* - Acquire and release Giant as we enter and leave filesystems whichjeff2005-01-241-6/+37
| | | | | | | | | require it. - Track the status of Giant with the nd flag HASGIANT. - Release giant on return of namei() callers are not marked MPSAFE as they already own giant. Sponsored By: Isilon Systems, Inc.
* - Change all vfs syscalls to use VFS_LOCK_GIANT(), and MPSAFE nds.jeff2005-01-242-200/+532
| | | | | | | - Move Giant acquisition into the few vfs syscalls that weren't already directly acquiring it. Sponsored By: Isilon Systems, Inc.
* - Simplify the cache locking. The lock order relationship with thejeff2005-01-241-37/+33
| | | | | | | | | vnode lock is much simpler than I originally thought it would be. Now, the cache lock is always acquired before the vnode lock. - Provide some gotos in __getcwd() to simplify the unlocking a bit. - Move Giant acquisition down into __getcwd(). Sponsored By: Isilon Systems, Inc.
* - Do not use APAUSE if LK_INTERLOCK is set. We lose synchronizationjeff2005-01-241-10/+19
| | | | | | | | if the lockmgr interlock is dropped after the caller's interlock is dropped. - Change some lockmgr KTRs to be slightly more helpful. Sponsored By: Isilon Systems, Inc.
* - Use VFS_LOCK_GIANT() in place of mtx_lock(&giant), etc.jeff2005-01-241-9/+9
| | | | Sponsored By: Isilon Systems, Inc.
* - Convert the global LK lock to a mutex.jeff2005-01-241-738/+454
| | | | | | | | | | | | | | | | | - Expand the scope of lk to cover not only interrupt races, but also top-half races, which includes many new uses over global top-half only data. - Get rid of interlocked_sleep() and use msleep or BUF_LOCK where appropriate. - Use the lk mutex in place of the various hand rolled semaphores. - Stop dropping the lk lock before we panic. - Fix getdirtybuf() callers so that they reacquire access to whatever softdep datastructure they were inxpecting in the failure/retry case. Previously, sleeps in getdirtybuf() could leave us with pointers to bad memory. - Update handling of ffs to be compatible with ffs locking changes. Sponsored By: Isilon Systems, Inc.
OpenPOWER on IntegriCloud