svn commit: r215508 - head/sys/vm

2010-11-18 Thread Max Laier
Author: mlaier Date: Fri Nov 19 04:30:33 2010 New Revision: 215508 URL: http://svn.freebsd.org/changeset/base/215508 Log: Off by one page in vm_reserv_reclaim_contig(): Also reclaim reservations with only a single free page if that satisfies the requested size. MFC after:3 days Revi

svn commit: r215709 - stable/8/sys/vm

2010-11-22 Thread Max Laier
Author: mlaier Date: Mon Nov 22 20:50:40 2010 New Revision: 215709 URL: http://svn.freebsd.org/changeset/base/215709 Log: MFH r215508: Off by one page in vm_reserv_reclaim_contig(): reclaim reservations with only a single free page as well. Reviewed by:alc Modified: sta

svn commit: r215715 - stable/7/sys/vm

2010-11-22 Thread Max Laier
Author: mlaier Date: Mon Nov 22 21:22:08 2010 New Revision: 215715 URL: http://svn.freebsd.org/changeset/base/215715 Log: MFH r215508: Off by one page in vm_reserv_reclaim_contig(): reclaim reservations with only a single free page as well. Reviewed by:alc Modified: sta

svn commit: r216335 - head/sys/vm

2010-12-09 Thread Max Laier
Author: mlaier Date: Thu Dec 9 21:02:22 2010 New Revision: 216335 URL: http://svn.freebsd.org/changeset/base/216335 Log: Fix a long standing (from the original 4.4BSD lite sources) race between vmspace_fork and vm_map_wire that would lead to "vm_fault_copy_wired: page missing" panics. Whil

svn commit: r216553 - stable/8/sys/vm

2010-12-18 Thread Max Laier
Author: mlaier Date: Sun Dec 19 06:07:35 2010 New Revision: 216553 URL: http://svn.freebsd.org/changeset/base/216553 Log: MFC r216335: Fix a long standing (from the original 4.4BSD lite sources) race between vmspace_fork and vm_map_wire that would lead to "vm_fault_copy_wired: page m

svn commit: r216554 - stable/7/sys/vm

2010-12-18 Thread Max Laier
Author: mlaier Date: Sun Dec 19 06:09:02 2010 New Revision: 216554 URL: http://svn.freebsd.org/changeset/base/216554 Log: MFC r216335: Fix a long standing (from the original 4.4BSD lite sources) race between vmspace_fork and vm_map_wire that would lead to "vm_fault_copy_wired: page m

svn commit: r196551 - head/sys/contrib/pf/net

2009-08-25 Thread Max Laier
Author: mlaier Date: Tue Aug 25 19:30:32 2009 New Revision: 196551 URL: http://svn.freebsd.org/changeset/base/196551 Log: Fix argument ordering to memcpy as well as the size of the copy in the (theoretical) case that pfi_buffer_cnt should be greater than ~_max. Submitted by: pjd Reviewe

svn commit: r196628 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf contrib/pf/net dev/xen/xenpci

2009-08-28 Thread Max Laier
Author: mlaier Date: Fri Aug 28 20:26:00 2009 New Revision: 196628 URL: http://svn.freebsd.org/changeset/base/196628 Log: MFC r196551: Fix argument ordering to memcpy as well as the size of the copy in the (theoretical) case that pfi_buffer_cnt should be greater than ~_max. Submit

svn commit: r196680 - in stable/7/sys: . contrib/pf contrib/pf/net

2009-08-30 Thread Max Laier
Author: mlaier Date: Mon Aug 31 00:52:10 2009 New Revision: 196680 URL: http://svn.freebsd.org/changeset/base/196680 Log: MFC r196551: Fix argument ordering to memcpy as well as the size of the copy in the (theoretical) case that pfi_buffer_cnt should be greater than ~_max. Submit

svn commit: r196681 - in stable/7/sys: . contrib/pf contrib/pf/net

2009-08-30 Thread Max Laier
Author: mlaier Date: Mon Aug 31 00:54:14 2009 New Revision: 196681 URL: http://svn.freebsd.org/changeset/base/196681 Log: MFC r196372: If we cannot immediately get the pf_consistency_lock in the purge thread, restart the scan after acquiring the lock the hard way. Otherwise we might

svn commit: r197334 - head/sys/conf

2009-09-19 Thread Max Laier
Author: mlaier Date: Sat Sep 19 21:46:12 2009 New Revision: 197334 URL: http://svn.freebsd.org/changeset/base/197334 Log: Extract version information from git repositories. Try to find a corresponding svn version if this is a git-svn clone'ed repo. This prefers svn version information over g

svn commit: r197433 - head/sys/conf

2009-09-23 Thread Max Laier
Author: mlaier Date: Wed Sep 23 14:48:13 2009 New Revision: 197433 URL: http://svn.freebsd.org/changeset/base/197433 Log: Improve on r197334: Find the most recently merged svn revision, too. If we get a svn revision that matches HEAD use rXXX=GIT otherwise use rXXX+GIT. Submitted by: av

svn commit: r197517 - in stable/6/sys: . conf contrib/pf dev/cxgb

2009-09-26 Thread Max Laier
Author: mlaier Date: Sat Sep 26 11:44:04 2009 New Revision: 197517 URL: http://svn.freebsd.org/changeset/base/197517 Log: MFC r197334,r197433: Extract svn and git version info from git-svn repos. Modified: stable/6/sys/ (props changed) stable/6/sys/conf/ (props changed) stable/6

svn commit: r197516 - in stable/7/sys: . conf contrib/pf

2009-09-26 Thread Max Laier
Author: mlaier Date: Sat Sep 26 11:31:25 2009 New Revision: 197516 URL: http://svn.freebsd.org/changeset/base/197516 Log: MFC r197334,r197433: Extract svn and git version info from git-svn repos. Modified: stable/7/sys/ (props changed) stable/7/sys/conf/newvers.sh stable/7/sys/con

Re: svn commit: r197498 - head/cddl/contrib/opensolaris/cmd/zfs

2009-09-27 Thread Max Laier
97498 head/cddl/contrib/opensolaris/cmd/zfs/zfs.8 svn ci -m "Revised commit message" There you go. Forced commit with no problem. Plus we can also record the revision that the forced commit message belongs to. Disclaimer: Don't try this on the main repo before the SVN-

Re: svn commit: r198781 - head/lib/libc/sys

2009-11-02 Thread Max Laier
ned inheriting O_NONBLOCK and said > nothing about other options -- so I figured that it was appropriate to > follow suit and only mention O_NONBLOCK in saying what was non-portable. > -- /"\ Best regards, | mla...@freeb

Re: svn commit: r198826 - svnadmin/hooks/scripts

2009-11-03 Thread Max Laier
ffs, section_header): > """Render diffs. Write the SECTION_HEADER if there are actually > > > !DSPAM:4aef52ed799761205380022! > -- /"\ Best regards, | mla...@freebsd.org \ / Max Laier | ICQ #67774661 X http://p

svn commit: r198863 - stable/8/sys/conf

2009-11-03 Thread Max Laier
Author: mlaier Date: Tue Nov 3 21:57:00 2009 New Revision: 198863 URL: http://svn.freebsd.org/changeset/base/198863 Log: MFC r197334,r197433: Extract svn and git version info from git-svn repos. Modified: stable/8/sys/conf/newvers.sh Directory Properties: stable/8/sys/ (props chang

svn commit: r227061 - head/sys/net

2011-11-03 Thread Max Laier
Author: mlaier Date: Thu Nov 3 18:33:30 2011 New Revision: 227061 URL: http://svn.freebsd.org/changeset/base/227061 Log: Fix a use-after-free/redzone issue in the routing code. Reported by (repeatedly): Mike Tancsa Prodded by (repeatedly): bz Forgotten by (repeatedly):mlai

svn commit: r218502 - stable/7/sys/kern

2011-02-09 Thread Max Laier
Author: mlaier Date: Thu Feb 10 00:20:56 2011 New Revision: 218502 URL: http://svn.freebsd.org/changeset/base/218502 Log: MFH: r180238 Use bcopy instead of strlcpy in uipc_bind and unp_connect, since soun->sun_path isn't a null-terminated string. As UNIX(4) states, "the terminati

svn commit: r218503 - head/sys/net

2011-02-09 Thread Max Laier
Author: mlaier Date: Thu Feb 10 01:24:09 2011 New Revision: 218503 URL: http://svn.freebsd.org/changeset/base/218503 Log: As info.rti_info[RTAX_DST] can point inside of rtm we must not free the rtm until rt_dispatch is done with the sockaddr. Found by: memguard MFC after:3 days

svn commit: r221714 - head/sys/vm

2011-05-09 Thread Max Laier
Author: mlaier Date: Mon May 9 20:27:49 2011 New Revision: 221714 URL: http://svn.freebsd.org/changeset/base/221714 Log: Another long standing vm bug found at Isilon: Fix a race between vm_object_collapse and vm_fault. Reviewed by: alc@ MFC after:3 days Modified: head/sys/vm/v

svn commit: r221795 - stable/8/sys/vm

2011-05-11 Thread Max Laier
Author: mlaier Date: Thu May 12 01:22:23 2011 New Revision: 221795 URL: http://svn.freebsd.org/changeset/base/221795 Log: MFH r221714: Another long standing vm bug found at Isilon: Fix a race between vm_object_collapse and vm_fault. Reviewed by: alc@ Modified: stable/8/sys/vm/vm_

svn commit: r221796 - stable/7/sys/vm

2011-05-11 Thread Max Laier
Author: mlaier Date: Thu May 12 01:38:42 2011 New Revision: 221796 URL: http://svn.freebsd.org/changeset/base/221796 Log: MFH r221714: Another long standing vm bug found at Isilon: Fix a race between vm_object_collapse and vm_fault. Reviewed by: alc@ Modified: stable/7/sys/vm/vm_

Re: svn commit: r190445 - in head/sys: amd64/linux32 compat/linprocfs compat/linux conf dev/ipmi modules/ipmi modules/linprocfs

2009-03-26 Thread Max Laier
odules/ipmi/Makefile Thu Mar 26 17:04:08 2009 >(r190444) > +++ head/sys/modules/ipmi/MakefileThu Mar 26 17:14:22 2009 > (r190445) @@ > -1,5 +1,7 @@ > # $FreeBSD$ > > +SUBDIR+= ipmi_linux > + the ipmi_linux subdir is missing from this commit. -- /"

Re: svn commit: r190849 - head/sys/geom/part

2009-04-08 Thread Max Laier
> - snprintf(buf, bufsz, "+%08x", entry->gpe_index); Not to bikeshed, but why not use "+%08X" instead? > + snprintf(buf, bufsz, "+%08u", entry->gpe_index); > return (buf); > } > > > > !DSPAM:49dcce6b450631134040011! -

svn commit: r190895 - head/sys/net

2009-04-10 Thread Max Laier
Author: mlaier Date: Fri Apr 10 14:41:51 2009 New Revision: 190895 URL: http://svn.freebsd.org/changeset/base/190895 Log: Remove interfaces from IFG_ALL on detach. This cures a couple of pf panics when using the "self" keyword in tables or as ()-style host address and fixes "ifconfig -g all

svn commit: r190903 - head/sys/net

2009-04-10 Thread Max Laier
Author: mlaier Date: Fri Apr 10 19:16:14 2009 New Revision: 190903 URL: http://svn.freebsd.org/changeset/base/190903 Log: Follow up for r190895 It's not only the "all" group that is affected, but all groups on the given interface. PR: kern/130977, kern/131310 MFC after:3

svn commit: r191025 - in stable/7/sys: . contrib/pf dev/ath/ath_hal dev/cxgb net

2009-04-13 Thread Max Laier
Author: mlaier Date: Mon Apr 13 22:17:03 2009 New Revision: 191025 URL: http://svn.freebsd.org/changeset/base/191025 Log: MFH r190903 & r190895: Remove interfaces from interface groups on detach. Reported by: various Submitted by: Mikolaj Golub (r190895) PR: kern/130977,

Re: svn commit: r191144 - in head/usr.sbin: . raycontrol

2009-04-16 Thread Max Laier
\ > ${_rip6query} \ > rmt \ > @@ -405,7 +404,6 @@ _usbconfig= usbconfig > > .if ${MK_WIRELESS} != "no" > _ancontrol= ancontrol > -_raycontrol= raycontrol > _wlandebug= wlandebug > _wpa=wpa > .endif > &

Re: svn commit: r191381 - head/crypto/openssl/crypto/asn1 releng/6.3 releng/6.3/crypto/openssl/crypto/asn1 releng/6.3/lib/libc/db/btree releng/6.3/lib/libc/db/hash releng/6.3/lib/libc/db/mpool releng/

2009-04-24 Thread Max Laier
case V_ASN1_SEQUENCE: > > default: > > + if (utype == V_ASN1_BMPSTRING && (len & 1)) > > + { > > + ASN1err(ASN1_F_ASN1_EX_C2I, > > +

Re: svn commit: r189594 - head

2009-03-09 Thread Max Laier
b/libusb20_p.a -r--r--r-- 1 root wheel - 11874 Mar 9 14:33 > /usr/lib/libusbhid.a lrwxr-xr-x 1 root wheel -14 Mar 9 14:33 > /usr/lib/libusbhid.so@ -> libusbhid.so.3 -r--r--r-- 1 root wheel - 11284 > Mar 9 14:33 /usr/lib/libusbhid.so.3 -r--r--r-- 1 root

svn commit: r189831 - stable/7/usr.bin/du

2009-03-14 Thread Max Laier
Author: mlaier Date: Sat Mar 14 21:03:03 2009 New Revision: 189831 URL: http://svn.freebsd.org/changeset/base/189831 Log: MFC: - r184733, r184742 Add -A and -B options - r184654, r184656 style(9) changes - r173387, r173431 (by kevlo) Check return value for setenv() In e

Re: svn commit: r199729 - stable/8/sys/ia64/include

2009-11-23 Thread Max Laier
sys/ (props changed) These MFCs seem to be missing mergeinfo for the contrib directories. -- /"\ Best regards, | mla...@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mla...@efnet / \ ASCII

Re: svn commit: r200057 - in releng: 6.3/sys/conf 6.4/sys/conf 7.1/sys/conf 7.2/sys/conf 8.0/sys/conf

2009-12-03 Thread Max Laier
ANCH_OVERRIDE}" != "X" ]; then > BRANCH=${BRANCH_OVERRIDE} > fi > > Modified: releng/8.0/sys/conf/newvers.sh > =========== > === --- releng/8.0/sys/conf/newvers.shThu Dec 3 12:23:48 2009

Re: svn commit: r200183 - head/sbin/ipfw

2009-12-06 Thread Max Laier
On Sunday 06 December 2009 19:04:27 Luigi Rizzo wrote: > Author: luigi > Date: Sun Dec 6 18:04:26 2009 > New Revision: 200183 > URL: http://svn.freebsd.org/changeset/base/200183 > > Log: > restore setting of sin_len (was removed in 1.146 last february) as > it seems that now it is necessary f

Re: svn commit: r200183 - head/sbin/ipfw

2009-12-07 Thread Max Laier
On Monday 07 December 2009 19:19:15 Julian Elischer wrote: > Julian Elischer wrote: > > Ermal Luçi wrote: > >> On Mon, Dec 7, 2009 at 5:31 AM, Max Laier > > > [...] > > > >> > Do you have a reference for me? > >> > >> I follow

Re: svn commit: r211436 - head

2010-08-17 Thread Max Laier
On Tuesday 17 August 2010 22:26:17 Dag-Erling Smorgrav wrote: > Author: des > Date: Tue Aug 17 20:26:17 2010 > New Revision: 211436 > URL: http://svn.freebsd.org/changeset/base/211436 > > Log: > Split kernel stage 3.2 (build everything) into 3.2 (build the kernel) > and 3.3 (build the modules)

svn commit: r212112 - in head: share/man/man9 sys/kern sys/sys

2010-09-01 Thread Max Laier
Author: mlaier Date: Wed Sep 1 19:50:03 2010 New Revision: 212112 URL: http://svn.freebsd.org/changeset/base/212112 Log: rmlock(9) two additions and one change/fix: - add rm_try_rlock(). - add RM_SLEEPABLE to use sx(9) as the back-end lock in order to sleep while holding the write lo

Re: svn commit: r201351 - head/sys/net

2009-12-31 Thread Max Laier
On Thursday 31 December 2009 21:47:54 John Baldwin wrote: > On Thursday 31 December 2009 3:44:38 pm John Baldwin wrote: > > Author: jhb > > Date: Thu Dec 31 20:44:38 2009 > > New Revision: 201351 > > URL: http://svn.freebsd.org/changeset/base/201351 > > > > Log: > > Use stricter checking to match

Re: svn commit: r197752 - head/lib/libc/stdio

2010-01-10 Thread Max Laier
On Sunday 04 October 2009 21:43:36 David Schultz wrote: > Author: das > Date: Sun Oct 4 19:43:36 2009 > New Revision: 197752 > URL: http://svn.freebsd.org/changeset/base/197752 > > Log: > Better glibc compatibility for getline/getdelim: > > - Tolerate applications that pass a NULL pointer fo

svn commit: r209063 - head/usr.sbin/arp

2010-06-11 Thread Max Laier
Author: mlaier Date: Fri Jun 11 19:35:05 2010 New Revision: 209063 URL: http://svn.freebsd.org/changeset/base/209063 Log: Cache the last result from if_indextoname for printing. This speeds up "arp -an" when using a lot of aliases (on a single interface). A better fix would include a bet

svn commit: r209267 - stable/8/usr.sbin/arp

2010-06-17 Thread Max Laier
Author: mlaier Date: Thu Jun 17 19:46:36 2010 New Revision: 209267 URL: http://svn.freebsd.org/changeset/base/209267 Log: MFC r209063: Cache the last result from if_indextoname for printing. This speeds up "arp -an" when using a lot of aliases (on a single interface). A better fi

svn commit: r209271 - stable/7/usr.sbin/arp

2010-06-17 Thread Max Laier
Author: mlaier Date: Thu Jun 17 20:38:18 2010 New Revision: 209271 URL: http://svn.freebsd.org/changeset/base/209271 Log: MFC r209063: Cache the last result from if_indextoname for printing. This speeds up "arp -an" when using a lot of aliases (on a single interface). A better fi

Re: svn commit: r209271 - stable/7/usr.sbin/arp

2010-06-17 Thread Max Laier
On Thursday 17 June 2010 22:38:18 Max Laier wrote: > Author: mlaier > Date: Thu Jun 17 20:38:18 2010 > New Revision: 209271 > URL: http://svn.freebsd.org/changeset/base/209271 > > Log: > MFC r209063: > Cache the last result from if_indextoname for printing. This

svn commit: r185877 - vendor/pf/4.2

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 20:55:44 2008 New Revision: 185877 URL: http://svn.freebsd.org/changeset/base/185877 Log: Tag for pf 4.2 Added: vendor/pf/4.2/ - copied from r185876, vendor/pf/dist/ ___ svn-src-all@freebsd.org mailing list http:

svn commit: r185880 - in vendor/pf/dist: authpf ftp-proxy man pfctl pflogd

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 20:59:26 2008 New Revision: 185880 URL: http://svn.freebsd.org/changeset/base/185880 Log: Import OPENBSD_4_3_BASE Modified: vendor/pf/dist/authpf/Makefile vendor/pf/dist/authpf/authpf.8 vendor/pf/dist/authpf/authpf.c vendor/pf/dist/authpf/pathnames.h ve

svn commit: r185881 - vendor/pf/4.3

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 21:00:02 2008 New Revision: 185881 URL: http://svn.freebsd.org/changeset/base/185881 Log: Tag for pf 4.3 Added: vendor/pf/4.3/ - copied from r185880, vendor/pf/dist/ ___ svn-src-all@freebsd.org mailing list http:

svn commit: r185882 - in vendor/pf/dist: authpf ftp-proxy libevent man pfctl pflogd tftp-proxy

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 21:08:42 2008 New Revision: 185882 URL: http://svn.freebsd.org/changeset/base/185882 Log: Import OPENBSD_4_4_BASE and libevent 1.3e Modified: vendor/pf/dist/authpf/authpf.8 vendor/pf/dist/ftp-proxy/filter.c vendor/pf/dist/ftp-proxy/ftp-proxy.c vendor/pf/d

svn commit: r185883 - vendor/pf/4.4

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 21:09:09 2008 New Revision: 185883 URL: http://svn.freebsd.org/changeset/base/185883 Log: Tag for pf 4.4 Added: vendor/pf/4.4/ - copied from r185882, vendor/pf/dist/ ___ svn-src-all@freebsd.org mailing list http:

svn commit: r185884 - vendor-sys/pf/dist/net

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 21:21:09 2008 New Revision: 185884 URL: http://svn.freebsd.org/changeset/base/185884 Log: Import OPENBSD_4_2_BASE Modified: vendor-sys/pf/dist/net/if_pflog.c vendor-sys/pf/dist/net/if_pfsync.c vendor-sys/pf/dist/net/if_pfsync.h vendor-sys/pf/dist/net/pf.c

svn commit: r185884 - vendor-sys/pf/dist/net

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 21:21:09 2008 New Revision: 185884 URL: http://svn.freebsd.org/changeset/base/185884 Log: Import OPENBSD_4_2_BASE Modified: vendor-sys/pf/dist/net/if_pflog.c vendor-sys/pf/dist/net/if_pfsync.c vendor-sys/pf/dist/net/if_pfsync.h vendor-sys/pf/dist/net/pf.c

svn commit: r185885 - vendor-sys/pf/4.2

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 21:22:15 2008 New Revision: 185885 URL: http://svn.freebsd.org/changeset/base/185885 Log: Tag for pf 4.2 Added: vendor-sys/pf/4.2/ - copied from r185884, vendor-sys/pf/dist/ ___ svn-src-all@freebsd.org mailing li

svn commit: r185885 - vendor-sys/pf/4.2

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 21:22:15 2008 New Revision: 185885 URL: http://svn.freebsd.org/changeset/base/185885 Log: Tag for pf 4.2 Added: vendor-sys/pf/4.2/ - copied from r185884, vendor-sys/pf/dist/ ___ svn-src-all@freebsd.org mailing li

svn commit: r185886 - vendor-sys/pf/dist/net

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 21:22:57 2008 New Revision: 185886 URL: http://svn.freebsd.org/changeset/base/185886 Log: Import OPENBSD_4_3_BASE Modified: vendor-sys/pf/dist/net/if_pflog.c vendor-sys/pf/dist/net/if_pfsync.c vendor-sys/pf/dist/net/if_pfsync.h vendor-sys/pf/dist/net/pf.c

svn commit: r185886 - vendor-sys/pf/dist/net

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 21:22:57 2008 New Revision: 185886 URL: http://svn.freebsd.org/changeset/base/185886 Log: Import OPENBSD_4_3_BASE Modified: vendor-sys/pf/dist/net/if_pflog.c vendor-sys/pf/dist/net/if_pfsync.c vendor-sys/pf/dist/net/if_pfsync.h vendor-sys/pf/dist/net/pf.c

svn commit: r185887 - vendor-sys/pf/4.3

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 21:23:23 2008 New Revision: 185887 URL: http://svn.freebsd.org/changeset/base/185887 Log: Tag for pf 4.3 Added: vendor-sys/pf/4.3/ - copied from r185886, vendor-sys/pf/dist/ ___ svn-src-all@freebsd.org mailing li

svn commit: r185887 - vendor-sys/pf/4.3

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 21:23:23 2008 New Revision: 185887 URL: http://svn.freebsd.org/changeset/base/185887 Log: Tag for pf 4.3 Added: vendor-sys/pf/4.3/ - copied from r185886, vendor-sys/pf/dist/ ___ svn-src-all@freebsd.org mailing li

svn commit: r185888 - vendor-sys/pf/dist/net

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 21:24:31 2008 New Revision: 185888 URL: http://svn.freebsd.org/changeset/base/185888 Log: Import OPENBSD_4_4_BASE Modified: vendor-sys/pf/dist/net/if_pfsync.c vendor-sys/pf/dist/net/if_pfsync.h vendor-sys/pf/dist/net/pf.c vendor-sys/pf/dist/net/pf_if.c

svn commit: r185888 - vendor-sys/pf/dist/net

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 21:24:31 2008 New Revision: 185888 URL: http://svn.freebsd.org/changeset/base/185888 Log: Import OPENBSD_4_4_BASE Modified: vendor-sys/pf/dist/net/if_pfsync.c vendor-sys/pf/dist/net/if_pfsync.h vendor-sys/pf/dist/net/pf.c vendor-sys/pf/dist/net/pf_if.c

svn commit: r185889 - vendor-sys/pf/4.4

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 21:24:58 2008 New Revision: 185889 URL: http://svn.freebsd.org/changeset/base/185889 Log: Tag for pf 4.4 Added: vendor-sys/pf/4.4/ - copied from r185888, vendor-sys/pf/dist/ ___ svn-src-all@freebsd.org mailing li

svn commit: r185889 - vendor-sys/pf/4.4

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 21:24:58 2008 New Revision: 185889 URL: http://svn.freebsd.org/changeset/base/185889 Log: Tag for pf 4.4 Added: vendor-sys/pf/4.4/ - copied from r185888, vendor-sys/pf/dist/ ___ svn-src-all@freebsd.org mailing li

Re: svn commit: r185880 - in vendor/pf/dist: authpf ftp-proxy man pfctl pflogd

2008-12-10 Thread Max Laier
On Wednesday 10 December 2008 22:02:35 Julian Elischer wrote: > Max Laier wrote: > > Author: mlaier > > Date: Wed Dec 10 20:59:26 2008 > > New Revision: 185880 > > URL: http://svn.freebsd.org/changeset/base/185880 > > > > Log: > > Import OPENBSD_4_3

Re: HEADS UP: vimage - virtualized global variables in the network stack

2008-12-13 Thread Max Laier
ous error (global available, but not in the container struct - or the other way around) can be warned about? -- /"\ Best regards, | mla...@freebsd.org \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | mla...@efnet / \ ASCII

Re: svn commit: r186187 - head/sys/net

2008-12-16 Thread Max Laier
_hook don't interact with the LIST_LOCK. > - Rename "done" label to "locked_error" to be clear that it's an error > path on the way out of hook execution. > > MFC after: pretty soon -- /"\ Best regards, | mla...@free

Re: svn commit: r186187 - head/sys/net

2008-12-16 Thread Max Laier
On Tuesday 16 December 2008 19:20:40 Robert Watson wrote: > On Tue, 16 Dec 2008, Max Laier wrote: > >> Log: > >> A few locking fixes and cleanups to pfil hook registration, > >> unregistration, and execution: > >> > >> - Add some brackets f

Re: svn commit: r186187 - head/sys/net

2008-12-17 Thread Max Laier
rote: > On Tue, 16 Dec 2008, Max Laier wrote: ... > >> - Don't lock the hook during registration, since it's not yet in use. > > > > Shouldn't the WLOCK be obtained regardless in order to obtain a memory > > barrier for the reading threads? pfil_run_hook

Re: svn commit: r186955 - in head/sys: conf netinet

2009-01-09 Thread Max Laier
nlocalok) { > + error = ENOPROTOOPT; > + break; > + } > +#endif Indentation is off here. And you should add a /* FALLTHROUGH */ comment to make it clear that this is intended. > case IP_TOS: > c

Re: svn commit: r186955 - in head/sys: conf netinet

2009-01-09 Thread Max Laier
On Friday 09 January 2009 18:46:06 Julian Elischer wrote: > Max Laier wrote: > > On Friday 09 January 2009 17:02:19 Adrian Chadd wrote: > >> Author: adrian > >> Date: Fri Jan 9 16:02:19 2009 > >> New Revision: 186955 > >> URL: http://svn.fr

Re: svn commit: r186955 - in head/sys: conf netinet

2009-01-09 Thread Max Laier
On Friday 09 January 2009 19:29:11 Adrian Chadd wrote: > 2009/1/9 Max Laier : > > Speaking of disabling it ... setting the sysctl to 0 is not really enough > > to do that. One would also have to walk through the active sockets and > > GC any that are bound to nonlocal addres

Re: svn commit: r186187 - head/sys/net

2009-01-15 Thread Max Laier
nd as such we might not see all changes done by pfil_add_hook in the thread that is doing the foo_remove(), right? Something similar is true for the the foo_add() above. Is there a reason why we don't want to lock the element's lock while we initialize? While it is safe i

Re: svn commit: r187787 - head/sbin/ipfw

2009-01-27 Thread Max Laier
d long long > +align_uint64(const uint64_t *pll) > +{ > uint64_t ret; > > bcopy (pll, &ret, sizeof(ret)); -- /"\ Best regards, | mla...@freebsd.org \ / Max Laier | ICQ #67774661 X htt

Re: svn commit: r194628 - head/lib/ncurses/ncurses

2009-06-30 Thread Max Laier
alization strings to the terminal. This is sometimes desirable if the deinitialization string does something unnecessary, like clear- ing the screen. It's one of the first things I do when I get a linux shell account somewhere. -- /"\ Best regar

Re: svn commit: r195485 - in stable/7/sys: . contrib/pf kern

2009-07-09 Thread Max Laier
s way we can record the mergeinfo in src/sys as well and get rid of the extra info in contrib/* I'd need some feedback from svn-savvy people to go this road, though. Before somebody asks why pf is the only offender - simply because it's the only sys/contrib source with a post-cvs merg

svn commit: r196360 - vendor-sys/pf/dist/net vendor-sys/pf/dist/netinet vendor/pf/dist/authpf vendor/pf/dist/ftp-proxy vendor/pf/dist/libevent vendor/pf/dist/man vendor/pf/dist/pfctl vendor/pf/dist...

2009-08-18 Thread Max Laier
Author: mlaier Date: Tue Aug 18 16:13:59 2009 New Revision: 196360 URL: http://svn.freebsd.org/changeset/base/196360 Log: eri@ wants to start on porting the latest pf in his user space so we can finally have a new version in 9.0. Import pf as of OPENBSD_4_5_BASE to help with that. Added:

svn commit: r196360 - vendor-sys/pf/dist/net vendor-sys/pf/dist/netinet vendor/pf/dist/authpf vendor/pf/dist/ftp-proxy vendor/pf/dist/libevent vendor/pf/dist/man vendor/pf/dist/pfctl vendor/pf/dist...

2009-08-18 Thread Max Laier
Author: mlaier Date: Tue Aug 18 16:13:59 2009 New Revision: 196360 URL: http://svn.freebsd.org/changeset/base/196360 Log: eri@ wants to start on porting the latest pf in his user space so we can finally have a new version in 9.0. Import pf as of OPENBSD_4_5_BASE to help with that. Added:

svn commit: r196361 - vendor-sys/pf/4.5 vendor/pf/4.5

2009-08-18 Thread Max Laier
Author: mlaier Date: Tue Aug 18 16:16:48 2009 New Revision: 196361 URL: http://svn.freebsd.org/changeset/base/196361 Log: Tag for pf 4.5 Added: vendor/pf/4.5/ - copied from r196360, vendor/pf/dist/ Changes in other areas also in this revision: Added: vendor-sys/pf/4.5/ - copied f

svn commit: r196361 - vendor-sys/pf/4.5 vendor/pf/4.5

2009-08-18 Thread Max Laier
Author: mlaier Date: Tue Aug 18 16:16:48 2009 New Revision: 196361 URL: http://svn.freebsd.org/changeset/base/196361 Log: Tag for pf 4.5 Added: vendor-sys/pf/4.5/ - copied from r196360, vendor-sys/pf/dist/ Changes in other areas also in this revision: Added: vendor/pf/4.5/ - copi

svn commit: r196362 - vendor-sys/pf/dist/net

2009-08-18 Thread Max Laier
Author: mlaier Date: Tue Aug 18 16:21:07 2009 New Revision: 196362 URL: http://svn.freebsd.org/changeset/base/196362 Log: Import 4.5-002 fix Modified: vendor-sys/pf/dist/net/pf.c Modified: vendor-sys/pf/dist/net/pf.c ===

svn commit: r196363 - vendor-sys/pf/4.5.002

2009-08-18 Thread Max Laier
Author: mlaier Date: Tue Aug 18 16:23:09 2009 New Revision: 196363 URL: http://svn.freebsd.org/changeset/base/196363 Log: Tag for pf 4.5.002 (named after OpenBSD errata numbering) Added: vendor-sys/pf/4.5.002/ - copied from r196362, vendor-sys/pf/dist/ ___

svn commit: r196372 - head/sys/contrib/pf/net

2009-08-18 Thread Max Laier
Author: mlaier Date: Wed Aug 19 00:10:10 2009 New Revision: 196372 URL: http://svn.freebsd.org/changeset/base/196372 Log: If we cannot immediately get the pf_consistency_lock in the purge thread, restart the scan after acquiring the lock the hard way. Otherwise we might end up with a dead r

svn commit: r196373 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf contrib/pf/net dev/xen/xenpci

2009-08-18 Thread Max Laier
Author: mlaier Date: Wed Aug 19 00:17:00 2009 New Revision: 196373 URL: http://svn.freebsd.org/changeset/base/196373 Log: MFC r196372: If we cannot immediately get the pf_consistency_lock in the purge thread, restart the scan after acquiring the lock the hard way. Otherwise we might

Re: svn commit: r183813 - in stable/6/sys: . netinet/libalias

2008-10-13 Thread Max Laier
if (align == FIND_EVEN_ALIAS_BASE) > - port_sys = random() & ALIAS_PORT_MASK_EVEN; > + port_sys = arc4random() & ALIAS_PORT_MASK_EVEN; > else > - port_sys = random() & ALIAS_PORT_MASK; > + port_s

Re: svn commit: r183881 - head/sys/netinet

2008-10-14 Thread Max Laier
; level that is already very high. > Also I do not see strict contradiction to the style(9), but probably I > am not reading the most current style(9). The additional scope is absolutely unnecessary here and should be dropped - IMHO. See case IP_FW_RESETLOG and above. -- /"\ Best regards,

Re: svn commit: r183960 - head/usr.bin/ministat

2008-10-16 Thread Max Laier
LQ_FOREACH(pp2, &ds->list, list) { > - if (pp->val < pp2->val) { > - TAILQ_INSERT_BEFORE(pp2, pp, list); > - return; > - } > - } > - TAILQ_INSERT_TAIL(&ds->list, pp, list); > } -- /"\ Best rega

svn commit: r184656 - head/usr.bin/du

2008-11-04 Thread Max Laier
Author: mlaier Date: Tue Nov 4 19:23:48 2008 New Revision: 184656 URL: http://svn.freebsd.org/changeset/base/184656 Log: Declare functions and variables static and save a few byte. This is a style(9)-change, too. Separate commit as it changes the object. Modified: head/usr.bin/du/du.c M

svn commit: r184654 - head/usr.bin/du

2008-11-04 Thread Max Laier
Author: mlaier Date: Tue Nov 4 19:17:32 2008 New Revision: 184654 URL: http://svn.freebsd.org/changeset/base/184654 Log: style(9): mostly avoiding line wrap by not indenting cases. No obj change. Modified: head/usr.bin/du/du.c Modified: head/usr.bin/du/du.c

svn commit: r184733 - head/usr.bin/du

2008-11-06 Thread Max Laier
Author: mlaier Date: Thu Nov 6 16:30:38 2008 New Revision: 184733 URL: http://svn.freebsd.org/changeset/base/184733 Log: Add two new options to du(1): -A Display the apparent size instead of the disk usage. This can be helpful when operating on compressed volumes or

svn commit: r184742 - head/usr.bin/du

2008-11-06 Thread Max Laier
Author: mlaier Date: Thu Nov 6 23:55:28 2008 New Revision: 184742 URL: http://svn.freebsd.org/changeset/base/184742 Log: Restore (intmax_t) casts I lost during the last change & unbreak the build. Modified: head/usr.bin/du/du.c Modified: head/usr.bin/du/du.c

Re: svn commit: r184935 - in head: contrib/telnet/telnetd libexec/telnetd

2008-11-13 Thread Max Laier
e, pn); Why not use str{l,n}cpy then ... even if it's big enough now. -- /"\ Best regards, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Cam

Re: svn commit: r185344 - in head/sys: netinet netinet6

2008-11-26 Thread Max Laier
t if we ever wanted to? -- /"\ Best regards, | [EMAIL PROTECTED] \ / Max Laier | ICQ #67774661 X http://pf4freebsd.love2party.net/ | [EMAIL PROTECTED] / \ ASCII Ribbon Campaign | Against HTML Mail and News

svn commit: r185594 - head/sbin/newfs_msdos

2008-12-03 Thread Max Laier
Author: mlaier Date: Wed Dec 3 23:00:57 2008 New Revision: 185594 URL: http://svn.freebsd.org/changeset/base/185594 Log: Fix build - cast off_t to (intmax_t) for printing. Modified: head/sbin/newfs_msdos/newfs_msdos.c Modified: head/sbin/newfs_msdos/newfs_msdos.c ===

Re: svn commit: r185594 - head/sbin/newfs_msdos

2008-12-03 Thread Max Laier
On Thursday 04 December 2008 00:00:57 Max Laier wrote: > Author: mlaier > Date: Wed Dec 3 23:00:57 2008 > New Revision: 185594 > URL: http://svn.freebsd.org/changeset/base/185594 > > Log: > Fix build - cast off_t to (intmax_t) for printing. I'd really like to typedef

svn commit: r185871 - svnadmin/conf

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 19:31:11 2008 New Revision: 185871 URL: http://svn.freebsd.org/changeset/base/185871 Log: Unlock pf userland vendor area Modified: svnadmin/conf/paths Modified: svnadmin/conf/paths ==

svn commit: r185872 - in vendor/pf: 3.4/authpf 3.4/contrib 3.4/ftp-proxy 3.4/man 3.4/pfctl 3.4/pflogd 3.5.001/contrib 3.5.001/pfctl 3.5/authpf 3.5/contrib 3.5/ftp-proxy 3.5/man 3.5/pfctl 3.5/pflogd...

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 19:31:42 2008 New Revision: 185872 URL: http://svn.freebsd.org/changeset/base/185872 Log: Flatten out the pf userland vendor area Added: vendor/pf/3.4/authpf/ - copied from r185870, vendor/pf/3.4/contrib/pf/authpf/ vendor/pf/3.4/ftp-proxy/ - copied

svn commit: r185873 - in vendor/pf: 3.4/authpf 3.4/ftp-proxy 3.4/man 3.4/pfctl 3.4/pflogd 3.5.001/pfctl 3.5/authpf 3.5/ftp-proxy 3.5/man 3.5/pfctl 3.5/pflogd 3.7/authpf 3.7/ftp-proxy 3.7/man 3.7/pf...

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 19:33:10 2008 New Revision: 185873 URL: http://svn.freebsd.org/changeset/base/185873 Log: No keyword expansion in vendor code, please. Modified: vendor/pf/3.4/authpf/authpf.8 (props changed) vendor/pf/3.4/authpf/authpf.c (props changed) vendor/pf/3.4/au

svn commit: r185875 - head/contrib/pf

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 20:44:18 2008 New Revision: 185875 URL: http://svn.freebsd.org/changeset/base/185875 Log: Bootstrap mergeinfo on pf userland Modified: head/contrib/pf/ (props changed) ___ svn-src-all@freebsd.org mailing list http:/

svn commit: r185876 - in vendor/pf/dist: authpf ftp-proxy man pfctl pflogd tftp-proxy

2008-12-10 Thread Max Laier
Author: mlaier Date: Wed Dec 10 20:54:37 2008 New Revision: 185876 URL: http://svn.freebsd.org/changeset/base/185876 Log: Import OPENBSD_4_2_BASE Added: vendor/pf/dist/authpf/Makefile (contents, props changed) vendor/pf/dist/ftp-proxy/Makefile (contents, props changed) vendor/pf/dist/

svn commit: r203834 - in head/sys: dev/cxgb dev/e1000 dev/ixgbe dev/mxge net

2010-02-13 Thread Max Laier
Author: mlaier Date: Sat Feb 13 16:04:58 2010 New Revision: 203834 URL: http://svn.freebsd.org/changeset/base/203834 Log: Fix drbr and altq interaction: - introduce drbr_needs_enqueue that returns whether the interface/br needs an enqueue operation: returns true if altq is enabled or the

Re: svn commit: r203834 - in head/sys: dev/cxgb dev/e1000 dev/ixgbe dev/mxge net

2010-02-13 Thread Max Laier
On Saturday 13 February 2010 17:04:58 Max Laier wrote: > Author: mlaier > Date: Sat Feb 13 16:04:58 2010 > New Revision: 203834 > URL: http://svn.freebsd.org/changeset/base/203834 > > Log: > Fix drbr and altq interaction: >- introduce drbr_needs_enqueue that returns

  1   2   >