Age | Commit message (Collapse) | Author |
|
done this 4.5 years ago already but regressions happened; reminded by
a similar commit in NetBSD (from mrg@); ok damien@ deraadt@ jason@
|
|
of ciss_ioctl if >1 logical device is present. Fixes dereferencing of
uninitialized pointer.
From mickey@ ok deraadt@
|
|
ok deraadt@
|
|
interrupting at spl4 (i.e. below splnet) and this can cause pool corruption;
ok deraadt@
|
|
ok deraadt@
|
|
Spotted by tsi@, and shamelessly stolen from his diff. Fixes several
UltraSPARC-III machines wich have more than one memory bank filled.
ok deraadt@
|
|
ok deraadt@
|
|
|
|
tested dlg
ok dlg deraadt
|
|
ok deraadt@
|
|
virtual MAC address is set. Among other things, this makes route6d work
correctly on systems with carp interfaces.
In order to ensure backwards compatibility, we do not include IPv6
link-local addresses in generating the HMAC, but we accept HMACs with AND
without the link-local addresses. They will be added to the HMAC in a future
release.
In short: this change should only affect backwards compatibility for
IPv6 users who are manually adding link-local addresses on carp interfaces.
testing mtu@ todd@
ok mpf@ henning@ deraadt@
|
|
ok mickey, deraadt, krw
|
|
ok deraadt@
|
|
|
|
think it is there). On sparc64 try to read the local-mac-address property
from Open Firmware and as a last resort use the idprom property.
Hopefully fixes reading the station address on the Blade 1500.
ok deraadt@
|
|
at least this allows our boot blocks to work with glass console on these
machines now.
Caution: reading this code will hurt your eyes.
ok deraadt@
|
|
|
|
- check for error bits in descriptors, and count and report errors
accordingly; make sure we do not pass up known-to-be-bad packets up the
receive path.
- check for various error conditions which would cause the transmit process
to go to suspended state, and recover from them, before the timeout expires.
- finally, on the VXT2000, the transmit process for some reason will reset
its ring position to the beginning of the ring every time it completes a
transmission burst, while we don't, so play with the head of ring register
behind its back. This makes my VXT2000+ (net)boot multiuser.
Tested on VXT2000 (ze@vxtbus), KA49 (ze@vsbus) and KA53 (ze@ibus); ok deraadt@
|
|
|
|
numbers, reported by Raja Subramanian; ok henning@
|
|
as per other drivers instead of doing panics.
Should workaround PR 5206 which I could never manage
to reproduce, though we really shouldn't be getting
IEEE80211_CHAN_ANY here.
ok deraadt@
|
|
bytes each of them has, not the number of kilobytes. this solves the
"why am i dividing by 2" question. the answer is "you dont, you multiply
by 512".
|
|
|
|
ok deraadt@
|
|
Changes in the ERP information element and in the capinfo field were not
detected properly, so the drivers were not able to adjust their settings
(like short slot time, short preamble, protection mode etc...)
dynamically. Should fix BSS mode with both 802.11b and 802.11g stations.
ok reyk@
|
|
cosmetic tweaks.
ok reyk@
|
|
Instead of removing the rates from the node's rate set, just check that
the fixed rate is present in the rate set. Otherwise, the node will be
marked non-ERP which will force the use of protection mode (either
CTS-to-self or RTS/CTS) in an 802.11g network and degrade performance.
This fixes HostAP mode for 11g with a fixed rate.
Problem originally reported by Sam Fourman Jr.
Code from FreeBSD.
ok reyk@, "no objections here" jsg@
|
|
come without an attached SEEPROM.
ok deraadt@
|
|
formal ok deraadt@
|
|
as the resulting demotion counter value is in range. previously, we only
allowed +/- 1. ok mpf mcbride deraadt
|
|
already freed by ucom_close().
Problem reported and initial patch provided by Marc Winiger <marc@winiger.ch>
ok miod, deraadt
|
|
|
|
(for now, until the bugs are found. USIII machines remain serial-only
for now); ok miod
|
|
|
|
ok pedro@, miod@
|
|
The firmware expects 3KB Rx buffers so we can't just map mbuf clusters
which are only 2KB. Also it seems that Rx buffers must be aligned on
a 1KB boundary which is not necessary the case with mbuf clusters.
We want to make damn sure the firmware will not DMA anything outside the
mapped Rx buffers. The size of the Rx buffers is probably configurable
but Intel will refuse to answer to any question regarding the
programmation of the chipset, and a dump of the device registers led to
nowhere.
|
|
ok mpf@ henning@
|
|
|
|
|
|
(one not taken)
|
|
|
|
|
|
and drop such bad packets. Also remove some redundant mallocs.
This fixes possible heap overflows when forming replys to such bad
packets as discovered by Martin Husemann and Pavel Cahyna.
reported by NetBSD, initial diff from markus@,
additional comments by claudio@, ok markus@
|
|
Remove dead code chunk from if_pgt_pci.c.
For those who want to refer to the original code you can find it in
~mglocker/pgt/orig.
|
|
Needed to support onboard bge(4)'s on Sun machines which don't seem to be
fitted with the EEPROM that normally contains the MAC address.
ok brad@
|
|
|
|
|
|
instead.
requested by deraadt@
|
|
|
|
|