Age | Commit message (Collapse) | Author |
|
|
|
allow resources that are only 5 bytes long. Prevents dmesg spamming
on the OQO.
|
|
|
|
Ok: miod, tedu
|
|
|
|
From Laurence Tratt; thanks!
|
|
pretend there was no match. This prevents pf_state_insert()
to fail with duplicate keys. OK henning@, mcbride@
|
|
pointed out by krw@
|
|
|
|
|
|
mutex with ipl set to IPL_HIGH. While i'm here, unify the code with
i386, by giving the same lock to the i386 code.
This lock is mostly for MP, but could actually prevent a race where a
process is doing pci_conf_{read,write}, and then an interrupt fire and
also does pci_conf_{read,write}. Since this is a two stage process, the
interrupt could race with the one, causing the value to the written to
the wrong place, or the wrong value to be written.
Tested by many. "go ahead" kettenis@.
|
|
hash the VLAN priority; ok henning@
|
|
to prevent the hwm growing beyond that. this allows the livelock mitigation
to do something where the hwm used to grow beyond twice the rx rings size.
ok kettenis@ claudio@
|
|
compiled into drm. I'd forgotten about that. if DRMDEBUG is defined,
build in the printfs, else no-op them. Shaves a bunch of string from the
kernel
Fix two cases in mach64_irq.c where this would lead to unused variable
warnings.
Reminded by an entirely different comment by djm@.
|
|
This is so we can update libdrm, where some of the types in there depend
on these defines. This interface may well not be the one that ends up
being used when we finally have kernel modesetting working, so add a
comment to that effect.
after discussion with matthieu@ and miod@, ok miod@.
|
|
this way we can avoid putting a full node structure (which is huge)
on the stack in ieee80211_find_node().
this is a bit tricky but the RB_FIND macro wants an "elem" structure,
not a field of "elem".
|
|
this reduces memory footprint and avoids a stack usage warning in
ieee80211_find_node() that breaks amd64 build.
pointed out by landry@
|
|
with other net80211 flags (we no longer need to shift.)
|
|
- implement A-MPDU frames buffering and reordering
- implement A-MSDU decapsulation
- process/send ADDBA Request, ADDBA Response and DELBA action frames
- process Block Ack Request control frames (including MTBAR)
- implement PBAC support (Protected Block Ack)
- add some incomplete HT Capabilities and HT Operation IEs parsing
Add more Management Frame Protection bits based on 802.11w Draft 7.0:
- implement SA Query procedure (both AP and STA)
- cleanup BIP
Fix some bugs:
- fix check for WEP key length that otherwise caused a stack smash in
ieee80211_wep_encrypt (pointed out by Xavier Santolaria on macppc)
- properly stop EAPOL timeout: fixes a panic that occured in HostAP mode
when turning the interface down while a 4-way handshake is in progress
(pointed out by Doughertys)
Did some code cleanup too.
The HT bits are currently not compiled in (IEEE80211_NO_HT is defined)
because they won't be ready until after the next release and I didn't
want to grow the kernel or to inadvertently introduce new bugs.
They are here such that other people can look at the code.
Notice that I had to add an extra parameter to ic_send_mgmt() for
action frames, that is why there are small changes in drivers defining
their own ic_send_mgmt() handler.
Sorry for the not very incremental diff but this has been sitting in
my tree for too long now.
|
|
OK dlg@
|
|
ok grange@, oga@, todd@
|
|
ok form@ kettenis@
|
|
|
|
68040 systems where cpuspeed is only 3/8 of the intended value.
|
|
fail hdopen().
|
|
(this was supposed to have been fixed in r1.25, but there was still a
missing check).
|
|
use with dfu-util. tested with openmoko by ian@. ok miod@
|
|
(that I applied to a clean tree to commit)
|
|
timeouts. Rrids us of the ugly cur_sec variable, and some shadows.
Also helps with granularity.
Diff from blambert@ who asked me to commit this since he's away for
some days and we wanted to put this in with the timespec changes in
the nfsnode.
|
|
mtime, gives us better granularity, helps with cache consistency.
Idea lifted from NetBSD.
OK blambert@
|
|
VA_EXCLUSIVE. Handle this in NFS, also in NFS use arc4random()
for the create verifier instead of an uninitialized long and
the address of the first interface (which is likely to be lo0).
Lifted from NetBSD with small tweaks;
"looks good", miod@
OK blambert@
|
|
|
|
* .status should never stay at OK permanently
* use .flags more sparingly
ok mk
|
|
prompted by David <dunnoseriously _att_ gmail.com>
|
|
from David <dunnoseriously _att_ gmail.com>
ok blambert@
|
|
dmesg spam produced by the mistakes noticed by stsp@, thanks
|
|
ok phessler@ miod@
|
|
environment sensors. These are found at least on VIA Epia SN18000G
boards.
Not enabled at 0x162e and 0x164e because probing these may not be
safe according to kettenis (guess where my schsio is).
Much help from kettenis. Input from const and fgs.
ok kettenis
|
|
of all windows.
|
|
of panicing.
ok drahn@
|
|
ok jsg@, miod@
|
|
the udp receive space got completely filled up. Even if the next
packet from the server was a small reply, it got dropped by
udp_input(). After a second the client resent the NFS request.
Doubling rcvreserve reduces the chance of retransmits by having
enough recv space for multiple NFS replies even if there comes a
big one.
found with pedro@, ok blambert@, thib@, pedro@
|
|
of 5 cases. In the functions nfs_reconnect() and nfs_reply() put
the TAILQ_FOREACH over nfs_reqq also inside splsoftnet() protection.
found with pedro@, ok blambert@, pedro@, thib@
|
|
from/tested by Joerg Niendorf in pr 6053.
|
|
|
|
Joerg Niendorf in pr 6053.
|
|
ensure 'c' always has the correct size as the rest of the kernel
assumes. Thus prevent dd'ing causing a SCSI out-of-bounds error.
ok miod@
|
|
No functional changes.
ok krw@ miod@
|
|
value of kern.clockrate with sysctl(3) correctly sets errno on failure.
PR #6040, ok tedu@
|
|
its country code, but I had forgotten one line in the layout table.
This now picks the correct layout for swedish and british (uk) sun keyboards.
|