[odc] Daily src changes for 2007-06-21
ODC
auto at squish.net
Fri Jun 22 07:00:01 BST 2007
OpenBSD src changes summary for 2007-06-21
==========================================
lib/libc libexec/ftpd
sbin/pfctl share/man
sys/arch/hp300/dev sys/arch/mips64/conf
sys/arch/mips64/mips64 sys/arch/sgi/conf
sys/arch/sgi/include sys/arch/sgi/localbus
sys/arch/sgi/pci sys/arch/sgi/sgi
sys/arch/sh/include sys/arch/sh/sh
sys/dev/pci sys/kern
sys/net sys/net80211
sys/nfs usr.sbin/tcpdump
== lib =============================================================== 01/06 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/lib
libc
~ stdio/fgetln.3
> The `len' argument is guaranteed to be > 0 upon successful completion.
> ok jmc@ ray@ millert@ (moritz@)
== libexec =========================================================== 02/06 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/libexec
ftpd
~ ftpd.c
> Adjust spacing, combine malloc + strlcpy + strlcat into a single
> asprintf call.
> OK moritz (ray@)
== sbin ============================================================== 03/06 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sbin
pfctl
~ parse.y
> always initialize logif, from max laier, ok ryan (henning@)
== share ============================================================= 04/06 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/share
man
~ man4/umsm.4
> add novatel es620 here too
> reminded by jsg@ (jcs@)
~ man4/man4.hppa/gsc.4
> sync the lpt.4 entry; (jmc@)
~ man4/man4.hppa/gsc.4 ~ man4/man4.sgi/intro.4
> sync the com(4) entries; (jmc@)
~ man4/man4.aviion/intro.4
> .Tn -> .Sx: section headers are not tradenames; (jmc@)
~ man4/man4.alpha/intro.4 ~ man4/man4.amd64/intro.4
~ man4/man4.armish/intro.4 ~ man4/man4.cats/intro.4
~ man4/man4.hp300/intro.4 ~ man4/man4.hppa/intro.4
~ man4/man4.i386/intro.4 ~ man4/man4.landisk/intro.4
~ man4/man4.luna88k/intro.4 ~ man4/man4.mac68k/intro.4
~ man4/man4.macppc/intro.4 ~ man4/man4.mvme68k/intro.4
~ man4/man4.mvme88k/intro.4 ~ man4/man4.sgi/intro.4
~ man4/man4.sparc/intro.4 ~ man4/man4.sparc64/intro.4
~ man4/man4.vax/intro.4 ~ man4/man4.zaurus/intro.4
> !.Tn is spawning behind my back!
> .Tn -> .Sx: section headers are not tradenames; (jmc@)
~ man4/man4.sparc/daadio.4
> uppercase "i/o" (jmc@)
~ man4/man4.hppa/ssio.4
> list supported devices, similarly to gsc(4); ok kettenis (jmc@)
~ man4/man4.hppa/gsc.4
> end sentences with full stops, not commas; (jmc@)
~ man4/man4.aviion/intro.4 ~ man4/man4.hp300/intro.4
~ man4/man4.mac68k/intro.4 ~ man4/man4.mvme68k/intro.4
~ man4/man4.mvme88k/intro.4 ~ man4/man4.sparc/intro.4
~ man4/man4.vax/intro.4 ~ man4/man4.zaurus/intro.4
> as for the rest of man4, use the .Nd lines to describe devices;
> whilst here, comment out entries for the following devices which have
> no man pages (miod can tell me if this is a problem):
> hp300: hpibbus
> mac68k: sbc
> mvme68k: flash ipic mc memc pcc pcctwo sram vme vs wdsc zs
> sparc: fd (jmc@)
~ man4/man4.mac68k/intro.4
> sbc goes back in, as it's shared w/ ncrscsi(4);
> thanks martin for pointing this out. (jmc@)
~ man4/man4.hp300/intro.4 ~ man4/man4.hp300/nhpib.4
> ..and hpibbus goes back in, as it's shared w/ nhpib; thanks to
> jsg for spotting that one;
> whilst here, zap a silly comma in the .Nd (jmc@)
~ man4/man4.sparc/intro.4
> fd -> fdc; from miod (jmc@)
~ man4/man4.mvme68k/intro.4
> relist these commented out entries, but w/o the man section number until
> pages get written; after some discussion w/ miod (jmc@)
== sys =============================================================== 05/06 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/sys
arch/hp300/dev
~ hd.c
> Brace got lost in rev 1.51. (miod@)
arch/mips64/conf
~ files.mips64
> Extent sgi bus_dma to cope with different views of memory: non-contiguous
> for the cpu, contiguous from different bases for devices. This allows
> memory above 256MB to be used with bus_dma (and we had really been lucky
> with the first few large-memory builds).
> Information about memory accesses taken from Linux. (miod@)
arch/mips64/mips64
- busdma.c
> Extent sgi bus_dma to cope with different views of memory: non-contiguous
> for the cpu, contiguous from different bases for devices. This allows
> memory above 256MB to be used with bus_dma (and we had really been lucky
> with the first few large-memory builds).
> Information about memory accesses taken from Linux. (miod@)
arch/sgi/conf
~ files.sgi
> Extent sgi bus_dma to cope with different views of memory: non-contiguous
> for the cpu, contiguous from different bases for devices. This allows
> memory above 256MB to be used with bus_dma (and we had really been lucky
> with the first few large-memory builds).
> Information about memory accesses taken from Linux. (miod@)
arch/sgi/include
~ bus.h
> Extent sgi bus_dma to cope with different views of memory: non-contiguous
> for the cpu, contiguous from different bases for devices. This allows
> memory above 256MB to be used with bus_dma (and we had really been lucky
> with the first few large-memory builds).
> Information about memory accesses taken from Linux. (miod@)
arch/sgi/localbus
~ crimebus.h ~ macebus.c
> Extent sgi bus_dma to cope with different views of memory: non-contiguous
> for the cpu, contiguous from different bases for devices. This allows
> memory above 256MB to be used with bus_dma (and we had really been lucky
> with the first few large-memory builds).
> Information about memory accesses taken from Linux. (miod@)
arch/sgi/pci
~ macepcibridge.c
> Extent sgi bus_dma to cope with different views of memory: non-contiguous
> for the cpu, contiguous from different bases for devices. This allows
> memory above 256MB to be used with bus_dma (and we had really been lucky
> with the first few large-memory builds).
> Information about memory accesses taken from Linux. (miod@)
arch/sgi/sgi
~ machdep.c
> Enable memory above 256MB again now that bus_dma has been fixed. (miod@)
+ bus_dma.c
> Extent sgi bus_dma to cope with different views of memory: non-contiguous
> for the cpu, contiguous from different bases for devices. This allows
> memory above 256MB to be used with bus_dma (and we had really been lucky
> with the first few large-memory builds).
> Information about memory accesses taken from Linux. (miod@)
arch/sh/include
~ intr.h
> Attach interrupt counters to intc interrupt sources too, so that clock
> interrupts get counted; from mickey (miod@)
arch/sh/sh
~ interrupt.c
> Attach interrupt counters to intc interrupt sources too, so that clock
> interrupts get counted; from mickey (miod@)
~ pmap.c
> Simple optimizations:
> - in __pmap_pv_enter, only walk the pv list to search for writeable
> mappings
> if we are ading a readonly mapping.
> - im pmap_protect, do not invoke pmap_extract(), instead directly extract
> the paddr from the pte we have already computed a few lines above. (miod@)
~ clock.c
> Fix microtime to not lose clocik ticks, gives us among other things, real
> ping times on slow links; from mickey (miod@)
dev/pci
~ if_bge.c
> rework how the IFF_PROMISC and IFF_ALLMULTI flags are dealt with, and how
> the multicast filter is programmed.
> IFF_ALLMULTI is for use by the driver and only the driver, meaning that we
> have to clear it when its not needed anymore.
> now that the ethernet layer counts the number of multicast address ranges
> we can check that early to determine if ALLMULTI is needed, rather than
> doing the stupid goto allmulti dance as we iterate over the multicast
> address list.
> the imperfect multicast filter is a 16 byte wide bitfield, so we can use
> the "setbit" macro to build it in memory, and then write it to the hardware
> as a bus_space region. this simplifies the code a lot and avoids confusing
> bitshifts on u_int32_ts to get the bits in the right place.
> tested by krw on amd64, naddy on alpha, deraadt on sparc64, and beck on
> various bits.
> ok beck (dlg@)
kern
~ vfs_cache.c
> english, okay jmc@ (pedro@)
net
~ if_pfsync.c ~ pf.c
~ pfvar.h
> reimplement interface bound states in a non-retarded way.
> previously, we had a set of state tables attached to each interface. so for
> every packet we had to do a lookup in the tables for the interface, and
> afterwards in the global tables.
> since we split state keys and states now, use only the global tables, and
> put the actual states in a tail queue attached to the state key. sort the
> list so that ifbound states come before global ones. on lookup, we only
> have to compare the interface pointer on the actual states and use the
> first one where either the interface matches or the state is not interface
> bound. thus, if you don't actually use ifbound states, and there is only
> one state per state key, the overhead is close to zero, where we had extra
> lookups before. in addition to a much cleaner design (that'll allow for
> more
> goodies later) this gives us ~12.5% more forwarding performance.
> mostly hacked at c2k7, lots of help, testing and ok mcbride & markus
> (henning@)
~ pf_ioctl.c
> force logif to zero if no logging is asked for
> check the logif when changing a rule
> from max laier, ok ryan (henning@)
net80211
~ ieee80211_input.c
> split ieee80211_recv_mgmt() into smaller functions:
> - ieee80211_recv_probe_resp
> - ieee80211_recv_probe_req
> - ieee80211_recv_auth
> - ieee80211_recv_assoc_req
> - ieee80211_recv_assoc_resp
> - ieee80211_recv_deauth
> - ieee80211_recv_disassoc
> "reads ok" jsg@ claudio@ mglocker@ (damien@)
~ ieee80211.h
> s/IEEE80211_ELEMID_EDCA_PARAMS/IEEE80211_ELEMID_EDCAPARMS/ for consistency.
> (damien@)
~ ieee80211_input.c
> add code to parse EDCA parameter set information elements.
> add myself to the copyright list. (damien@)
~ ieee80211_var.h
> add fields for EDCA. (damien@)
~ ieee80211.h
> cleanup the list of Organizationally Unique Identifiers (OUI). (damien@)
~ ieee80211_input.c
> parse vendor-specific Microsoft WMM OUI.
> unfortunately, most APs that advertise themselves as being
> 802.11e capable still use the Microsoft OUI instead of the
> standard IEEE 802.11 information element. (damien@)
~ ieee80211_input.c ~ ieee80211_var.h
> add (currently unused) code to parse RSN IEs. (damien@)
~ ieee80211_output.c
> add two new functions:
> ieee80211_up_to_ac(): returns the access category to be used for
> transmitting a frame with a given user priority.
> ieee80211_classify(): returns the user-priority of an mbuf based
> on VLAN 802.1D user-priority (if any) or IP TOS precedence field.
> indent prototypes and add myself to the copyright list while i'm here.
> (damien@)
~ ieee80211_output.c ~ ieee80211_proto.h
> add EDCA Parameter Set and QoS capability IEs to appropriate frames
> when QoS is supported and activated. (damien@)
~ ieee80211.h
> cleanup CAPINFO values. (damien@)
nfs
~ nfs_var.h ~ nfsnode.h
> remove a whole bunch of duplicate function
> prototypes.
> (survived build/release on macppc/amd64).
> ok pedro@ (thib@)
== usr.sbin ========================================================== 06/06 ==
http://www.openbsd.org/cgi-bin/cvsweb/src/usr.sbin
tcpdump
~ addrtoname.c
> Print leading zeros in MAC addresses. Initial diff from Stanislav
> Kruchinin, idea to use ether_ntoa from Claudio Jeker.
> OK canacar, idea OK henning, jasper, and tedu. (ray@)
===============================================================================
More information about the odc
mailing list