summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-01-27on some servers LIST defaults to LIST -a. ignore pseudo-directoriesMartynas Venckus
so that recursive transfers don't cause a loop. problem reported and tested by Jesus Sanchez. string compare inlining and looks good to millert@
2009-01-27Propagate the neighbour's interface ID, as received in hello packets,Stefan Sperling
to the RDE. ok claudio@
2009-01-27Turns out the IRQ Information is optional in IRQ Descriptor resources, soMark Kettenis
allow resources that are only 5 bytes long. Prevents dmesg spamming on the OQO.
2009-01-27rum -> urtw. ok jsg@, kevlo@Martynas Venckus
2009-01-27Simplify page-out/page-in map management; fix rare pager deadlock.Ariane van der Steldt
Ok: miod, tedu
2009-01-27syncOwain Ainsworth
2009-01-27another GeForce 9300.Owain Ainsworth
From Laurence Tratt; thanks!
2009-01-27If a packet translation was a NOP, undo separate NAT key andMarco Pfatschbacher
pretend there was no match. This prevents pf_state_insert() to fail with duplicate keys. OK henning@, mcbride@
2009-01-27unbreak SMALL_KERNEL builds by adding missing #ifndef IEEE80211_STA_ONLYDamien Bergamini
pointed out by krw@
2009-01-27handle HW VLAN tags being passed down; from BradChristian Weisgerber
2009-01-27Add space after keywords.aschrijver
2009-01-27err, actually session_set_path was moved to utils.c because it was used byGilles Chehade
the enqueue code i'm working on, but this is no longer necessary since the enqueue code uses recipient_to_path. revert part of previous commit
2009-01-27include the VLAN priority for hardware tagging, too; ok claudio@Christian Weisgerber
2009-01-27*** empty log message ***Gilles Chehade
2009-01-27Oops, fix the error handling. Found by blambert@aschrijver
2009-01-27Switch the amd64 PCI_CONF_LOCK from being a simplelock and splhigh to aOwain Ainsworth
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@.
2009-01-27A warning text in ipsecctl was used twice. Make the messages uniqueAlexander Bluhm
for easier debugging. ok grunk@, hshoexer@, todd@
2009-01-27fix printf format specification to print max len 4 for refid,Kevin Steves
which may not be null terminated; ok henning@
2009-01-27the data member of ibuf was not set to the environment in control_accept()Gilles Chehade
which caused th ev_arg member of struct event to be reset after the first call to control_dispatch_ext (causing a null deref at second call). this has been driving me nuts for at least an hour ...
2009-01-27Fix some interger overflows when accounting the used mbuf memory percentageClaudio Jeker
and while there use a better type for the plural{,es}() functions. OK henning@
2009-01-27Fix another double free in the filter parser.aschrijver
2009-01-27make the hardware/no hardware tag stripping cases consistent and don'tChristian Weisgerber
hash the VLAN priority; ok henning@
2009-01-27Again, no need to double check if neighbor exists.Michele Marchetto
ok stsp@
2009-01-27No need to check if neighbor exists before adding itMichele Marchetto
as it is already done in rde_nbr_new(). ok claudio@ stsp@
2009-01-27syncTodd T. Fries
2009-01-27temporarily drop privileges to the final user before each delivery attempt,Gilles Chehade
wether it is maildir, mbox or external mda. rearrange a bit of code to also simplify most delivery methods by moving their common code to common place. while at it change some mode_t to int where it was wrongly used and unlink temporary maildir file if we fail to deliver for some reason. discussed with and ok jacek@
2009-01-27Remove unnecessary comment.aschrijver
2009-01-27Add correct error handling to the aldap API.aschrijver
Use the error handling in the ldapclient. with help from pyr@
2009-01-27fix the mbuf view to cope with the recent change to the mclgeti allocator.David Gwynne
from canacar@
2009-01-27make drivers tell the mclgeti allocator what their maximum ring size isDavid Gwynne
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@
2009-01-27Get rid of the 24h timer as it useless here.Michele Marchetto
While there fix minor bugs. ok norby@
2009-01-27new sentence, new line;Jason McIntyre
2009-01-27While printing is turned off by default, the debug code was stillOwain Ainsworth
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@.
2009-01-26Document that ospf6d tries to get the router ID from an IPv4 addressStefan Sperling
if present, and that a router ID must be manually configured on IPv6-only routers.
2009-01-26RFC5340 says neighbours are identified solely by their router ID in OSPFv3,Stefan Sperling
regardless of link type. So don't ever use source addresses from the IP header to match known neighbours when receiving hello packets. ok claudio@
2009-01-26Same fix as just committed to ospfd:Stefan Sperling
First convert IP addresses to host-byte-order before checking which one is smaller. Additionally fix the check to find the lowest configured IP as suggested by the RFC. ok claudio@
2009-01-26Getting the higest IP only works if the compare is done in host byte order.Claudio Jeker
Same bug as in ospfd and ospf6d. *gulp*
2009-01-26We acutally use the lowest IP configured as router-id if none is specified.Claudio Jeker
2009-01-26Include the ioctl definitions for the modesetting interface.Owain Ainsworth
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@.
2009-01-26First convert IP addresses to host-byte-order before checking which one isClaudio Jeker
smaller. Additionally fix the check to find the lowest configured IP as suggested by the RFC. Found with stsp@
2009-01-26move some queue related functions that are needed outside of smtpd to theGilles Chehade
sharedqueue.c file, smtpctl cannot link queue.o without creating a mess otherwise. while at it, move some prototypes to smtpd.h as they will be needed by enqueue code
2009-01-26move aldap_close in aldap.c, where it belongs.Pierre-Yves Ritschard
discussed with aschrijver@
2009-01-26move ni_macaddr field at the top of the ieee80211_node structure.Damien Bergamini
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".
2009-01-26return the correct refid for a sensor; ok henning@Christian Weisgerber
2009-01-26remove ni_ba field from ieee80211_node structure as it is not used yet.Damien Bergamini
this reduces memory footprint and avoids a stack usage warning in ieee80211_find_node() that breaks amd64 build. pointed out by landry@
2009-01-26we had a set of functions to deal specifically with incoming messages andGilles Chehade
we need the same functions for the enqueue code i'm currently working on. instead of duplicating the code, add a set of functions which take the queue we're working on as a parameter and turn the old ones into wrappers. no functionnal change ... yet discussed with jacekm@
2009-01-26NULL instead of 0 in comparisonClaudio Jeker
2009-01-26I changed the IEEE80211_QOS_ACK_POLICY_* definitions to be more in lineDamien Bergamini
with other net80211 flags (we no longer need to shift.)
2009-01-26Add some initial HT bits (not enabled yet) based on 802.11n Draft 7.01:Damien Bergamini
- 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.
2009-01-26Again use P to mark multipath routes in route output. OK henning@Claudio Jeker