svn commit: r212726 - head/sbin/sysctl

2010-09-16 Thread Marko Zec
Author: zec Date: Thu Sep 16 10:53:01 2010 New Revision: 212726 URL: http://svn.freebsd.org/changeset/base/212726 Log: Make the format of "Real Memory" and "Virtual Memory" lines more consistent with the rest of sysctl vm.vmtotal output. MFC after:3 days Modified: head/sbin/sysctl/

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

2010-11-15 Thread Marko Zec
On Monday 15 November 2010 15:58:15 Bjoern A. Zeeb wrote: > On Sun, 14 Nov 2010, Dimitry Andric wrote: > > Author: dim > > Date: Sun Nov 14 20:40:55 2010 > > New Revision: 215318 > > URL: http://svn.freebsd.org/changeset/base/215318 > > > > Log: > > Instead of unconditionally emitting .globl's for

svn commit: r215673 - head/sys/netgraph

2010-11-22 Thread Marko Zec
Author: zec Date: Mon Nov 22 12:32:19 2010 New Revision: 215673 URL: http://svn.freebsd.org/changeset/base/215673 Log: Allow for MTU sizes of up to ETHER_MAX_LEN_JUMBO (i.e. 9018) bytes to be configured on ng_eiface ifnets. The default MTU remains unchanged at 1500 bytes. Mark ng_eifac

svn commit: r215677 - head/sys/netinet

2010-11-22 Thread Marko Zec
Author: zec Date: Mon Nov 22 14:16:23 2010 New Revision: 215677 URL: http://svn.freebsd.org/changeset/base/215677 Log: Remove an apparently redundant CURVNET_SET() / CURVNET_RESTORE() pair. MFC after:3 days Modified: head/sys/netinet/if_ether.c Modified: head/sys/netinet/if_ether.c

svn commit: r215726 - head/sys/net

2010-11-22 Thread Marko Zec
Author: zec Date: Mon Nov 22 23:35:29 2010 New Revision: 215726 URL: http://svn.freebsd.org/changeset/base/215726 Log: Allow for vlan(4) ifnets to have overlapping unit numbers if they are created in separated vnets. As a side-effect of having a separated if_cloner instance for each vnet, a

svn commit: r215743 - in stable/8/sys: libkern netgraph vm

2010-11-23 Thread Marko Zec
Author: zec Date: Tue Nov 23 13:25:27 2010 New Revision: 215743 URL: http://svn.freebsd.org/changeset/base/215743 Log: MFC 206360: Start copyright notice with /*- Modified: stable/8/sys/libkern/iconv_xlat.c stable/8/sys/libkern/strcasecmp.c stable/8/sys/netgraph/ng_pipe.c stable/8/

svn commit: r215744 - stable/8/sys/netgraph

2010-11-23 Thread Marko Zec
Author: zec Date: Tue Nov 23 13:26:59 2010 New Revision: 215744 URL: http://svn.freebsd.org/changeset/base/215744 Log: MFC 207426: Avoid undefined behaviour. Modified: stable/8/sys/netgraph/ng_pipe.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/

svn commit: r215745 - stable/8/sys/netgraph

2010-11-23 Thread Marko Zec
Author: zec Date: Tue Nov 23 13:28:45 2010 New Revision: 215745 URL: http://svn.freebsd.org/changeset/base/215745 Log: MFC 209723: Fix a double-free bug which can occur if both bit error rate and packet duplication probability are configured on a ng_pipe node. Submitted by:

svn commit: r215746 - stable/8/sbin/sysctl

2010-11-23 Thread Marko Zec
Author: zec Date: Tue Nov 23 13:37:42 2010 New Revision: 215746 URL: http://svn.freebsd.org/changeset/base/215746 Log: MFC 212726: Make the format of "Real Memory" and "Virtual Memory" lines more consistent with the rest of sysctl vm.vmtotal output. MFC after:3 days Modifi

svn commit: r215800 - head/sys/netgraph

2010-11-24 Thread Marko Zec
Author: zec Date: Wed Nov 24 16:02:58 2010 New Revision: 215800 URL: http://svn.freebsd.org/changeset/base/215800 Log: Simplify ng_pipe locking model by relying on the netgraph framework to provide serialization of calls into the node, which is accomplished by markng the node as single-threa

svn commit: r215869 - stable/8/sys/netgraph

2010-11-26 Thread Marko Zec
Author: zec Date: Fri Nov 26 15:44:16 2010 New Revision: 215869 URL: http://svn.freebsd.org/changeset/base/215869 Log: MFC r215673: Allow for MTU sizes of up to ETHER_MAX_LEN_JUMBO (i.e. 9018) bytes to be configured on ng_eiface ifnets. The default MTU remains unchanged at 1500 b

svn commit: r215870 - stable/8/sys/netinet

2010-11-26 Thread Marko Zec
Author: zec Date: Fri Nov 26 15:45:34 2010 New Revision: 215870 URL: http://svn.freebsd.org/changeset/base/215870 Log: MFC r215677: Remove an apparently redundant CURVNET_SET() / CURVNET_RESTORE() pair. Modified: stable/8/sys/netinet/if_ether.c Directory Properties: stable/8/sys/

svn commit: r215871 - stable/8/sys/net

2010-11-26 Thread Marko Zec
Author: zec Date: Fri Nov 26 15:46:49 2010 New Revision: 215871 URL: http://svn.freebsd.org/changeset/base/215871 Log: MFC r215726: Allow for vlan(4) ifnets to have overlapping unit numbers if they are created in separated vnets. As a side-effect of having a separated if_cloner i

svn commit: r215958 - stable/8/sys/netgraph

2010-11-27 Thread Marko Zec
Author: zec Date: Sat Nov 27 23:48:53 2010 New Revision: 215958 URL: http://svn.freebsd.org/changeset/base/215958 Log: MFC r215800: Simplify ng_pipe locking model by relying on the netgraph framework to provide serialization of calls into the node, which is accomplished by markng

svn commit: r196421 - head/tools/tools/vimage

2009-08-21 Thread Marko Zec
Author: zec Date: Fri Aug 21 11:13:56 2009 New Revision: 196421 URL: http://svn.freebsd.org/changeset/base/196421 Log: Bugfix: all requests for creating vnets via vimage -c were always reported as failures, even if the actual library / system call would succeed, because error message would b

svn commit: r196422 - stable/8/tools/tools/vimage

2009-08-21 Thread Marko Zec
Author: zec Date: Fri Aug 21 11:17:25 2009 New Revision: 196422 URL: http://svn.freebsd.org/changeset/base/196422 Log: MFC r196421: Bugfix: all requests for creating vnets via vimage -c were always reported as failures, even if the actual library / system call would succeed, becau

svn commit: r196501 - head/sys/kern

2009-08-24 Thread Marko Zec
Author: zec Date: Mon Aug 24 10:03:41 2009 New Revision: 196501 URL: http://svn.freebsd.org/changeset/base/196501 Log: When registering a protocol to an existing protocol domain via pf_proto_register(), iterate over all existing vnets to call protosw_init() and thus the appropriate .pr_init(

svn commit: r196502 - head/sys/netinet

2009-08-24 Thread Marko Zec
Author: zec Date: Mon Aug 24 10:06:02 2009 New Revision: 196502 URL: http://svn.freebsd.org/changeset/base/196502 Log: Introduce a div_destroy() function which takes over per-vnet cleanup tasks from the existing modevent / MOD_UNLOAD handler, and register div_destroy() in protosw as per-vnet

svn commit: r196503 - in head/sys: fs/nfsclient nfsclient rpc

2009-08-24 Thread Marko Zec
Author: zec Date: Mon Aug 24 10:09:30 2009 New Revision: 196503 URL: http://svn.freebsd.org/changeset/base/196503 Log: Fix NFS panics with options VIMAGE kernels by apropriately setting curvnet context inside the RPC code. Temporarily set td's cred to mount's cred before calling socreate(

svn commit: r196504 - head/sys/net

2009-08-24 Thread Marko Zec
Author: zec Date: Mon Aug 24 10:14:09 2009 New Revision: 196504 URL: http://svn.freebsd.org/changeset/base/196504 Log: When moving ifnets from one vnet to another, and the ifnet has ifaddresses of AF_LINK type which thus have an embedded if_index "backpointer", we must update that if_index b

svn commit: r196505 - head/sys/kern

2009-08-24 Thread Marko Zec
Author: zec Date: Mon Aug 24 10:16:19 2009 New Revision: 196505 URL: http://svn.freebsd.org/changeset/base/196505 Log: When "jail -c vnet" request fails, the current code actually creates and leaves behind an orphaned vnet. This change ensures that such vnets get released. This change

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

2009-08-24 Thread Marko Zec
On Monday 24 August 2009 12:14:09 Marko Zec wrote: > Author: zec > Date: Mon Aug 24 10:14:09 2009 > New Revision: 196504 > URL: http://svn.freebsd.org/changeset/base/196504 > > Log: > When moving ifnets from one vnet to another, and the ifnet > has ifaddresses of AF_L

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

2009-08-28 Thread Marko Zec
Author: zec Date: Fri Aug 28 19:08:56 2009 New Revision: 196620 URL: http://svn.freebsd.org/changeset/base/196620 Log: MFC r196501: When registering a protocol to an existing protocol domain via pf_proto_register(), iterate over all existing vnets to call protosw_init() and thus t

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

2009-08-28 Thread Marko Zec
Author: zec Date: Fri Aug 28 19:10:58 2009 New Revision: 196621 URL: http://svn.freebsd.org/changeset/base/196621 Log: MFC r196502: Introduce a div_destroy() function which takes over per-vnet cleanup tasks from the existing modevent / MOD_UNLOAD handler, and register div_destroy()

svn commit: r196622 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris contrib/dev/acpica contrib/pf dev/xen/xenpci fs/nfsclient nfsclient rpc

2009-08-28 Thread Marko Zec
Author: zec Date: Fri Aug 28 19:12:44 2009 New Revision: 196622 URL: http://svn.freebsd.org/changeset/base/196622 Log: MFC r196503: Fix NFS panics with options VIMAGE kernels by apropriately setting curvnet context inside the RPC code. Temporarily set td's cred to mount's cred

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

2009-08-28 Thread Marko Zec
Author: zec Date: Fri Aug 28 19:15:17 2009 New Revision: 196623 URL: http://svn.freebsd.org/changeset/base/196623 Log: MFC r196505: When "jail -c vnet" request fails, the current code actually creates and leaves behind an orphaned vnet. This change ensures that such vnets get rel

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

2009-08-28 Thread Marko Zec
Author: zec Date: Fri Aug 28 19:18:20 2009 New Revision: 196624 URL: http://svn.freebsd.org/changeset/base/196624 Log: MFC r196504: When moving ifnets from one vnet to another, and the ifnet has ifaddresses of AF_LINK type which thus have an embedded if_index "backpointer", we mus

svn commit: r196633 - head/sys/net

2009-08-28 Thread Marko Zec
Author: zec Date: Fri Aug 28 22:30:55 2009 New Revision: 196633 URL: http://svn.freebsd.org/changeset/base/196633 Log: Introduce a separate sx lock for protecting lists of vnet sysinit and sysuninit handlers. Previously, sx_vnet, which is a lock designated for protecting the vnet list,

svn commit: r196635 - in head/sys/compat: linprocfs linux

2009-08-28 Thread Marko Zec
Author: zec Date: Fri Aug 28 22:51:07 2009 New Revision: 196635 URL: http://svn.freebsd.org/changeset/base/196635 Log: Fix a few panics in linuxulator + VIMAGE due to curvnet not being set. This change affects only options VIMAGE builds. Reviewed by: julian MFC after:3 days Mod

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

2009-08-31 Thread Marko Zec
Author: zec Date: Mon Aug 31 09:44:07 2009 New Revision: 196690 URL: http://svn.freebsd.org/changeset/base/196690 Log: MFC r196633: Introduce a separate sx lock for protecting lists of vnet sysinit and sysuninit handlers. Previously, sx_vnet, which is a lock designated for prot

svn commit: r196691 - in stable/8/sys: . amd64/include/xen cddl/contrib/opensolaris compat/linprocfs compat/linux contrib/dev/acpica contrib/pf dev/xen/xenpci

2009-08-31 Thread Marko Zec
Author: zec Date: Mon Aug 31 09:46:09 2009 New Revision: 196691 URL: http://svn.freebsd.org/changeset/base/196691 Log: MFC r196635: Fix a few panics in linuxulator + VIMAGE due to curvnet not being set. This change affects only options VIMAGE builds. Reviewed by: julian

Re: svn commit: r196769 - in head/sys: amd64/amd64 i386/i386

2009-09-03 Thread Marko Zec
On Wednesday 02 September 2009 18:02:48 Jung-uk Kim wrote: > Author: jkim > Date: Wed Sep 2 16:02:48 2009 > New Revision: 196769 > URL: http://svn.freebsd.org/changeset/base/196769 > > Log: > - Work around ACPI mode transition problem for recent NVIDIA 9400M > chipset based Intel Macs. Since r1

Re: svn commit: r196769 - in head/sys: amd64/amd64 i386/i386

2009-09-03 Thread Marko Zec
On Thursday 03 September 2009 22:51:47 Jung-uk Kim wrote: > On Thursday 03 September 2009 04:25 pm, Marko Zec wrote: > > On Wednesday 02 September 2009 18:02:48 Jung-uk Kim wrote: > > > Author: jkim > > > Date: Wed Sep 2 16:02:48 2009 > > > New Revision: 1967

svn commit: r197176 - head/sys/compat/linux

2009-09-13 Thread Marko Zec
Author: zec Date: Sun Sep 13 21:30:18 2009 New Revision: 197176 URL: http://svn.freebsd.org/changeset/base/197176 Log: Lock the ifnet list while iterating over it. Submitted by: julian MFC after:3 days Modified: head/sys/compat/linux/linux_ioctl.c Modified: head/sys/compat/linux/l

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

2009-09-17 Thread Marko Zec
Author: zec Date: Thu Sep 17 11:03:37 2009 New Revision: 197267 URL: http://svn.freebsd.org/changeset/base/197267 Log: MFC r197176: Lock the ifnet list while iterating over it. Submitted by: julian MFC after:3 days Approved by: re (kensmith) Modified: stable/8/sys/

svn commit: r197286 - head/sys/net

2009-09-17 Thread Marko Zec
Author: zec Date: Thu Sep 17 14:52:15 2009 New Revision: 197286 URL: http://svn.freebsd.org/changeset/base/197286 Log: V_irtualize the lltables list, making ARP and ND reasonably usable again with options VIMAGE kernels. Submitted by: bz (the original version, probably identical to this o

svn commit: r197306 - head/sys/net

2009-09-18 Thread Marko Zec
Author: zec Date: Fri Sep 18 09:03:23 2009 New Revision: 197306 URL: http://svn.freebsd.org/changeset/base/197306 Log: Style fix - break too long a line in two. Spotted by: bz MFC after:3 days Modified: head/sys/net/if_llatbl.c Modified: head/sys/net/if_llatbl.c

svn commit: r223860 - stable/8/sys/net

2011-07-08 Thread Marko Zec
Author: zec Date: Fri Jul 8 09:18:50 2011 New Revision: 223860 URL: http://svn.freebsd.org/changeset/base/223860 Log: MFC r222834: Set curvnet context in a callout-trigerred code path. Modified: stable/8/sys/net/bridgestp.c stable/8/sys/net/bridgestp.h Directory Properties: stable/8/

svn commit: r223862 - in head/sys: net netinet netinet6

2011-07-08 Thread Marko Zec
Author: zec Date: Fri Jul 8 09:38:33 2011 New Revision: 223862 URL: http://svn.freebsd.org/changeset/base/223862 Log: Permit ARP to proceed for IPv4 host routes for which the gateway is the same as the host address. This already works fine for INET6 and ND6. While here, remove two funct

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

2011-07-08 Thread Marko Zec
On Friday 08 July 2011 12:08:49 Andre Oppermann wrote: > On 08.07.2011 11:38, Marko Zec wrote: > > Author: zec > > Date: Fri Jul 8 09:38:33 2011 > > New Revision: 223862 > > URL: http://svn.freebsd.org/changeset/base/223862 > > > > Log: > >Permit

svn commit: r223948 - in stable/8/sys: net netinet netinet6

2011-07-12 Thread Marko Zec
Author: zec Date: Tue Jul 12 12:29:32 2011 New Revision: 223948 URL: http://svn.freebsd.org/changeset/base/223948 Log: MFC r223862: Permit ARP to proceed for IPv4 host routes for which the gateway is the same as the host address. This already works fine for INET6 and ND6. While h

svn commit: r224107 - head/sys/netgraph

2011-07-16 Thread Marko Zec
Author: zec Date: Sat Jul 16 19:11:45 2011 New Revision: 224107 URL: http://svn.freebsd.org/changeset/base/224107 Log: Clear pending ifnet events, in an attempt at preventing ng_ether_link_state() from being dispatched after we have cleared our IFP2NG(ifp). MFC after:3 days Modifie

svn commit: r224215 - stable/8/sys/netgraph

2011-07-19 Thread Marko Zec
Author: zec Date: Tue Jul 19 11:04:58 2011 New Revision: 224215 URL: http://svn.freebsd.org/changeset/base/224215 Log: MFC r224107: Clear pending ifnet events, in an attempt at preventing ng_ether_link_state() from being dispatched after we have cleared our IFP2NG(ifp). Modified:

svn commit: r220416 - head/sys/netgraph

2011-04-07 Thread Marko Zec
Author: zec Date: Thu Apr 7 11:40:10 2011 New Revision: 220416 URL: http://svn.freebsd.org/changeset/base/220416 Log: Properly unref ng_hub nodes on shutdown, so that we don't leak them. MFC after:3 days Modified: head/sys/netgraph/ng_hub.c Modified: head/sys/netgraph/ng_hub.c

Re: svn commit: r220416 - head/sys/netgraph

2011-04-07 Thread Marko Zec
On Thursday 07 April 2011 15:54:40 Gleb Smirnoff wrote: > On Thu, Apr 07, 2011 at 11:40:10AM +0000, Marko Zec wrote: > M> Author: zec > M> Date: Thu Apr 7 11:40:10 2011 > M> New Revision: 220416 > M> URL: http://svn.freebsd.org/changeset/base/220416 > M> >

svn commit: r221985 - stable/8/sys/netgraph

2011-05-16 Thread Marko Zec
Author: zec Date: Mon May 16 12:11:29 2011 New Revision: 221985 URL: http://svn.freebsd.org/changeset/base/221985 Log: MFC r220416: Properly unref ng_hub nodes on shutdown, so that we don't leak them. Modified: stable/8/sys/netgraph/ng_hub.c Directory Properties: stable/8/sys/ (pro

svn commit: r222246 - head/sys/net

2011-05-24 Thread Marko Zec
Author: zec Date: Tue May 24 07:57:28 2011 New Revision: 46 URL: http://svn.freebsd.org/changeset/base/46 Log: Let epair(4) virtual interfaces report fake link / media status, by borrowing the skeleton of if_media manipulation and reporting code from if_lagg(4). The main motivation

svn commit: r222247 - head/sys/net

2011-05-24 Thread Marko Zec
Author: zec Date: Tue May 24 08:02:55 2011 New Revision: 47 URL: http://svn.freebsd.org/changeset/base/47 Log: Allow for vlan(4) interfaces with MTU of 1500 bytes to be configured on top of epair(4) virtual interfaces, since there's no physical hardware associated with epair interfac

svn commit: r222255 - head/sys/netgraph

2011-05-24 Thread Marko Zec
Author: zec Date: Tue May 24 14:10:33 2011 New Revision: 55 URL: http://svn.freebsd.org/changeset/base/55 Log: Provide fake link status information in an attempt to let ng_eiface(4) virtual ifnets more realistically mimic physical ethernet interfaces. The main motivation behind this

svn commit: r222257 - head/sys/netgraph

2011-05-24 Thread Marko Zec
Author: zec Date: Tue May 24 14:36:32 2011 New Revision: 57 URL: http://svn.freebsd.org/changeset/base/57 Log: Assume the link to be dead if bit error rate (BER) parameter is set to 1. When a transition from link alive to link dead configuration or vice versa occurs, notify any upstr

svn commit: r222344 - stable/8/sys/net

2011-05-27 Thread Marko Zec
Author: zec Date: Fri May 27 08:40:26 2011 New Revision: 222344 URL: http://svn.freebsd.org/changeset/base/222344 Log: MFC r46: Let epair(4) virtual interfaces report fake link / media status, by borrowing the skeleton of if_media manipulation and reporting code from if_lagg(4).

svn commit: r222345 - stable/8/sys/net

2011-05-27 Thread Marko Zec
Author: zec Date: Fri May 27 08:41:57 2011 New Revision: 222345 URL: http://svn.freebsd.org/changeset/base/222345 Log: MFC r47: Allow for vlan(4) interfaces with MTU of 1500 bytes to be configured on top of epair(4) virtual interfaces, since there's no physical hardware associate

svn commit: r222346 - stable/8/sys/netgraph

2011-05-27 Thread Marko Zec
Author: zec Date: Fri May 27 08:43:03 2011 New Revision: 222346 URL: http://svn.freebsd.org/changeset/base/222346 Log: MFC r55: Provide fake link status information in an attempt to let ng_eiface(4) virtual ifnets more realistically mimic physical ethernet interfaces. The main mo

svn commit: r222347 - stable/8/sys/netgraph

2011-05-27 Thread Marko Zec
Author: zec Date: Fri May 27 08:43:59 2011 New Revision: 222347 URL: http://svn.freebsd.org/changeset/base/222347 Log: MFC r57: Assume the link to be dead if bit error rate (BER) parameter is set to 1. When a transition from link alive to link dead configuration or vice versa occ

svn commit: r222834 - head/sys/net

2011-06-07 Thread Marko Zec
Author: zec Date: Tue Jun 7 20:46:03 2011 New Revision: 222834 URL: http://svn.freebsd.org/changeset/base/222834 Log: Set curvnet context in a callout-trigerred code path. MFC after:3 days Modified: head/sys/net/bridgestp.c head/sys/net/bridgestp.h Modified: head/sys/net/bridgest

svn commit: r190787 - in head/sys: net netinet netinet6 netipsec sys

2009-04-06 Thread Marko Zec
Author: zec Date: Mon Apr 6 22:29:41 2009 New Revision: 190787 URL: http://svn.freebsd.org/changeset/base/190787 Log: First pass at separating per-vnet initializer functions from existing functions for initializing global state. At this stage, the new per-vnet ini

svn commit: r190852 - head

2009-04-08 Thread Marko Zec
Author: zec Date: Wed Apr 8 18:30:42 2009 New Revision: 190852 URL: http://svn.freebsd.org/changeset/base/190852 Log: A belated note on layout change of certain V_ containers. Approved by: julian (mentor) Modified: head/UPDATING Modified: head/UPDATING

svn commit: r190909 - in head/sys: kern net netinet netinet6 netipsec sys

2009-04-10 Thread Marko Zec
Author: zec Date: Sat Apr 11 05:58:58 2009 New Revision: 190909 URL: http://svn.freebsd.org/changeset/base/190909 Log: Introduce vnet module registration / initialization framework with dependency tracking and ordering enforcement. With this change, per-vnet initialization functions intro

svn commit: r191112 - head/sys/net

2009-04-15 Thread Marko Zec
Author: zec Date: Wed Apr 15 18:15:29 2009 New Revision: 191112 URL: http://svn.freebsd.org/changeset/base/191112 Log: In the !VIMAGE_GLOBALS case, make sure not to call vnet_net_iattach() both via the vnet_mod_register() framework and then directly, but only once. Reviewed by: bz Ap

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

2009-04-19 Thread Marko Zec
On Sunday 19 April 2009 19:13:37 Kip Macy wrote: > On Sun, Apr 19, 2009 at 3:18 AM, Andre Oppermann wrote: ... > > I have another question on the flowtable:  What is the pupose of it? > > All router vendors have learned a long time ago that route caching > > (aka flow caching) doesn't work out on

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

2009-04-19 Thread Marko Zec
On Sunday 19 April 2009 23:05:55 Kip Macy wrote: > On Sun, Apr 19, 2009 at 1:21 PM, Marko Zec wrote: > > On Sunday 19 April 2009 19:13:37 Kip Macy wrote: > >> On Sun, Apr 19, 2009 at 3:18 AM, Andre Oppermann > >> wrote: > > > > ... > > > >>

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

2009-04-20 Thread Marko Zec
On Monday 20 April 2009 09:01:25 Kip Macy wrote: ... > > But it seems to me that CAM lookups are pretty resilient against DoSing > > by throwing malicious synthetic flows on them, whereas flow caches will > > melt down easily. > > Actually a CAM is a hardware implementation of a hash table. It has

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

2009-04-20 Thread Marko Zec
On Monday 20 April 2009 09:47:37 Kip Macy wrote: > On Mon, Apr 20, 2009 at 12:29 AM, Marko Zec wrote: > > On Monday 20 April 2009 09:01:25 Kip Macy wrote: > > ... > > > >> > But it seems to me that CAM lookups are pretty resilient against > >> > Do

svn commit: r191508 - in head/sys: kern sys

2009-04-26 Thread Marko Zec
Author: zec Date: Sun Apr 26 07:09:39 2009 New Revision: 191508 URL: http://svn.freebsd.org/changeset/base/191508 Log: Extend the vnet module registration / initialization framework first introduced @ r190909 with a vnet module deregistration service. kldunloadable modules, which are cu

svn commit: r191510 - head/sys/netgraph

2009-04-26 Thread Marko Zec
Author: zec Date: Sun Apr 26 07:14:50 2009 New Revision: 191510 URL: http://svn.freebsd.org/changeset/base/191510 Log: In preparation to make options VIMAGE operational, where needed, initialize / release netgraph related state in iattach() / idetach() functions called via the vnet module re

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

2009-04-26 Thread Marko Zec
On Sunday 26 April 2009 09:09:39 Marko Zec wrote: > Author: zec > Date: Sun Apr 26 07:09:39 2009 > New Revision: 191508 > URL: http://svn.freebsd.org/changeset/base/191508 > > Log: > Extend the vnet module registration / initialization framework > first introduced @ r1

svn commit: r191548 - in head/sys: compat/linux contrib/ipfilter/netinet net netinet netinet6

2009-04-26 Thread Marko Zec
Author: zec Date: Sun Apr 26 22:06:42 2009 New Revision: 191548 URL: http://svn.freebsd.org/changeset/base/191548 Log: In preparation for turning on options VIMAGE in next commits, rearrange / replace / adjust several INIT_VNET_* initializer macros, all of which currently resolve to whitespa

svn commit: r191688 - in head: . sys/kern sys/net sys/netinet sys/netinet6 sys/netipsec sys/sys

2009-04-30 Thread Marko Zec
Author: zec Date: Thu Apr 30 13:36:26 2009 New Revision: 191688 URL: http://svn.freebsd.org/changeset/base/191688 Log: Permit buiding kernels with options VIMAGE, restricted to only a single active network stack instance. Turning on options VIMAGE at compile time yields the following change

svn commit: r191734 - in head/sys: net netinet

2009-05-01 Thread Marko Zec
Author: zec Date: Sat May 2 05:02:28 2009 New Revision: 191734 URL: http://svn.freebsd.org/changeset/base/191734 Log: Unbreak options VIMAGE + nooptions INVARIANTS kernel builds. Submitted by: julian Approved by: julian (mentor) Modified: head/sys/net/route.c head/sys/netinet/igmp.

svn commit: r191738 - in head/sys: net netinet netinet6 netipsec

2009-05-02 Thread Marko Zec
Author: zec Date: Sat May 2 08:16:26 2009 New Revision: 191738 URL: http://svn.freebsd.org/changeset/base/191738 Log: Make indentation more uniform accross vnet container structs. This is a purely cosmetic / NOP change. Reviewed by: bz Approved by: julian (mentor) Verified by:

svn commit: r191816 - in head/sys: conf dev/cxgb/ulp/tom kern net net80211 netgraph netinet netinet6 netipsec nfsclient sys

2009-05-05 Thread Marko Zec
Author: zec Date: Tue May 5 10:56:12 2009 New Revision: 191816 URL: http://svn.freebsd.org/changeset/base/191816 Log: Change the curvnet variable from a global const struct vnet *, previously always pointing to the default vnet context, to a dynamically changing thread-local one. The currv

svn commit: r191827 - in head/sys: netgraph sys

2009-05-05 Thread Marko Zec
Author: zec Date: Tue May 5 16:26:06 2009 New Revision: 191827 URL: http://svn.freebsd.org/changeset/base/191827 Log: Unbreak LINT build, caused by a change in struct ng_node layout introduced with r191816, which become uncovered only with NETGRAPH_DEBUG defined. NOT approved by mentor (

svn commit: r191845 - in head/sys: netinet sys

2009-05-06 Thread Marko Zec
Author: zec Date: Wed May 6 08:49:39 2009 New Revision: 191845 URL: http://svn.freebsd.org/changeset/base/191845 Log: Unbreak options VIMAGE kernel builds. Approved by: julian (mentor) Modified: head/sys/netinet/sctp_crc32.c head/sys/netinet/sctp_os_bsd.h head/sys/sys/vimage.h Mod

Re: svn commit: r191816 - in head/sys: conf dev/cxgb/ulp/tom kern net net80211 netgraph netinet netinet6 netipsec nfsclient sys

2009-05-06 Thread Marko Zec
On Tuesday 05 May 2009 10:33:52 Alexander Leidinger wrote: > Quoting Marko Zec (from Tue, 5 May 2009 10:56:12 > > + (UTC)): > > The exact placement of the CURVNET_SET() / CURVNET_RESTORE() macros > > was a result of an empirical iterative process, > > Was

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

2009-05-06 Thread Marko Zec
Author: zec Date: Wed May 6 13:30:46 2009 New Revision: 191846 URL: http://svn.freebsd.org/changeset/base/191846 Log: Remove unnecessary CURVNET_SET() calls where curvnet context is (i.e. seems to be) already set. This should reduce console noise due to curvnet recursion reports. Th

svn commit: r191915 - in head/sys: cddl/compat/opensolaris/kern compat/svr4 i386/ibcs2 kern nlm sys

2009-05-08 Thread Marko Zec
Author: zec Date: Fri May 8 14:11:06 2009 New Revision: 191915 URL: http://svn.freebsd.org/changeset/base/191915 Log: Introduce a new virtualization container, provisionally named vprocg, to hold virtualized instances of hostname and domainname, as well as a new top-level virtualization str

svn commit: r191916 - head/sys/netinet

2009-05-08 Thread Marko Zec
Author: zec Date: Fri May 8 14:28:06 2009 New Revision: 191916 URL: http://svn.freebsd.org/changeset/base/191916 Log: Remove a bogus check that unintentionally slipped in r191816. This change has no functional impact on nooptions VIMAGE builds. Submitted by: bz Modified: head/sys/neti

svn commit: r191917 - in head/sys: kern netinet sys

2009-05-08 Thread Marko Zec
Author: zec Date: Fri May 8 14:34:25 2009 New Revision: 191917 URL: http://svn.freebsd.org/changeset/base/191917 Log: A NOP change: style / whitespace cleanup of the noise that slipped into r191816. Spotted by: bz Approved by: julian (mentor) (an earlier version of the diff) Modifi

Re: svn commit: r253255 - head/sys/netgraph/bluetooth/drivers/ubt

2013-07-13 Thread Marko Zec
On Saturday 13 July 2013 09:31:19 Mikolaj Golub wrote: > On Fri, Jul 12, 2013 at 10:40:08PM -0700, Adrian Chadd wrote: > > Here's what I have running on my stable/9 VIMAGE laptop. > > > > http://people.freebsd.org/~adrian/ath/20130712-vimage-default-attach-de > >tach.diff > > > > How's this look to

Re: svn commit: r253346 - in head/sys: kern net netgraph netgraph/bluetooth/socket

2013-07-25 Thread Marko Zec
> > Log: > > PR: 168520 170096 > > Submitted by: adrian, zec > > > > Fix multiple kernel panics when VIMAGE is enabled in the kernel. > > These fixes are based on patches submitted by Adrian Chadd and Marko > > Zec. > > > > (1

Re: svn commit: r253346 - in head/sys: kern net netgraph netgraph/bluetooth/socket

2013-07-25 Thread Marko Zec
c(9) or if_attach(9) at least instead? > > There was some discussion about this involving Marko Zec, Adrian Chadd, > and myself > starting in this thread: > > http://lists.freebsd.org/pipermail/svn-src-all/2013-July/071798.html > > Adrian and Marko converged on similar pa

Re: svn commit: r253346 - in head/sys: kern net netgraph netgraph/bluetooth/socket

2013-07-25 Thread Marko Zec
On Thursday 25 July 2013 16:27:43 Marius Strobl wrote: > On Thu, Jul 25, 2013 at 12:24:53PM +0200, Marko Zec wrote: > > On Thursday 25 July 2013 11:36:46 Craig Rodrigues wrote: > > > On Thu, Jul 25, 2013 at 1:07 AM, Marius Strobl > > > > wrote: > > > > Uhm

svn commit: r262215 - head/sys/net

2014-02-19 Thread Marko Zec
Author: zec Date: Wed Feb 19 08:29:07 2014 New Revision: 262215 URL: http://svnweb.freebsd.org/changeset/base/262215 Log: V_irtualize rtsock refcounting, which reduces the chances for panics on teardown of vnets without active routing sockets while at least one routing socket is active elsew

svn commit: r250744 - stable/9/sys/netinet

2013-05-17 Thread Marko Zec
Author: zec Date: Fri May 17 17:45:00 2013 New Revision: 250744 URL: http://svnweb.freebsd.org/changeset/base/250744 Log: MFC 233601: Permit tcpdrop in VNET jails. Modified: stable/9/sys/netinet/tcp_subr.c Directory Properties: stable/9/sys/ (props changed) Modified: stable/9/sys/net

svn commit: r257868 - head/sys/netgraph

2013-11-08 Thread Marko Zec
Author: zec Date: Fri Nov 8 22:40:33 2013 New Revision: 257868 URL: http://svnweb.freebsd.org/changeset/base/257868 Log: Eliminate duplicated & dead code. MFC after:3 days Modified: head/sys/netgraph/ng_pipe.c Modified: head/sys/netgraph/ng_pipe.c ==

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

2013-10-17 Thread Marko Zec
On Thursday 17 October 2013 21:35:46 Mikolaj Golub wrote: > On Wed, Oct 16, 2013 at 05:09:04PM -0400, John Baldwin wrote: > ... > > > > >> #10 0x80b6f1fd in igmp_change_state (inm=0x8ae70480) > > > >> at /home/golub/freebsd/base/head/sys/netinet/igmp.c:2595 > > > >> #11 0x80b76f68 in in_leav

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

2013-10-18 Thread Marko Zec
On Friday 18 October 2013 12:09:16 Gleb Smirnoff wrote: > On Fri, Oct 18, 2013 at 12:07:35AM +0200, Marko Zec wrote: > M> > Concerning this more general solution from Gleb, with storing the > vnet M> > pointer in the task, I wander how it is safe when the vnet is > being

svn commit: r232487 - head/sys/net

2012-03-04 Thread Marko Zec
Author: zec Date: Sun Mar 4 11:11:03 2012 New Revision: 232487 URL: http://svn.freebsd.org/changeset/base/232487 Log: Properly restore curvnet context when returning early from ether_input_internal(). This change only affects options VIMAGE kernel builds. PR: kern/165643

svn commit: r232517 - head/sys/netinet

2012-03-04 Thread Marko Zec
Author: zec Date: Sun Mar 4 18:59:38 2012 New Revision: 232517 URL: http://svn.freebsd.org/changeset/base/232517 Log: Change SYSINIT priorities so that ip_mroute_modevent() is executed before vnet_mroute_init(), since vnet_mroute_init() depends on mfchashsize tunable to be set, and that is

Re: svn commit: r232868 - head/sys/netinet/ipfw

2012-03-12 Thread Marko Zec
On Monday 12 March 2012 16:41:36 Alexander V. Chernikov wrote: > Author: melifaro > Date: Mon Mar 12 15:41:36 2012 > New Revision: 232868 > URL: http://svn.freebsd.org/changeset/base/232868 > > Log: > Fix VNET build broken by r232865. > Temporary remove the ability to assign different number of

svn commit: r233601 - head/sys/netinet

2012-03-28 Thread Marko Zec
Author: zec Date: Wed Mar 28 12:30:16 2012 New Revision: 233601 URL: http://svn.freebsd.org/changeset/base/233601 Log: Permit tcpdrop in VNET jails. Submitted by: Miljenko Mikuc MFC after:3 days Modified: head/sys/netinet/tcp_subr.c Modified: head/sys/netinet/tcp_subr.c ==

svn commit: r233602 - in stable/9/sys: i386/conf net

2012-03-28 Thread Marko Zec
Author: zec Date: Wed Mar 28 12:40:30 2012 New Revision: 233602 URL: http://svn.freebsd.org/changeset/base/233602 Log: MFC: 232487 Properly restore curvnet context when returning early from ether_input_internal(). This change only affects options VIMAGE kernel builds. PR:

svn commit: r233603 - in stable/8/sys: i386/conf net

2012-03-28 Thread Marko Zec
Author: zec Date: Wed Mar 28 12:41:17 2012 New Revision: 233603 URL: http://svn.freebsd.org/changeset/base/233603 Log: MFC 232487: Properly restore curvnet context when returning early from ether_input_internal(). This change only affects options VIMAGE kernel builds. PR:

svn commit: r233604 - in stable/9/sys: i386/conf netinet

2012-03-28 Thread Marko Zec
Author: zec Date: Wed Mar 28 12:45:35 2012 New Revision: 233604 URL: http://svn.freebsd.org/changeset/base/233604 Log: MFC r232517: Change SYSINIT priorities so that ip_mroute_modevent() is executed before vnet_mroute_init(), since vnet_mroute_init() depends on mfchashsize tunable to

svn commit: r233605 - in stable/8/sys: i386/conf netinet

2012-03-28 Thread Marko Zec
Author: zec Date: Wed Mar 28 12:46:12 2012 New Revision: 233605 URL: http://svn.freebsd.org/changeset/base/233605 Log: MFC r232517: Change SYSINIT priorities so that ip_mroute_modevent() is executed before vnet_mroute_init(), since vnet_mroute_init() depends on mfchashsize tunable to

svn commit: r234341 - head/sys/netgraph

2012-04-16 Thread Marko Zec
Author: zec Date: Mon Apr 16 13:41:46 2012 New Revision: 234341 URL: http://svn.freebsd.org/changeset/base/234341 Log: #include is no longer needed here. Spotted by: Ed Maste MFC after:3 days. Modified: head/sys/netgraph/ng_source.c Modified: head/sys/netgraph/ng_source.c =

Re: svn commit: r246245 - head/sys/netgraph

2013-02-04 Thread Marko Zec
On Monday 04 February 2013 08:41:32 Andriy Gapon wrote: > on 04/02/2013 02:37 Mark Johnston said the following: > > On Sat, Feb 02, 2013 at 11:54:00AM +, Andriy Gapon wrote: > >> Author: avg > >> Date: Sat Feb 2 11:54:00 2013 > >> New Revision: 246245 > >> URL: http://svnweb.freebsd.org/change

Re: svn commit: r246245 - head/sys/netgraph

2013-02-04 Thread Marko Zec
On Monday 04 February 2013 10:42:31 Andriy Gapon wrote: > on 04/02/2013 10:27 Marko Zec said the following: > > On Monday 04 February 2013 08:41:32 Andriy Gapon wrote: > >> + /* Only ethernet interfaces are of interest. */ > >> + if (ifp->if_type != IFT_ETHER) >

svn commit: r211283 - head/sys/net

2010-08-13 Thread Marko Zec
Author: zec Date: Fri Aug 13 18:17:32 2010 New Revision: 211283 URL: http://svn.freebsd.org/changeset/base/211283 Log: When moving an ethernet ifnet from one vnet to another, destroy the associated ng_ether netgraph node in the current vnet, and create a new one in the target vnet. Revi

svn commit: r212318 - stable/8/sys/net

2010-09-08 Thread Marko Zec
Author: zec Date: Wed Sep 8 14:19:33 2010 New Revision: 212318 URL: http://svn.freebsd.org/changeset/base/212318 Log: MFC r208743: Provide a macro for registering a virtualized sysctl handler for VNET opaque data. Modified: stable/8/sys/net/vnet.h Directory Properties: stable/8/

  1   2   >