svn commit: r213932 - head/sys/netinet

2010-10-16 Thread Bjoern A. Zeeb
Author: bz Date: Sat Oct 16 19:53:22 2010 New Revision: 213932 URL: http://svn.freebsd.org/changeset/base/213932 Log: MfP4 CH182763 (original version): Make it harder to exploit certain in_control() related races between the intiial lookup at the beginning and the time we will remove the

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

2010-10-16 Thread Bjoern A. Zeeb
On Sat, 16 Oct 2010, Bjoern A. Zeeb wrote: Author: bz Date: Sat Oct 16 19:53:22 2010 New Revision: 213932 URL: http://svn.freebsd.org/changeset/base/213932 Log: MfP4 CH182763 (original version): Make it harder to exploit certain in_control() related races between the intiial lookup

Re: svn commit: r214070 - head/sys/dev/if_ndis

2010-10-19 Thread Bjoern A. Zeeb
@@ ndis_linksts_done(adapter) default: break; } - - /* Notify possible listners of interface change. */ - - rt_ifmsg(ifp); } static void -- Bjoern A. Zeeb Welcome a new stage of life. ___ svn-src

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

2010-10-23 Thread Bjoern A. Zeeb
, NULL), + (%s: mbuf chain shorter than expected, __func__)); + /* * In transmit state, time the transmission and arrange for * the retransmit. In persist state, just set snd_max. -- Bjoern A. Zeeb Welcome a new stage of life

svn commit: r214333 - in head/sys: conf net

2010-10-25 Thread Bjoern A. Zeeb
== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sys/net/if_debug.c Mon Oct 25 08:30:19 2010(r214333) @@ -0,0 +1,125 @@ +/*- + * Copyright (c) 2010 Bjoern A. Zeeb b...@freebsd.org + * All rights reserved. + * + * Redistribution

svn commit: r214447 - head/usr.sbin/rtadvd

2010-10-28 Thread Bjoern A. Zeeb
Author: bz Date: Thu Oct 28 11:09:12 2010 New Revision: 214447 URL: http://svn.freebsd.org/changeset/base/214447 Log: Correct a typo. MFC after:3 days Modified: head/usr.sbin/rtadvd/rtadvd.conf.5 Modified: head/usr.sbin/rtadvd/rtadvd.conf.5

Re: pending em0 commits for FreeBSD 8.1 STABLE

2010-10-28 Thread Bjoern A. Zeeb
Corporation' device = 'Intel 82574L Gigabit Ethernet Controller (82574L)' class = network subclass = ethernet Denis Ahrens -- Bjoern A. Zeeb Welcome a new stage of life. ks Going to jail sucks -- bz All my daemons like it! http

Re: pending em0 commits for FreeBSD 8.1 STABLE

2010-10-29 Thread Bjoern A. Zeeb
? ip6_input() at ip6_input+0x28f Could you look that up? feel free to reboot camel1. I would guess it's the MCLGET() in the code with the L2 bridge ... comment on top? Probably a m_clget() call if you look it up in gdb. /bz -- Bjoern A. Zeeb Welcome a new stage

svn commit: r214565 - head/sys/netipsec

2010-10-30 Thread Bjoern A. Zeeb
Author: bz Date: Sat Oct 30 18:52:44 2010 New Revision: 214565 URL: http://svn.freebsd.org/changeset/base/214565 Log: Announce both IPsec and UDP Encap (NAT-T) if available for feature_present(3) checks. This will help to run-time detect and conditionally handle specific optionas of

Re: svn commit: r215318 - in head/sys: net sys

2010-11-15 Thread Bjoern A. Zeeb
a year of development work. Looking forward to the technical explanation. Modified: head/sys/net/vnet.h head/sys/sys/cdefs.h head/sys/sys/linker_set.h head/sys/sys/pcpu.h -- Bjoern A. Zeeb Welcome a new stage of life. ks Going to jail sucks -- bz All my

svn commit: r215418 - head/sys/netinet6

2010-11-17 Thread Bjoern A. Zeeb
Author: bz Date: Wed Nov 17 09:25:08 2010 New Revision: 215418 URL: http://svn.freebsd.org/changeset/base/215418 Log: No need to re-initialize the callout. We initially do it in in6_lltable_new() right after allocation. Worse, we are losing the right flags here. MFC after:4 days

svn commit: r215423 - head/sys/netinet6

2010-11-17 Thread Bjoern A. Zeeb
Author: bz Date: Wed Nov 17 10:43:20 2010 New Revision: 215423 URL: http://svn.freebsd.org/changeset/base/215423 Log: Do not initialize flag variables before needed. Consistently use the LLE_ prefix for lla_lookup() and the ND6_ prefix for nd6_lookup() even though both are defined the same.

svn commit: r215559 - head/sys/netinet6

2010-11-20 Thread Bjoern A. Zeeb
Author: bz Date: Sat Nov 20 12:27:40 2010 New Revision: 215559 URL: http://svn.freebsd.org/changeset/base/215559 Log: In case of an early return from the function there is no need to zero the route upfront, so defer as long as we can. MFC after:3 days Modified:

svn commit: r215641 - head/sys/net

2010-11-21 Thread Bjoern A. Zeeb
Author: bz Date: Sun Nov 21 19:33:19 2010 New Revision: 215641 URL: http://svn.freebsd.org/changeset/base/215641 Log: Add a missing ';' and change the debugging sysctl from xint to int. Submitted by: Mikolaj Golub (to.my.trociny gmail.com) MFC after:3 days Modified:

Re: svn commit: r216113 - head/gnu/usr.bin/cc

2010-12-02 Thread Bjoern A. Zeeb
-${GCC_CPU}.c) SRCS+= driver-${GCC_CPU}.c .endif -- Bjoern A. Zeeb Welcome a new stage of life. ks Going to jail sucks -- bz All my daemons like it! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html

svn commit: r216192 - head/sys/netinet

2010-12-04 Thread Bjoern A. Zeeb
Author: bz Date: Sun Dec 5 01:09:48 2010 New Revision: 216192 URL: http://svn.freebsd.org/changeset/base/216192 Log: Use correct field to track statistics counting error as bad header length. This assimilates the code to what ip_input has been doing since r1.1 in this case. Submitted

svn commit: r216277 - head/sys/netinet6

2010-12-07 Thread Bjoern A. Zeeb
Author: bz Date: Tue Dec 7 22:43:29 2010 New Revision: 216277 URL: http://svn.freebsd.org/changeset/base/216277 Log: Loosen the locking in nd6-free() again after r216022 to avoid a LOR and a recursed lock. Reported by: delphij Tested by:delphij PR: kern/148857 MFC

svn commit: r216340 - head/sys/kern

2010-12-09 Thread Bjoern A. Zeeb
Author: bz Date: Thu Dec 9 22:02:48 2010 New Revision: 216340 URL: http://svn.freebsd.org/changeset/base/216340 Log: Don't tie ct_debug to bootverbose. Provide a sysctl to turn it on or off. Switch the default to always off. Reviewed by: kib Modified: head/sys/kern/subr_clock.c

svn commit: r216466 - in head/sys: conf netinet

2010-12-15 Thread Bjoern A. Zeeb
Author: bz Date: Wed Dec 15 22:58:45 2010 New Revision: 216466 URL: http://svn.freebsd.org/changeset/base/216466 Log: Bring back (most of) NATM to avoid further bitrot after r186119. Keep three lines disabled which I am unsure if they had been used at all. This will allow us to seek testers

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

2010-12-15 Thread Bjoern A. Zeeb
On Wed, 15 Dec 2010, Bjoern A. Zeeb wrote: Author: bz Date: Wed Dec 15 22:58:45 2010 New Revision: 216466 URL: http://svn.freebsd.org/changeset/base/216466 Log: Bring back (most of) NATM to avoid further bitrot after r186119. Keep three lines disabled which I am unsure if they had been used

Re: svn commit: r216483 - head

2010-12-16 Thread Bjoern A. Zeeb
/vimage.h +# 20101208: libbsnmp was moved to usr/lib +OLD_LIBS+=lib/libbsnmp.so.5 # 20090719: library version bump for 8.0 OLD_LIBS+=lib/libalias.so.6 OLD_LIBS+=lib/libavl.so.1 -- Bjoern A. Zeeb Welcome a new stage of life. ks Going to jail sucks -- bz All my

Re: svn commit: r216662 - head/share/mk

2010-12-22 Thread Bjoern A. Zeeb
\ HESIOD \ IDEA -- Bjoern A. Zeeb Welcome a new stage of life. ks Going to jail sucks -- bz All my daemons like it! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html ___ svn-src-head@freebsd.org

Re: svn commit: r216685 - head

2010-12-26 Thread Bjoern A. Zeeb
| \ + cut -f 2 universe_kernconfs: universe_kernconf_${TARGET}_${kernel} universe_kernconf_${TARGET}_${kernel}: @(cd ${.CURDIR} env __MAKE_CONF=/dev/null \ -- Bjoern A. Zeeb Welcome a new stage of life. ks Going to jail sucks -- bz All my daemons like

Re: svn commit: r216836 - head/share/misc

2010-12-31 Thread Bjoern A. Zeeb
a src committer for review. -- Bjoern A. Zeeb You have to have visions! ks Going to jail sucks -- bz All my daemons like it! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html ___ svn-src-head

svn commit: r216848 - in head: . sys/sys

2010-12-31 Thread Bjoern A. Zeeb
Author: bz Date: Fri Dec 31 18:07:16 2010 New Revision: 216848 URL: http://svn.freebsd.org/changeset/base/216848 Log: Happy New Year 2011. Approved by: core (kib) Modified: head/COPYRIGHT head/sys/sys/copyright.h Modified: head/COPYRIGHT

svn commit: r216855 - head/sys/net

2010-12-31 Thread Bjoern A. Zeeb
Author: bz Date: Fri Dec 31 21:06:52 2010 New Revision: 216855 URL: http://svn.freebsd.org/changeset/base/216855 Log: Move the increment operation under the lock and split the condition variable into two so that we can see on which one we are waiting. This might also more properly propagate

svn commit: r216856 - head/sys/net

2010-12-31 Thread Bjoern A. Zeeb
Author: bz Date: Fri Dec 31 21:20:32 2010 New Revision: 216856 URL: http://svn.freebsd.org/changeset/base/216856 Log: Print the vnet pointer under DDB when iterating over flowtables of each virtual network stack instance. Sponsored by: ISPsystem [1] Reviewed by: julian [1] MFC

svn commit: r216857 - head/sys/netinet

2010-12-31 Thread Bjoern A. Zeeb
Author: bz Date: Fri Dec 31 21:47:11 2010 New Revision: 216857 URL: http://svn.freebsd.org/changeset/base/216857 Log: Try to catch a possible divide-by-zero as early as possible if mtu is 0 (also test for negative MTUs if checking it anyway). An MTU of 0 is arguably a bug elsewhere, but

svn commit: r216861 - head/sys/kern

2010-12-31 Thread Bjoern A. Zeeb
Author: bz Date: Fri Dec 31 22:49:13 2010 New Revision: 216861 URL: http://svn.freebsd.org/changeset/base/216861 Log: Mfp4 CH177924: Add and export constants of array sizes of jail parameters as compiled into the kernel. This is the least intrusive way to allow kvm to read the (sparse)

Re: svn commit: r216969 - head/sys/mips/conf

2011-01-05 Thread Bjoern A. Zeeb
/OCTEON1-32 -- Bjoern A. Zeeb You have to have visions! ks Going to jail sucks -- bz All my daemons like it! http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/jails.html ___ svn-src-head@freebsd.org mailing

Re: svn commit: r217013 - in head: sbin/ifconfig sys/net

2011-01-05 Thread Bjoern A. Zeeb
On Wed, 5 Jan 2011, Marius Strobl wrote: On Wed, Jan 05, 2011 at 03:34:30PM +, Bjoern A. Zeeb wrote: On Wed, 5 Jan 2011, Marius Strobl wrote: Author: marius Date: Wed Jan 5 15:28:30 2011 New Revision: 217013 URL: http://svn.freebsd.org/changeset/base/217013 Log: Teach ifconfig(8

Re: svn commit: r185499 - head

2011-01-09 Thread Bjoern A. Zeeb
}) @echo -- +.if defined(DOING_TINDERBOX) + @if [ -e ${FAILFILE} ] ; then \ + echo Tinderbox failed: ;\ + cat ${FAILFILE} ;\ + exit 1 ;\ + fi +.endif .endif -- Bjoern A. Zeeb

svn commit: r217195 - head/sys/kern

2011-01-09 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jan 9 14:34:56 2011 New Revision: 217195 URL: http://svn.freebsd.org/changeset/base/217195 Log: Improve style and wording of comments and sysctl descriptions [1]. Move machdep.ct_debug to debug.clocktime as there was no reason to actually put it under machdep in

Re: svn commit: r239584 - head/sys/kern

2012-08-23 Thread Bjoern A. Zeeb
On Wed, 22 Aug 2012, John Baldwin wrote: Author: jhb Date: Wed Aug 22 20:00:41 2012 New Revision: 239584 URL: http://svn.freebsd.org/changeset/base/239584 Log: Fix the 'show witness' DDB command to honor db_pager_quit. Thanks! -- Bjoern A. Zeeb You have

svn commit: r208077 - head/sbin/ifconfig

2010-05-14 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 14 15:06:12 2010 New Revision: 208077 URL: http://svn.freebsd.org/changeset/base/208077 Log: Document the 'short preamble' capability for 802.11bg. Reviewed by: sam MFC after:4 days Modified: head/sbin/ifconfig/ifconfig.8 Modified:

svn commit: r208100 - in head/sys: kern net

2010-05-14 Thread Bjoern A. Zeeb
Author: bz Date: Fri May 14 21:11:58 2010 New Revision: 208100 URL: http://svn.freebsd.org/changeset/base/208100 Log: Fix an issue with the dynamic pcpu/vnet data allocators. We cannot expect that modspace is the last entry in the linker set and thus that modspace + possible extra space

svn commit: r208508 - head/sys/netipsec

2010-05-24 Thread Bjoern A. Zeeb
Author: bz Date: Mon May 24 16:27:47 2010 New Revision: 208508 URL: http://svn.freebsd.org/changeset/base/208508 Log: MFp4 @178283: Improve IPsec flow distribution for better netisr parallelism. Instead of using the pointer that would have the last bits masked in a % statement in

svn commit: r208986 - in head: share/man/man5 sys/sys usr.bin/ipcs

2010-06-10 Thread Bjoern A. Zeeb
Author: bz Date: Thu Jun 10 14:19:51 2010 New Revision: 208986 URL: http://svn.freebsd.org/changeset/base/208986 Log: Make the char *n_name member of struct nlist 'const'. This avoids errors or __DECONST() from places with higher WARNS levels. Adjust a local cache variable in ipcs to

Re: svn commit: r209060 - head/sys/dev/ixgbe

2010-06-11 Thread Bjoern A. Zeeb
On Fri, 11 Jun 2010, Jack Vogel wrote: Hi, HM, I put in a change in response to some people having problems with mbuf resources, it seemed to work ok, but now i'm kinda concerned. Does this happen every time you bring the device up? In the routine 'ixgbe_setup_receive_ring()' I changed

Re: svn commit: r209060 - head/sys/dev/ixgbe

2010-06-11 Thread Bjoern A. Zeeb
On Fri, 11 Jun 2010, Jack Vogel wrote: Odd though, because that code is in the driver on a system with 16 cores and I'm not hearing about any problem from my test engineer. So this makes it all go away: --- //depot/user/bz/vimage/src/sys/dev/ixgbe/ixgbe.c2010-06-09 07:53:30.0

svn commit: r209739 - head/share/mk

2010-07-06 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jul 6 18:07:56 2010 New Revision: 209739 URL: http://svn.freebsd.org/changeset/base/209739 Log: Also install the new bsd.arch.inc.mk filed. Missed in r204020. Reviewed by: imp Modified: head/share/mk/Makefile Modified: head/share/mk/Makefile

Re: svn commit: r210138 - in head/sys: kern sys

2010-07-16 Thread Bjoern A. Zeeb
. */ int td_errno; /* Error returned by last syscall. */ -- Bjoern A. ZeebFrom August on I will have a life. It's now up to you to do the maths and count to 64. -- Bondorf, Germany, 14th June 2010 ___ svn-src-head

Re: svn commit: r210263 - head/sys/dev/bce

2010-07-20 Thread Bjoern A. Zeeb
); + if ((ifp-if_flags IFF_UP) == 0) { + BCE_UNLOCK(sc); + return; + } mii = device_get_softc(sc-bce_miibus); mii_pollstat(mii); -- Bjoern A. ZeebFrom August on I will have a life. It's now up to you to do the maths and count to 64

svn commit: r210350 - head/sys/netinet6

2010-07-21 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jul 21 13:01:21 2010 New Revision: 210350 URL: http://svn.freebsd.org/changeset/base/210350 Log: Since r186119 IP6 input counters for octets and packets were not working anymore. In addition more checks and operations were missing. In case lla_lookup results in a

svn commit: r210532 - head/sys/net

2010-07-27 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jul 27 11:54:01 2010 New Revision: 210532 URL: http://svn.freebsd.org/changeset/base/210532 Log: Return NULL rather than 0 for a pointer. MFC after:3 days Modified: head/sys/net/if.c Modified: head/sys/net/if.c

svn commit: r210686 - head/sys/netinet

2010-07-31 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jul 31 15:31:23 2010 New Revision: 210686 URL: http://svn.freebsd.org/changeset/base/210686 Log: MFp4 @181628: Free the rtentry after we diconnected it from the FIB and are counting it as rttrash. There might still be a chance we leak it from a different code path

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

2010-07-31 Thread Bjoern A. Zeeb
On Sat, 31 Jul 2010, Bjoern A. Zeeb wrote: Author: bz Date: Sat Jul 31 15:31:23 2010 New Revision: 210686 URL: http://svn.freebsd.org/changeset/base/210686 Log: MFp4 @181628: Free the rtentry after we diconnected it from the FIB and are counting it as rttrash. There might still

svn commit: r210703 - in head/sys: netinet netinet6

2010-07-31 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jul 31 21:33:18 2010 New Revision: 210703 URL: http://svn.freebsd.org/changeset/base/210703 Log: Document the mandatory argument to the arptimer() and nd6_llinfo_timer() functions with a KASSERT(). Note: there is no need to return after panic. In the legacy IP

svn commit: r210793 - head/sbin/fsck_ffs

2010-08-03 Thread Bjoern A. Zeeb
Author: bz Date: Tue Aug 3 09:21:13 2010 New Revision: 210793 URL: http://svn.freebsd.org/changeset/base/210793 Log: One question mark per question; everything else is just exaggerating. reply() will output a '?', when printing the question along with [yn], so no need to have another here.

Re: svn commit: r210974 - head/sys/kern

2010-08-07 Thread Bjoern A. Zeeb
JAIL_UPDATE) (ch_flags PR_VNET)) { error = EINVAL; -- Bjoern A. Zeeb This signature is about you not me. ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe

svn commit: r211115 - head/sys/netinet6

2010-08-09 Thread Bjoern A. Zeeb
Author: bz Date: Mon Aug 9 19:53:24 2010 New Revision: 25 URL: http://svn.freebsd.org/changeset/base/25 Log: MFp4 CH180235: Add proto spacers to inet6sw like we have for legacy IP. This allows us to dynamically pf_proto_register() for INET6 from modules, needed by upcoming

svn commit: r211301 - head/sys/netinet6

2010-08-14 Thread Bjoern A. Zeeb
Author: bz Date: Sat Aug 14 14:13:44 2010 New Revision: 211301 URL: http://svn.freebsd.org/changeset/base/211301 Log: In rip6_input(), in case of multicast, we might skip the normal processing and go to the next iteration early if multicast filtering would decide that this socket shall not

svn commit: r211451 - head/sys/netinet

2010-08-18 Thread Bjoern A. Zeeb
Author: bz Date: Wed Aug 18 09:28:12 2010 New Revision: 211451 URL: http://svn.freebsd.org/changeset/base/211451 Log: When calculating the expected memory size for userspace, also take the number of syncache entries into account for the surplus we add to account for a possible increase of

Re: svn commit: r211501 - in head/sys: modules modules/send netinet netinet6 sys

2010-08-19 Thread Bjoern A. Zeeb
be done. Can you define soon? Yes I can: soon will be when it'll be comitted. Meanwhile if you have time I'd know several dozen other things we don't have a man page for ... /bz -- Bjoern A. Zeeb This signature is about you not me

svn commit: r211904 - head/sys/net

2010-08-27 Thread Bjoern A. Zeeb
Author: bz Date: Fri Aug 27 23:22:58 2010 New Revision: 211904 URL: http://svn.freebsd.org/changeset/base/211904 Log: MFp4 CH=182972: Add explicit linkstate UP/DOWN for the epair. This is needed by carp(4) and other things to work. MFC after:5 days Modified:

svn commit: r212152 - head/sys/net

2010-09-02 Thread Bjoern A. Zeeb
Author: bz Date: Thu Sep 2 16:11:12 2010 New Revision: 212152 URL: http://svn.freebsd.org/changeset/base/212152 Log: MFp4 CH=183259: No reason to use if_free_type() as we don't change our type. Just if_free() is fine. MFC after:3 days Modified: head/sys/net/if_epair.c

svn commit: r212209 - head/sys/netinet

2010-09-04 Thread Bjoern A. Zeeb
Author: bz Date: Sat Sep 4 16:06:01 2010 New Revision: 212209 URL: http://svn.freebsd.org/changeset/base/212209 Log: In case of RADIX_MPATH do not leak the IN_IFADDR read lock on early return. MFC after:3 days Modified: head/sys/netinet/in.c Modified: head/sys/netinet/in.c

svn commit: r212210 - head/sys/dev/twa

2010-09-04 Thread Bjoern A. Zeeb
Author: bz Date: Sat Sep 4 16:27:14 2010 New Revision: 212210 URL: http://svn.freebsd.org/changeset/base/212210 Log: Fix a compile problem introduced with r212008 on 32bit: Both deadline and current_time are time_seconds (+ utc_offset()) casted to unsigned long long. No need to cast to

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

2010-09-09 Thread Bjoern A. Zeeb
Author: bz Date: Fri Sep 10 00:00:06 2010 New Revision: 212403 URL: http://svn.freebsd.org/changeset/base/212403 Log: When using pf routing options, properly handle IP fragmentation for interfaces with TSO enabled, otherwise one would see an extra ICMP unreach, frag needed pre matching

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

2010-09-18 Thread Bjoern A. Zeeb
+ hdrlen + ipoptlen == m_length(m, NULL), + (%s: mbuf chain shorter than expected, __func__)); + /* * In transmit state, time the transmission and arrange for * the retransmit. In persist state, just set snd_max. -- Bjoern A. Zeeb

svn commit: r213325 - head/sys/netinet

2010-10-01 Thread Bjoern A. Zeeb
Author: bz Date: Fri Oct 1 11:48:14 2010 New Revision: 213325 URL: http://svn.freebsd.org/changeset/base/213325 Log: Proper bracketing. PR: kern/151100 Submitted by: SunMinghao (sunminghao hotmail.com) MFC after:3 days Modified: head/sys/netinet/igmp.c Modified:

svn commit: r213328 - head/sys/net

2010-10-01 Thread Bjoern A. Zeeb
Author: bz Date: Fri Oct 1 15:14:14 2010 New Revision: 213328 URL: http://svn.freebsd.org/changeset/base/213328 Log: Only hide the ifa and not the tp under #ifdef INET as the tp is needed for locking evenwhen there is no INET. MFC after:3 days Modified: head/sys/net/if_tun.c

svn commit: r213832 - head/sys/netinet

2010-10-14 Thread Bjoern A. Zeeb
Author: bz Date: Thu Oct 14 12:32:49 2010 New Revision: 213832 URL: http://svn.freebsd.org/changeset/base/213832 Log: Use ifa_ifwithaddr_check() rather than ifa_ifwithaddr() as we are not interested in the result and would leak a reference otherwise. PR: kern/151435 Submitted

svn commit: r213836 - head/sys/netipsec

2010-10-14 Thread Bjoern A. Zeeb
Author: bz Date: Thu Oct 14 14:49:49 2010 New Revision: 213836 URL: http://svn.freebsd.org/changeset/base/213836 Log: Style: make the asterisk go with the variable name, not the type. MFC after:3 days Modified: head/sys/netipsec/ipsec_output.c Modified:

svn commit: r213837 - head/sys/netipsec

2010-10-14 Thread Bjoern A. Zeeb
Author: bz Date: Thu Oct 14 15:15:22 2010 New Revision: 213837 URL: http://svn.freebsd.org/changeset/base/213837 Log: Remove dead code: assignment to a local variable not used anywhere after that. MFC after:3 days Modified: head/sys/netipsec/ipsec_output.c Modified:

svn commit: r236304 - head/crypto/openssl/crypto/buffer head/crypto/openssl/ssl head/secure/lib/libcrypt releng/7.4 releng/7.4/crypto/openssl/crypto/buffer releng/7.4/crypto/openssl/ssl releng/7.4/...

2012-05-30 Thread Bjoern A. Zeeb
Author: bz Date: Wed May 30 12:01:28 2012 New Revision: 236304 URL: http://svn.freebsd.org/changeset/base/236304 Log: Update the previous openssl fix. [12:01] Fix a bug in crypt(3) ignoring characters of a passphrase. [12:02] Security: FreeBSD-SA-12:01.openssl (revised)

Re: svn commit: r236311 - in head/sys/modules: cxgb/cxgb ixgbe

2012-05-30 Thread Bjoern A. Zeeb
+= opt_inet.h opt_inet6.h -- Bjoern A. Zeeb You have to have visions! It does not matter how good you are. It matters what good you do! ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman

svn commit: r236394 - head/sys/netinet

2012-06-01 Thread Bjoern A. Zeeb
Author: bz Date: Fri Jun 1 11:42:50 2012 New Revision: 236394 URL: http://svn.freebsd.org/changeset/base/236394 Log: Make TCP LRO work properly with VIMAGE kernels rather than just panicing. There's no VIMAGE context set there yet as this is before if_ethersubr.c. MFC after:3 days

Re: svn commit: r236501 - head/sys/netinet6

2012-06-03 Thread Bjoern A. Zeeb
+ * to the upper layers. + */ + } + ifa_free(ia6-ia_ifa); + } } } -- Bjoern A. Zeeb You have

svn commit: r236615 - head/sys/netinet6

2012-06-05 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jun 5 13:27:37 2012 New Revision: 236615 URL: http://svn.freebsd.org/changeset/base/236615 Log: Plug two interface address refcount leaks in early error return cases in the ioctl path. Reported by: rpaulo Reviewed by: emax MFC after:3 days Modified:

svn commit: r236707 - head/tools/tools/tinybsd

2012-06-07 Thread Bjoern A. Zeeb
Author: bz Date: Thu Jun 7 09:14:28 2012 New Revision: 236707 URL: http://svn.freebsd.org/changeset/base/236707 Log: TinyBSD now seems to be hosted elsewhere. Modified: head/tools/tools/tinybsd/README Modified: head/tools/tools/tinybsd/README

svn commit: r236953 - head/sys/amd64/amd64 releng/7.4 releng/7.4/contrib/bind9/lib/dns releng/7.4/sys/amd64/amd64 releng/7.4/sys/conf releng/8.1 releng/8.1/contrib/bind9/lib/dns releng/8.1/sys/amd6...

2012-06-12 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jun 12 12:10:10 2012 New Revision: 236953 URL: http://svn.freebsd.org/changeset/base/236953 Log: Fix a problem where zero-length RDATA fields can cause named(8) to crash. [12:03] Correct a privilege escalation when returning from kernel if running FreeBSD/amd64 on

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

2012-06-12 Thread Bjoern A. Zeeb
, m-m_pkthdr.src_mac_addr, sizeof(af)); + m-m_pkthdr.csum_data = af; if (!(ifp-if_flags IFF_UP) || sc-gif_psrc == NULL || sc-gif_pdst == NULL) { m_freem(m); -- Bjoern A. Zeeb You have to have visions! It does not matter how

Re: svn commit: r236976 - head/sbin/fsck_ffs

2012-06-12 Thread Bjoern A. Zeeb
run to still find inconsistencies like 'INCORRECT BLOCK COUNT I=14557 (328 should be 0)' in phase 1. Fix this issue by running additional adj_blk pass after blk_check, which updates the field. Reviewed by: jeff, mckusick Thanks a lot! /bz -- Bjoern A. Zeeb

Re: svn commit: r237328 - in head/sys/cam: . scsi

2012-06-21 Thread Bjoern A. Zeeb
as a hint for the archives: enc(4) is completely unrelated to this commit as it's the encapsulation device used along with IPsec and has nothing to do with scsi_enc. -- Bjoern A. Zeeb You have to have visions! It does not matter how good you are. It matters

svn commit: r237459 - head/sys/netinet6

2012-06-22 Thread Bjoern A. Zeeb
Author: bz Date: Fri Jun 22 21:26:35 2012 New Revision: 237459 URL: http://svn.freebsd.org/changeset/base/237459 Log: Just add a comment to further investigate when being closer to that code again next time. The condition of the 2nd if() is very unlikely ever met. Modified:

svn commit: r238222 - head/sys/netinet6

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 08:49:37 2012 New Revision: 238222 URL: http://svn.freebsd.org/changeset/base/238222 Log: As mentioned in the commit message of r237571 (copied from a prototype patch of mine) also check if the 2nd in6_setscope() failed and return the error in that case. MFC

svn commit: r238248 - head/sys/netinet6

2012-07-08 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 8 15:30:24 2012 New Revision: 238248 URL: http://svn.freebsd.org/changeset/base/238248 Log: Implement handling of atomic fragements as outlined in draft-gont-6man-ipv6-atomic-fragments to mitigate one class of possible fragmentation-based attacks. MFC after:

svn commit: r238700 - head/sys/netipsec

2012-07-22 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 22 17:46:05 2012 New Revision: 238700 URL: http://svn.freebsd.org/changeset/base/238700 Log: Fix a bug introduced in r221129 that leads to a panic wen using bundled SAs. For now allow same address family bundles. While discovered with ESP and AH, which does not

svn commit: r238769 - head/sys/netinet

2012-07-25 Thread Bjoern A. Zeeb
Author: bz Date: Wed Jul 25 12:14:39 2012 New Revision: 238769 URL: http://svn.freebsd.org/changeset/base/238769 Log: Fix a problem when CARP is enabled on the interface for IPv4 but not for IPv6. The current checks in nd6_nbr.c along with the old version will result in ifa being NULL and

svn commit: r238871 - head/sys/net

2012-07-28 Thread Bjoern A. Zeeb
Author: bz Date: Sat Jul 28 20:31:39 2012 New Revision: 238871 URL: http://svn.freebsd.org/changeset/base/238871 Log: Hardcode the loopback rx/tx checkum options for IPv6 to on without checking. This allows the FreeBSD 9.1 release process to move forward. Work around the problem that

svn commit: r238877 - head/sys/netinet6

2012-07-28 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 29 00:44:41 2012 New Revision: 238877 URL: http://svn.freebsd.org/changeset/base/238877 Log: Fix a comment that we do not have an SA yet but need to acquire one. MFC after:3 days Modified: head/sys/netinet6/ip6_ipsec.c Modified:

svn commit: r238878 - head/sys/netinet6

2012-07-28 Thread Bjoern A. Zeeb
Author: bz Date: Sun Jul 29 00:45:24 2012 New Revision: 238878 URL: http://svn.freebsd.org/changeset/base/238878 Log: For consistency put the IPsec comment iside the #fidef section. MFC after:3 days Modified: head/sys/netinet6/ip6_output.c Modified: head/sys/netinet6/ip6_output.c

svn commit: r238894 - in head/sys: cam/scsi modules/cam

2012-07-29 Thread Bjoern A. Zeeb
Author: bz Date: Mon Jul 30 03:00:58 2012 New Revision: 238894 URL: http://svn.freebsd.org/changeset/base/238894 Log: Remove opt_enc.h from files committed with r235911. enc(4) is the 'encapsulating interface' used with IPsec and has nothing to do with storage 'enclosure' services.

svn commit: r238934 - head/sys/netinet6

2012-07-30 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jul 31 05:34:54 2012 New Revision: 238934 URL: http://svn.freebsd.org/changeset/base/238934 Log: Improve the should-never-hit printf to ease debugging in case we'd ever hit it again when doing the delayed IPv6 checksum calculations. MFC after:3 days Modified:

svn commit: r238935 - head/sys/netinet6

2012-07-30 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jul 31 05:44:03 2012 New Revision: 238935 URL: http://svn.freebsd.org/changeset/base/238935 Log: Properly apply #ifdef INET and leave a comment that we are (will) apply delayed IPv6 checksum processing in ip6_output.c when doing IPsec. PR: kern/170116 MFC

svn commit: r238960 - head/sys/netinet6

2012-07-31 Thread Bjoern A. Zeeb
Author: bz Date: Tue Jul 31 23:34:06 2012 New Revision: 238960 URL: http://svn.freebsd.org/changeset/base/238960 Log: In case of IPsec he have to do delayed checksum calculations before adding any extension header, or rather before calling into IPsec processing as we may send the packet and

Re: svn commit: r238990 - in head/sys: net netinet netinet6

2012-08-02 Thread Bjoern A. Zeeb
informative KASSERTs. The patch is a collaborative work of all submitters and myself. Quoting from 2 year old memory you just introduced a possible deadlock on tbale (or with that networkstack) teardown adding the extra af_data write locking to the table walk. -- Bjoern A. Zeeb

Re: svn commit: r226785 - head

2011-10-26 Thread Bjoern A. Zeeb
-- Bjoern A. Zeeb You have to have visions! Stop bit received. Insert coin for new address family. ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any

Re: svn commit: r225793 - in head/sys: modules/ipfw netinet/ipfw

2011-11-02 Thread Bjoern A. Zeeb
On Wed, 2 Nov 2011, Sergey Kandaurov wrote: On 27 September 2011 17:27, Bjoern A. Zeeb b...@freebsd.org wrote: Author: bz Date: Tue Sep 27 13:27:17 2011 New Revision: 225793 URL: http://svn.freebsd.org/changeset/base/225793 Log:  Unbreak no-ip and no-inet6 module builds with ipfw.  For now

Re: svn commit: r225793 - in head/sys: modules/ipfw netinet/ipfw

2011-11-02 Thread Bjoern A. Zeeb
On Wed, 2 Nov 2011, Sergey Kandaurov wrote: On 2 November 2011 16:53, Bjoern A. Zeeb b...@freebsd.org wrote: On Wed, 2 Nov 2011, Sergey Kandaurov wrote: On 27 September 2011 17:27, Bjoern A. Zeeb b...@freebsd.org wrote: Author: bz Date: Tue Sep 27 13:27:17 2011 New Revision: 225793 URL

Re: svn commit: r225793 - in head/sys: modules/ipfw netinet/ipfw

2011-11-02 Thread Bjoern A. Zeeb
On Wed, 2 Nov 2011, Bjoern A. Zeeb wrote: On Wed, 2 Nov 2011, Sergey Kandaurov wrote: On 2 November 2011 16:53, Bjoern A. Zeeb b...@freebsd.org wrote: On Wed, 2 Nov 2011, Sergey Kandaurov wrote: On 27 September 2011 17:27, Bjoern A. Zeeb b...@freebsd.org wrote: Author: bz Date: Tue Sep

svn commit: r227064 - in head: share/man/man4 sys/conf sys/dev/qlxgb sys/modules sys/modules/qlxgb

2011-11-03 Thread Bjoern A. Zeeb
file is newly added) +++ head/share/man/man4/qlxgb.4 Thu Nov 3 21:20:22 2011(r227064) @@ -0,0 +1,93 @@ +.\- +.\ Copyright (c) 2011 Bjoern A. Zeeb b...@freebsd.org +.\ All rights reserved. +.\ +.\ Redistribution and use in source and binary forms, with or without +.\ modification

svn commit: r227085 - in head/sys: modules modules/ipfw netinet/ipfw

2011-11-04 Thread Bjoern A. Zeeb
Author: bz Date: Fri Nov 4 16:24:19 2011 New Revision: 227085 URL: http://svn.freebsd.org/changeset/base/227085 Log: Always use the opt_*.h options for ipfw.ko, not just when compiled into the kernel. Do not try to build the module in case of no INET support but keep #error calls for now

svn commit: r227481 - head/sys/netinet6

2011-11-12 Thread Bjoern A. Zeeb
Author: bz Date: Sun Nov 13 02:32:10 2011 New Revision: 227481 URL: http://svn.freebsd.org/changeset/base/227481 Log: Return the correct value for the IPV6_MULTICAST_HOPS getsockopt() call. Submitted by: rpaulo MFC after:3 days Modified: head/sys/netinet6/in6_mcast.c Modified:

svn commit: r227547 - head/sys/dev/qlxgb

2011-11-15 Thread Bjoern A. Zeeb
Author: bz Date: Wed Nov 16 02:00:55 2011 New Revision: 227547 URL: http://svn.freebsd.org/changeset/base/227547 Log: The maximum TSO frame size should be: maximum IP datagram size (65535 bytes) + Ethernet header size (14 bytes) + 2 * VLAN tag size (4 bytes) [1].

Re: svn commit: r228004 - in head: contrib/libcxxrt lib/libcxxrt

2011-11-26 Thread Bjoern A. Zeeb
Nov 26 18:46:33 2011(r228004) @@ -21,6 +21,5 @@ SRCS+=libelftc_dem_gnu3.c\ WARNS=0 CFLAGS+= -I${SRCDIR} -LDADD+= -pthread .include bsd.lib.mk -- Bjoern A. Zeeb You have to have visions! Stop bit received. Insert coin

Re: svn commit: r227987 - in head: . lib share/mk

2011-11-26 Thread Bjoern A. Zeeb
:26:06 2011(r227987) @@ -413,6 +413,7 @@ __DEFAULT_NO_OPTIONS = \ HESIOD \ ICONV \ IDEA \ +LIBCPLUSPLUS \ OFED # @@ -553,8 +554,6 @@ MK_GCC:=no MK_GDB:=no .endif -MK_LIBCPLUSPLUS?= no - # # Set defaults for the MK_*_SUPPORT variables. # -- Bjoern A. Zeeb

Re: svn commit: r228004 - in head: contrib/libcxxrt lib/libcxxrt

2011-11-27 Thread Bjoern A. Zeeb
On Sat, 26 Nov 2011, David Schultz wrote: On Sat, Nov 26, 2011, Bjoern A. Zeeb wrote: On Sat, 26 Nov 2011, David Chisnall wrote: Author: theraven Date: Sat Nov 26 18:46:33 2011 New Revision: 228004 URL: http://svn.freebsd.org/changeset/base/228004 Log: Update libcxxrt to remove the pthread

Re: svn commit: r228021 - head/sys/conf

2011-11-28 Thread Bjoern A. Zeeb
) @@ -6,7 +6,7 @@ all: clean: rm -f LINT .if ${TARGET} == amd64 || ${TARGET} == i386 - rm -f LINT-VIMAGE + rm -f LINT-VIMAGE LINT-NOINET LINT-NOINET6 LINT-NOIP .endif NOTES=../../conf/NOTES NOTES -- Bjoern A. Zeeb You have to have visions

  1   2   3   4   5   6   7   8   9   10   >