Age | Commit message (Collapse) | Author |
|
Fix a bug in sblock() that has existed since revision 1.1 from BSD:
correctly return an error if M_NOWAIT is passed to sblock() and the
operation might block. This remarkably subtle macro bug appears to
be responsible for quite a few undiagnosed socket buffer corruption
and mbuf-related kernel panics.
"diff is correct" todd@, "should go in asap" markus@
|
|
jal instructions.
|
|
|
|
"Yes" deraadt
|
|
|
|
|
|
|
|
|
|
add RSN IE to beacons, probe responses and (re)association requests.
|
|
|
|
|
|
|
|
|
|
from brad, ok millert beck miod krw igor deraadt
|
|
|
|
|
|
before it is removed from the multicast group in_delmulti() will try to
access the no longer available ifp.
We invalidate the ifa_ifp back pointer in the ifa in if_detach() now and use
the ifa_ifp in in_delmulti() instead of the internal inm_ifp. By doing it
this way we know if the interface was removed.
This fixes a kernel panic triggered by ospfd and gif(4) tunnels.
looks good henning@ reyk@
|
|
|
|
|
|
OK henning@
|
|
Fixes ICMP packet payload corruption on rdr.
OK henning@, markus@
|
|
offload", and associated man page change. To use IPv4 transmit TCP/UDP
checksum offloading you must again define BNX_CSUM.
As requested by mbalmer@ via deraadt@ on suggestion of reyk@ in
response to PR #5437.
|
|
|
|
can provide its own attach glue to ahci.
|
|
|
|
a default ieee80211_set_tim() function that drivers can override
by setting ic_set_tim.
|
|
|
|
is a hex value, so '-i 64' does not allocate enough space. Use '-i 0x64'
instead. Found by henning on boxes using ahd/ahc.
|
|
pointed out by claudio@
|
|
duplicate the same code multiple times.
add references to the spec for all these functions.
fixes beacon_alloc() for FH PHYs as a side-effect.
|
|
field if we're not operating as an AP (see 7.3.1.4).
|
|
|
|
the length is greater than MHLEN, test that the allocation succeeded.
Otherwise, free the mbuf header and return NULL.
Callers assume that if the function returns a value != NULL then
enough space has been allocated.
|
|
HIDENWID has been broken from the very beginning.
|
|
by hostapd and tcpdump. Now tcpdump and hostapd should build again.
|
|
userland is using these defines -- unbreaks build. Found by jasper@
discussed with reyk@.
|
|
ttyname_r returns an error number, rather than setting errno.
ok millert
|
|
Previously, files in the 'Attic/' were linked into our filelist as being
'Attic/filename,v' this caused unneeded stress on certain functions
like cvs_file_classify() who had to do pointer voodoo to split out
the 'Attic/' part and do other very weird stuff to normalize the pathname
of these files.
Instead, we handle these files early in the start when we
build the fileslist in cvs_repository_getdir(). When encountering
the 'Attic/' directory, we recurse in it if required but instead of
using the 'Attic/' directory component as our base directory we stick
with the directory name where 'Attic/' resides in, resulting in the
correct filename while maintaining the correct RCSpath for the file.
This made the following things a lot easier:
(and in most cases actually fixed the below points)
- status with files in Attic/.
- checking out HEAD repositories with files in Attic/.
- checking out repositories with -rTAG.
- updating with -rTAG.
and as an added bonus the following now also works:
- correctly creating CVS/Tag in both local and remote mode thus
allowing update/status/and more to work correctly with the tagged tree.
(thanks to the correct handling of -rTAG cases).
- resetting tags with opencvs -A properly works too now.
This is a major step forward into the usability
of OpenCVS when it comes to maintaining multiple tagged trees, the next
logical step would be to fix commiting to branches.
enjoy you -stable cowards.
tested by myself, xsa, niallo and ckuethe
thanks guys!
|
|
OK joris@.
|
|
Document that getopt_long(3) can and will accept unique abbreviated long
option names. This feature has been present since getopt_long(3) was first
released in NetBSD 1.5. This is also standard GNU getopt_long(3) behavior.
ok millert
|
|
|
|
ok hshoexer, mpf
|
|
|
|
that some vendors will ship their chip with two functions enabled, so now
the code will only configure the functionality that is enabled on the
current function. two function setups will now work as the oem intended.
requested by kettenis@
|
|
OK joris@
|
|
|
|
|
|
|
|
|
|
|