summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-07-04syncTheo de Raadt
2007-07-04Fix a use after free crash in in_delmulti(). If a interface is detachedClaudio Jeker
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@
2007-07-04add "cua" to the NAME section;Jason McIntyre
2007-07-04give a little indent;Jason McIntyre
2007-07-04Remove more IPX leftovers.Marco Pfatschbacher
OK henning@
2007-07-04No m_copyback for ICMP and "other" protocols on rdr/binat.Marco Pfatschbacher
Fixes ICMP packet payload corruption on rdr. OK henning@, markus@
2007-07-04Revert r1.42 of if_bnx.c, "Enable IPv4 transmit TCP/UDP checksumKenneth R Westerback
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.
2007-07-03join ahci attach code back together into one function.David Gwynne
2007-07-03jmb pretends to be pci now, so i dont need to let it see ahci_softc so itDavid Gwynne
can provide its own attach glue to ahci.
2007-07-03Mark ukbd(4) as console keyboard when appropriate.Mark Kettenis
2007-07-03maintain the traffic-indication (TIM) virtual bitmap by definingDamien Bergamini
a default ieee80211_set_tim() function that drivers can override by setting ic_set_tim.
2007-07-03add a function that builds an RSN IE (ieee80211_add_rsn).Damien Bergamini
2007-07-03Correct the '-i' parameters in the examples. The '64' in the -c stringsKenneth R Westerback
is a hex value, so '-i 64' does not allocate enough space. Use '-i 0x64' instead. Found by henning on boxes using ahd/ahc.
2007-07-03fix kernel builds with IEEE80211_DEBUG enabled.Damien Bergamini
pointed out by claudio@
2007-07-03move construction of IEs into individual functions so that we don'tDamien Bergamini
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.
2007-07-03don't set the IEEE80211_CAPINFO_ESS bit in the Capability InformationDamien Bergamini
field if we're not operating as an AP (see 7.3.1.4).
2007-07-03no TIM in probe reponses.Damien Bergamini
2007-07-03In ieee80211_getmbuf(), if we need to allocate a mbuf cluster becauseDamien Bergamini
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.
2007-07-03fix SSID IE in the case where HIDENWID is used.Damien Bergamini
HIDENWID has been broken from the very beginning.
2007-07-03Backout part of 1.20 because IEEE80211_AUTH_ALGORITHM() and friends are usedClaudio Jeker
by hostapd and tcpdump. Now tcpdump and hostapd should build again.
2007-07-03Readd IEEE80211_REASON_RSN_REQUIRED and IEEE80211_REASON_RSN_INCONSISTENTClaudio Jeker
userland is using these defines -- unbreaks build. Found by jasper@ discussed with reyk@.
2007-07-03from Nicholas Marriott:Jason McIntyre
ttyname_r returns an error number, rather than setting errno. ok millert
2007-07-03Rework the way opencvs works in relation to files in the Attic/:Joris Vink
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!
2007-07-03On the server side, in a remote setup, do not display timestamp.Xavier Santolaria
OK joris@.
2007-07-03from ginsbach@netbsd, -r1.18:Jason McIntyre
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
2007-07-03both 'proto 50' and 'proto esp' must work in flow specificationsMarkus Friedl
2007-07-03allow proto esp/ah in flow specification (especially useful for bypass flows)Markus Friedl
ok hshoexer, mpf
2007-07-03fix a memory leak that was introduced in r1.20 on 2007-06-24T05Z; ok dlgConstantine A. Murenin
2007-07-03do not blindly configure everything to sit on function 0. jmicron tell meDavid Gwynne
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@
2007-07-03Rename rcs_diffreg() to diffreg().Ray Lai
OK joris@
2007-07-02JMB362 is ahci onlyDavid Gwynne
2007-07-02the jmb362 should work fineDavid Gwynne
2007-07-02regenDavid Gwynne
2007-07-02oops, i copied too much, fix jmb362 idDavid Gwynne
2007-07-02regenDavid Gwynne
2007-07-02jmicron have a 2 port sata chip called teh jmb362David Gwynne
2007-07-02Display payload for DS to DS and NO DS traffic.Can Erkin Acar
ok reyk@, looks ok damien@
2007-07-02remove more unused stuff.Damien Bergamini
2007-07-02syncDamien Bergamini
2007-07-02new 4965agn product Id.Damien Bergamini
2007-07-02add new ieee80211_eapol_key structure (used by the various 802.11iDamien Bergamini
key handshakes).
2007-07-02split ieee80211_parse_rsn() so the same function can be usedDamien Bergamini
to parse both WPA1 and RSN (WPA2) IEs. rename ieee80211_parse_edca_params_common() into ieee80211_parse_edca_params_body() while i'm here.
2007-07-02fix REASON codes.Damien Bergamini
2007-07-02add IEEE80211_FC1_PROTECTED flag.Damien Bergamini
keep IEEE80211_FC1_WEP for compatibility with pre-RSNA networks.
2007-07-02replace two lockmgr lock with rwlocks.Thordur I. Bjornsson
been in snaps for a week, no objection from deraadt@ for putting this in. ok tom@ (for gdt)
2007-07-02initial bits for proper TIM support.Damien Bergamini
2007-07-02remove a lot of unused #defineDamien Bergamini
fix a CAPINFO name
2007-07-02replace some letoh16(*(u_int16_t *)frm) by LE_READ_2(frm)Damien Bergamini
for consistency.
2007-07-02split ieee80211_send_mgmt() like I did for ieee80211_recv_mgmt()Damien Bergamini
2007-07-02we support lots of jmicron chips now.David Gwynne
pointed out by jsg@ jmc@