summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-11-17make ifa_ifwithaddr use the RB tree for lookups instead of nested listHenning Brauer
walking. make the function shorter, easier and faster with many addresses while still being at least as fast as the old one with a common "on real IP" setup. tested by many, ok claudio sthen dlg krw
2010-11-17add ifa_print_rb(), dumps the RB tree to the console, can be called fromHenning Brauer
ddb>, ok claudio dlg krw sthen
2010-11-17maintain an RB tree of ifaddrs in the system (addresses and broadcast addrs,Henning Brauer
the latter is also the dest addr on P2P interfaces) for faster lookups in the future. walking the linked list of all interfaces in the system to walk the linked list of addresses on each of them isn't particularily fast, especially with many interfaces and addresses. written at n2k10 in australia in january, but had to be backed out. the offenders have been fixed: -ipvshit rtsol code calling these functions in interrupt context (surprised this hasn't caused more havoc) -various places in the stack added empty ifaddr structs, filling them in later -sloppy recycling of ifaddrs in some places finished at j2k10 in japan in september tested by many, ok sthen krw dlg claudio
2010-11-17an extra parameter for in_ifinit, indicating wether the ifaddr passed to itHenning Brauer
is new or an already existing one. for existing ones, call ifa_del first tested by many as part of a larger diff, ok claudio dlg krw sthen
2010-11-17use ifa_update_broadaddr and make sure bcast address is set before callingHenning Brauer
in_ifinit tested by many as part of a larger diff, ok claudio dlg krw sthen
2010-11-17- Apply security fix for CVE-2010-3864 (+commit 19998 which fixes the fix).Jasper Lievisse Adriaanse
ok djm@ deraadt@
2010-11-17introduce ifa_update_broadaddr to update an ifaddr's broadcast address,Henning Brauer
trivial for the moment, more needed soon tested by many as part of a larger diff, ok sthen claudio dlg krw
2010-11-17move the ifa_add call to in_ifinit() so it is called AFTER the ifaddrHenning Brauer
structure is fully set up tested by many as part of a larger diff, ok claudio dlg sthen krw
2010-11-17Allow the -D command line flag to actually define macros.Chris Kuethe
ok mikeb@ reyk@
2010-11-17Make the comment for dk_timestamp more accurate.Alexander Bluhm
ok krw@, jmc@
2010-11-17Consistency and remove the >50 spaces after 'do'...Antoine Jacoutot
ok robert@
2010-11-17the text editor sucksKevin Lo
2010-11-17Switch fsck_msdos(8) to opendev(3) so that it can handle disklabel UIDs.Joel Sing
2010-11-17Teach msdosfs_mount() how to handle disklabel UIDs.Joel Sing
2010-11-17Try to determine file system type using readlabelfs(3) if fsck is givenJoel Sing
a disklabel UID.
2010-11-17Add support for Marvell 88E8059, found in HP mini 5102.Kevin Lo
Tested by Frans Haarman <franshaarman at gmail.com> ok jsg@
2010-11-17Document isduid(3).Joel Sing
Tweaks from jmc@ ok jmc@ krw@
2010-11-16BenQ M32 GSM/GPRS modem uses a custom product ID prolific PL2303; Mark PeoplesTheo de Raadt
2010-11-16syncTheo de Raadt
2010-11-16urtwn-firmware-1.1 contains V60 firmware (1.0 was V57).Damien Bergamini
please upgrade.
2010-11-16- remove XXX here now that CMDBUFLEN is defined in scsiio.hJasper Lievisse Adriaanse
ok krw@
2010-11-16- add a define for CMDBUFLEN, and use it for scsireq.cmdJasper Lievisse Adriaanse
ok krw@
2010-11-16If the interface address referenced by a cloning route did not pointAlexander Bluhm
to an interface any more, the kernel crashed with a null pointer dereference. This situation could be created by a strange sequence of route and ifconfig commands. Now when a cloning route references a stale interface address and rtrequest1(RTM_RESOLVE) has to create a cloned route, it does a lookup for a valid interface address with the same ip address. The new interface address and its interface are used for the new cloned route and they replace the old ones at the cloning route. ok claudio@, henning@
2010-11-16attach FeiXun products.Damien Bergamini
2010-11-16regenDamien Bergamini
2010-11-16new "FeiXun Communication" vendor id and two associatedDamien Bergamini
RTL8188CU product ids.
2010-11-16Fix error message when ld.so ends up loading a different than expectedDale Rahn
library, but other library needs the one loaded. mostly ok kurt@
2010-11-16periodically measure temperature and redo LC calibration if temperatureDamien Bergamini
changes significantly since last LC calibration.
2010-11-16syncTheo de Raadt
2010-11-16Add support for enable/disable table when using relays instead of redirects.Jonathan Gray
From Patrik Lundin and Linus Widstromer. ok reyk@
2010-11-16Crank minor due to the addition of isduid().Joel Sing
2010-11-15fix up a pointer bug introduced in the previous revisionMike Belopuhov
jsg agrees, ok deraadt
2010-11-15NUL-terminate buffer in compiler_text() after realloc, not before.Todd C. Miller
Now that we have dynamically sized buffers there may not be room for the NUL until after realloc.
2010-11-15Aesthetic improvements to make it appear more normal and knf'y.Kenneth R Westerback
No functional change. From Alexandr Scadchin again.
2010-11-15Reset ic_scan_lock in {ipw,iwi}_stop similarly to {wpi,iwn}_stop.Damien Bergamini
From Jeremy Chase.
2010-11-15add urtwn(4) to more USB 2.0 capable architectures, since it worksDamien Bergamini
on sparc64 and macppc. prodded by jsg@
2010-11-15print board type in human readable form in dmesg.Damien Bergamini
2010-11-15Teach readlabelfs() how to handle DUIDs.Joel Sing
ok krw@
2010-11-15Factor out DUID identification code so that it can easily be reused.Joel Sing
ok krw@
2010-11-15Do not fatal if an attempt to open a message envelope results in ENOENT.Joel Sing
This prevents smtpd from exiting if 'smtpctl schedule' is run with a valid but non-existent message ID. Whilst here make ENOSPC fatal since this should not happen. ok gilles@
2010-11-15rename aesni_sess to aesni_session; bugged me all the timeMike Belopuhov
2010-11-15do session allocations from the poolMike Belopuhov
2010-11-15thrash less cache lines and zero out only what we've touchedMike Belopuhov
2010-11-15More cleanup. Add DEVNAME() macro and generic functions for variousKenneth R Westerback
actions (set/get/reset/enable/disable) to wrap pms_cmd() invocations. No functional change. From Alexandr Scadchin again.
2010-11-15convert one if-else instance to the switch to ease gcm integration;Mike Belopuhov
use proper define for the initial counter block
2010-11-15round up crd_len to the blocksize; will be needed for gcmMike Belopuhov
2010-11-15there's either mbuf or an iovec, no other option is possibleMike Belopuhov
2010-11-15show more of the host, but be careful not to go over 80 cols; ok krw@Otto Moerbeek
2010-11-15remove trailing whitespace;Jason McIntyre
2010-11-15desambiguate -> disambiguate;Jason McIntyre