Author: glebius
Date: Fri Dec 16 13:30:17 2011
New Revision: 228574
URL: http://svn.freebsd.org/changeset/base/228574
Log:
Since size of struct in_aliasreq has just been changed in r228571,
and thus ifconfig(8) needs recompile, it is a good chance to make
parameter checks on SIOCAIFADDR
Author: glebius
Date: Fri Dec 16 14:28:34 2011
New Revision: 228576
URL: http://svn.freebsd.org/changeset/base/228576
Log:
- Rename if_carp.ko to carp.ko.
- carp.ko depends on sha1.c
Added:
head/sys/modules/carp/
- copied from r228573, head/sys/modules/if_carp/
Deleted:
Author: glebius
Date: Fri Dec 16 14:30:58 2011
New Revision: 228577
URL: http://svn.freebsd.org/changeset/base/228577
Log:
Rename ifcarp.c to carp.c
Added:
head/sbin/ifconfig/carp.c
- copied unchanged from r228576, head/sbin/ifconfig/ifcarp.c
Deleted:
head/sbin/ifconfig/ifcarp.c
Ben,
On Fri, Dec 16, 2011 at 12:08:17PM -0500, Ben Kaduk wrote:
B Hi Gleb,
B
B Perhaps the man page portions that were commented out should just be
B removed entirely?
They may be resurrected if arpbalancing is implemented again.
--
Totus tuus, Glebius.
Author: glebius
Date: Mon Dec 19 12:50:12 2011
New Revision: 228703
URL: http://svn.freebsd.org/changeset/base/228703
Log:
Remove if_carp.ko. /boot/kernel should be upgraded atomically.
Requested by: netchild, bz
Modified:
head/ObsoleteFiles.inc
Modified: head/ObsoleteFiles.inc
Author: glebius
Date: Tue Dec 20 12:34:16 2011
New Revision: 228732
URL: http://svn.freebsd.org/changeset/base/228732
Log:
- Cover pfsync callouts deletion with PF_LOCK().
- Cover setting up interface between pf and pfsync with PF_LOCK().
Modified:
head/sys/contrib/pf/net/if_pfsync.c
Author: glebius
Date: Tue Dec 20 13:32:56 2011
New Revision: 228734
URL: http://svn.freebsd.org/changeset/base/228734
Log:
- Fix examples to show new CARP style.
- Remove OpenBSDisms, add FreeBSDisms.
Modified:
head/contrib/pf/man/pfsync.4
Modified: head/contrib/pf/man/pfsync.4
Author: glebius
Date: Tue Dec 20 13:53:31 2011
New Revision: 228736
URL: http://svn.freebsd.org/changeset/base/228736
Log:
Restore a feature that was present in 5.x and 6.x, and was cleared in
7.x, 8.x and 9.x with pf(4) imports: pfsync(4) should suppress CARP
preemption, while it is
Author: glebius
Date: Wed Dec 21 12:39:08 2011
New Revision: 228768
URL: http://svn.freebsd.org/changeset/base/228768
Log:
Provide ABI compatibility shim to enable configuring of addresses
with ifconfig(8) prior to r228571.
Requested by: brooks
Modified:
head/sys/net/if.h
Author: glebius
Date: Thu Dec 22 18:31:47 2011
New Revision: 228811
URL: http://svn.freebsd.org/changeset/base/228811
Log:
In FreeBSD we always have bpf(4) API, either real or stub. No need
in detecting presense of 'device bpf'.
Modified:
head/sys/contrib/pf/net/if_pfsync.c
Author: glebius
Date: Thu Dec 22 18:56:27 2011
New Revision: 228814
URL: http://svn.freebsd.org/changeset/base/228814
Log:
Merge couple more fixes from OpenBSD to bulk processing:
revision 1.118
date: 2009/03/23 06:19:59; author: dlg; state: Exp; lines: +8 -6
wait an
Author: glebius
Date: Thu Dec 22 19:05:58 2011
New Revision: 228815
URL: http://svn.freebsd.org/changeset/base/228815
Log:
Merge from OpenBSD:
revision 1.120
date: 2009/04/04 13:09:29; author: dlg; state: Exp; lines: +5 -5
use time_uptime instead of time_second internally.
Author: glebius
Date: Thu Dec 29 15:59:14 2011
New Revision: 228959
URL: http://svn.freebsd.org/changeset/base/228959
Log:
Don't fallback to a CARP address in BACKUP state.
Modified:
head/sys/netinet/if_ether.c
Modified: head/sys/netinet/if_ether.c
Author: glebius
Date: Fri Dec 30 15:41:28 2011
New Revision: 229003
URL: http://svn.freebsd.org/changeset/base/229003
Log:
style(9), whitespace and spelling nits.
Modified:
head/sys/netgraph/ng_base.c
Modified: head/sys/netgraph/ng_base.c
On Fri, Dec 30, 2011 at 11:23:45AM -0800, Maxim Sobolev wrote:
M Won't this break whole lot of third-party software, which expects
M FreeBSD to be slightly different in this regards? Just curious.
Yes it does. And until FreeBSD 10.0-RELEASE there is time to fix
this software (at least in ports).
Author: glebius
Date: Wed Jan 4 07:01:23 2012
New Revision: 229465
URL: http://svn.freebsd.org/changeset/base/229465
Log:
Use correct locking when traversing interface address list.
Reviewed by: bz
Modified:
head/sys/netinet6/in6.c
Modified: head/sys/netinet6/in6.c
Author: glebius
Date: Fri Jun 17 12:12:52 2011
New Revision: 223185
URL: http://svn.freebsd.org/changeset/base/223185
Log:
- Fix my braino in the 220835, when I used strtok(). It isn't
applicable here, since modifies the string. Switch to strchr().
- Restore support for undocumented
Author: glebius
Date: Wed Jun 22 08:20:01 2011
New Revision: 223416
URL: http://svn.freebsd.org/changeset/base/223416
Log:
One more braino from me.
Pointy hat to:glebius
Submitted by: Alexander V. Chernikov melifaro ipfw.ru
Modified:
head/sbin/ipfw/nat.c
Modified:
Author: glebius
Date: Thu Jun 23 09:42:41 2011
New Revision: 223469
URL: http://svn.freebsd.org/changeset/base/223469
Log:
Be consistent with r160968: keep autoSrcAddr flag untouched when
node receives NGM_SHUTDOWN.
Submitted by: pluknet
Modified:
head/sys/netgraph/ng_ether.c
Author: glebius
Date: Thu Jun 23 10:43:36 2011
New Revision: 223473
URL: http://svn.freebsd.org/changeset/base/223473
Log:
Document that autoSrcAddr isn't re-enabled on NGM_SHUTDOWN.
Submitted by: Vadim Goncharov vadim_nuclight mail.ru
Modified:
head/share/man/man4/ng_ether.4
Modified:
Author: glebius
Date: Fri Jun 24 12:55:16 2011
New Revision: 223499
URL: http://svn.freebsd.org/changeset/base/223499
Log:
Actually, if code had followed style(9), there would be less stupid errors
like the one fixed in r223416.
Noticed by: julian
Modified:
head/sbin/ipfw/nat.c
Author: glebius
Date: Mon Jun 27 12:21:11 2011
New Revision: 223593
URL: http://svn.freebsd.org/changeset/base/223593
Log:
Add possibility to pass IPv6 packets to a divert(4) socket.
Submitted by: sem
Modified:
head/sys/modules/ipdivert/Makefile
head/sys/netinet/ip_divert.c
Author: glebius
Date: Fri Jul 1 08:27:03 2011
New Revision: 223706
URL: http://svn.freebsd.org/changeset/base/223706
Log:
Fix double free.
Submitted by: Alexander V. Chernikov melifaro ipfw.ru
Modified:
head/sys/netgraph/netflow/netflow_v9.c
Modified:
Author: glebius
Date: Mon Jul 4 13:55:55 2011
New Revision: 223761
URL: http://svn.freebsd.org/changeset/base/223761
Log:
Fix build with NETGRAPH_DEBUG.
Modified:
head/sys/netgraph/netgraph.h
Modified: head/sys/netgraph/netgraph.h
Author: glebius
Date: Mon Jul 4 20:50:09 2011
New Revision: 223768
URL: http://svn.freebsd.org/changeset/base/223768
Log:
Fix build with NETGRAPH_DEBUG.
Modified:
head/sys/netgraph/netgraph.h
Modified: head/sys/netgraph/netgraph.h
Author: glebius
Date: Tue Jul 5 14:50:06 2011
New Revision: 223788
URL: http://svn.freebsd.org/changeset/base/223788
Log:
Rewrite the flowctl utility to add it support for displaying
both IPv4 and IPv4 flows.
Modified:
head/usr.sbin/flowctl/Makefile
head/usr.sbin/flowctl/flowctl.c
Author: glebius
Date: Tue Jul 5 14:48:39 2011
New Revision: 223787
URL: http://svn.freebsd.org/changeset/base/223787
Log:
o Eliminate flow6_hash_entry in favor of flow_hash_entry. We don't need
a separate struct to start a slist of semi-opaque structs. This
makes some code more
Author: glebius
Date: Tue Jul 5 14:55:17 2011
New Revision: 223790
URL: http://svn.freebsd.org/changeset/base/223790
Log:
Update manual page. Mention IPv6 support, and notice that main
argument isn't actually a node, but a netgraph path.
Modified:
head/usr.sbin/flowctl/flowctl.8
Author: glebius
Date: Wed Jul 6 09:43:25 2011
New Revision: 223822
URL: http://svn.freebsd.org/changeset/base/223822
Log:
Add missing unlocks.
Modified:
head/sys/netgraph/netflow/netflow.c
Modified: head/sys/netgraph/netflow/netflow.c
Author: glebius
Date: Thu Jul 14 18:38:10 2011
New Revision: 224031
URL: http://svn.freebsd.org/changeset/base/224031
Log:
In ng_attach_cntl() first allocate things that may fail, and then
do the rest of initialization. This simplifies code and fixes
a double free in failure scenario.
Author: glebius
Date: Sun Jul 31 13:49:15 2011
New Revision: 224546
URL: http://svn.freebsd.org/changeset/base/224546
Log:
Don't leak kld_sx lock in kldunloadf().
Approved by: re (kib)
Modified:
head/sys/kern/kern_linker.c
Modified: head/sys/kern/kern_linker.c
Author: glebius
Date: Mon Aug 1 13:41:38 2011
New Revision: 224575
URL: http://svn.freebsd.org/changeset/base/224575
Log:
Add missing break; in r223593.
Submitted by: sem
Pointy hat to:glebius
Approved by: re (kib)
Modified:
head/sys/netinet/ip_divert.c
Modified:
Author: glebius
Date: Mon Aug 15 12:08:41 2011
New Revision: 224879
URL: http://svn.freebsd.org/changeset/base/224879
Log:
Describe how carp(4) status changes can be processed with
help of devd(8).
Submitted by: Alexander V. Chernikov melifaro ipfw.ru
Approved by: re (kib)
Modified:
Author: glebius
Date: Mon Aug 15 13:33:28 2011
New Revision: 224883
URL: http://svn.freebsd.org/changeset/base/224883
Log:
Fix a couple of issues in last commit.
Submitted by: maxim
Approved by: re (kib)
Modified:
head/share/man/man4/carp.4
Modified: head/share/man/man4/carp.4
On Sun, Oct 09, 2011 at 03:53:44PM +0400, Alexander V. Chernikov wrote:
A Understood. So can we use more descriptive ENOENT in code below?
A
A tag = m_tag_locate(m, MTAG_IPFW_RULE, 0, NULL);
A if (tag == NULL) {
A NG_FREE_M(m);
A return (EINVAL);
Qing,
[cced Bjoern as reviewer]
On Mon, Oct 03, 2011 at 07:51:19PM +, Qing Li wrote:
Q Author: qingli
Q Date: Mon Oct 3 19:51:18 2011
Q New Revision: 225947
Q URL: http://svn.freebsd.org/changeset/base/225947
Q
Q Log:
Q A system may have multiple physical interfaces, all of which are
On Sun, Oct 09, 2011 at 10:11:56PM -0700, Qing Li wrote:
Q What confuses me most, is that in lines 1435-1445 you are
Q assigning error to a positive value, BUT proceeding further
Q with function.
Q
QThis is what was there before (meaning returning error immediately),
Qbut I guess a
Qing,
On Mon, Oct 10, 2011 at 05:41:11PM +, Qing Li wrote:
Q Author: qingli
Q Date: Mon Oct 10 17:41:11 2011
Q New Revision: 226224
Q URL: http://svn.freebsd.org/changeset/base/226224
Q
Q Log:
Q All indirect routes will fail the rtcheck, except for a special host
Q route where the
Author: glebius
Date: Tue Oct 11 15:41:07 2011
New Revision: 226263
URL: http://svn.freebsd.org/changeset/base/226263
Log:
Properly document default number of rx/tx descriptors for Intel cards.
Modified:
head/share/man/man4/em.4
head/share/man/man4/igb.4
Modified: head/share/man/man4/em.4
Author: glebius
Date: Tue Oct 11 18:26:31 2011
New Revision: 226264
URL: http://svn.freebsd.org/changeset/base/226264
Log:
Fix date in last commit.
Noticed by: Larry Rosenman ler lerctr.org
Modified:
head/share/man/man4/em.4
Modified: head/share/man/man4/em.4
Author: glebius
Date: Wed Oct 12 18:08:28 2011
New Revision: 226313
URL: http://svn.freebsd.org/changeset/base/226313
Log:
Make memguard(9) capable to guard uma(9) allocations.
Modified:
head/sys/kern/kern_malloc.c
head/sys/vm/memguard.c
head/sys/vm/memguard.h
head/sys/vm/uma.h
appeared in
@@ -161,8 +201,6 @@ This manual page was originally written
.An Christian Brueffer Aq bruef...@freebsd.org .
Additions have been made by
.An Matthew Fleming Aq m...@freebsd.org
+and
+.An Gleb Smirnoff Aq gleb...@freebsd.org
to both the implementation and the documentation.
-.Sh BUGS
Author: glebius
Date: Thu Oct 13 13:05:36 2011
New Revision: 226338
URL: http://svn.freebsd.org/changeset/base/226338
Log:
Restore functions in6_ifaddloop() and in6_ifremloop() that were
inlined by Qing Li in his big new-ARP commit. I am going to utilize
them in my newcarp work, and also
Author: glebius
Date: Thu Oct 13 13:30:41 2011
New Revision: 226339
URL: http://svn.freebsd.org/changeset/base/226339
Log:
De-spl(9).
Modified:
head/sys/netinet/in.c
Modified: head/sys/netinet/in.c
==
---
Author: glebius
Date: Thu Oct 13 13:33:23 2011
New Revision: 226340
URL: http://svn.freebsd.org/changeset/base/226340
Log:
Use TAILQ_FOREACH() in the nd6_dad_find() instead of hand-rolled
implementation.
Modified:
head/sys/netinet6/nd6_nbr.c
Modified: head/sys/netinet6/nd6_nbr.c
Author: glebius
Date: Fri Oct 14 19:05:26 2011
New Revision: 226367
URL: http://svn.freebsd.org/changeset/base/226367
Log:
Never switch directly from INIT to MASTER, since this produces
nasty status flaps.
PR: kern/161123
Submitted by: Damien Fleuriot dam my.gd
OpenBSD:
Author: glebius
Date: Sat Oct 15 16:28:06 2011
New Revision: 226401
URL: http://svn.freebsd.org/changeset/base/226401
Log:
Remove last remnants of classful addressing:
- Remove ia_net, ia_netmask, ia_netbroadcast from struct in_ifaddr.
- Remove net.inet.ip.subnetsarelocal, I bet no one
Author: glebius
Date: Sat Oct 15 18:41:25 2011
New Revision: 226402
URL: http://svn.freebsd.org/changeset/base/226402
Log:
Add support for IPv4 /31 prefixes, as described in RFC3021.
To run a /31 network, participating hosts MUST drop support
for directed broadcasts, and treat the first
On Sat, Oct 15, 2011 at 11:51:21PM +0300, Nikolay Denev wrote:
N Log:
N Add support for IPv4 /31 prefixes, as described in RFC3021.
N
N To run a /31 network, participating hosts MUST drop support
N for directed broadcasts, and treat the first and last addresses
N on subnet as unicast.
Author: glebius
Date: Fri Oct 21 11:11:18 2011
New Revision: 226609
URL: http://svn.freebsd.org/changeset/base/226609
Log:
In FreeBSD ip_output() expects ip_len and ip_off in host byte order
PR: kern/159029
Modified:
head/sys/contrib/pf/net/if_pfsync.c
Modified:
(r226614)
@@ -24,7 +24,7 @@
.\
.\ $FreeBSD$
.\
-.Dd October 12, 2011
+.Dd October 21, 2011
.Dt MEMGUARD 9
.Os
.Sh NAME
@@ -204,3 +204,17 @@ Additions have been made by
and
.An Gleb Smirnoff Aq gleb...@freebsd.org
to both the implementation and the documentation.
+.Sh BUGS
==
--- head/share/man/man9/memguard.9 Fri Oct 21 14:23:59 2011
(r226618)
+++ head/share/man/man9/memguard.9 Fri Oct 21 20:23:40 2011
(r226619)
@@ -205,7 +205,7 @@ and
.An Gleb Smirnoff Aq gleb...@freebsd.org
to both the implementation
Author: glebius
Date: Fri Oct 21 22:28:15 2011
New Revision: 226623
URL: http://svn.freebsd.org/changeset/base/226623
Log:
Fix a race: we should update sc_len before dropping the pf lock, otherwise a
number of packets can be queued on sc, while we are in ip_output(), and then
we wipe the
Author: glebius
Date: Sun Oct 23 10:05:25 2011
New Revision: 226655
URL: http://svn.freebsd.org/changeset/base/226655
Log:
Correct flag for uma_zalloc() is M_WAITOK. M_WAIT is an old and
deprecated flag from historical mbuf(9) allocator.
This is style only change.
Modified:
Author: glebius
Date: Sun Oct 23 10:13:20 2011
New Revision: 226656
URL: http://svn.freebsd.org/changeset/base/226656
Log:
Absense of M_WAITOK in malloc flags for UMA doesn't
equals presense of M_NOWAIT. Specify M_NOWAIT explicitly.
This fixes sleeping with PF_LOCK().
Modified:
Author: glebius
Date: Sun Oct 23 14:59:54 2011
New Revision: 226660
URL: http://svn.freebsd.org/changeset/base/226660
Log:
Fix from r226623 is not sufficient to close all races in pfsync(4).
The root of problem is re-locking at the end of pfsync_sendout().
Several functions are calling
Author: glebius
Date: Sun Oct 23 15:08:18 2011
New Revision: 226661
URL: http://svn.freebsd.org/changeset/base/226661
Log:
- Fix a bad typo (FreeBSD specific) in pfsync_bulk_update(). Instead
of scheduling next run pfsync_bulk_update(), pfsync_bulk_fail()
was scheduled.
This lead to
Author: glebius
Date: Sun Oct 23 15:10:15 2011
New Revision: 226662
URL: http://svn.freebsd.org/changeset/base/226662
Log:
Fix indentation, no code changed.
Modified:
head/sys/contrib/pf/net/if_pfsync.c
Modified: head/sys/contrib/pf/net/if_pfsync.c
Author: glebius
Date: Sun Oct 23 15:15:17 2011
New Revision: 226663
URL: http://svn.freebsd.org/changeset/base/226663
Log:
Merge several fixes to bulk update processing from OpenBSD. Merged
revisions: 1.148, 1.149, 1.150. This makes number of states on
master/slave to be of a sane value.
Author: glebius
Date: Mon Oct 24 14:35:31 2011
New Revision: 226690
URL: http://svn.freebsd.org/changeset/base/226690
Log:
Protect NIS client with madvise(2) since this daemon is required
for succesful authentication of users.
Modified:
head/usr.sbin/ypbind/ypbind.c
Modified:
Author: glebius
Date: Sat Feb 26 17:22:11 2011
New Revision: 219059
URL: http://svn.freebsd.org/changeset/base/219059
Log:
Connect uep.ko to build
PR: kern/155044
Submitted by: Carl k0802647 telus.net
MFC after:1 week
Modified:
head/sys/modules/usb/Makefile
Modified:
==
--- head/sys/modules/netgraph/netflow/Makefile Wed Mar 2 16:06:57 2011
(r219181)
+++ head/sys/modules/netgraph/netflow/Makefile Wed Mar 2 16:15:11 2011
(r219182)
@@ -3,9 +3,22 @@
# Author: Gleb Smirnoff gleb...@freebsd.org
#
+.include bsd.own.mk
+
.PATH
AUTHORS
.An -nosplit
The
.Nm
node type was written by
.An Gleb Smirnoff Aq gleb...@freebsd.org ,
-based on
+.An Alexander Motin Aq m...@freebsd.org ,
+.An Alexander Chernikov Aq melif...@ipfw.ru .
+The initial code was based on
.Nm ng_ipacct
written by
.An Roman V. Palagin Aq rom
Author: glebius
Date: Sat Mar 19 19:37:53 2011
New Revision: 219781
URL: http://svn.freebsd.org/changeset/base/219781
Log:
Remove spl(9) remnants.
Modified:
head/sys/netgraph/ng_iface.c
Modified: head/sys/netgraph/ng_iface.c
On Sun, Mar 20, 2011 at 08:35:00AM +, Dmitry Chagin wrote:
D Author: dchagin
D Date: Sun Mar 20 08:35:00 2011
D New Revision: 219791
D URL: http://svn.freebsd.org/changeset/base/219791
D
D Log:
D Remove dead code.
This wasn't a code, but defines. Removing them saves nothing, but
primitives
Author: glebius
Date: Mon Mar 21 14:18:40 2011
New Revision: 219827
URL: http://svn.freebsd.org/changeset/base/219827
Log:
Improve locking of creating and dropping links in the graph, acquiring
the topology mutex in the following functions, that manipulate pointers
to peer nodes:
-
Author: glebius
Date: Tue Mar 22 04:31:35 2011
New Revision: 219858
URL: http://svn.freebsd.org/changeset/base/219858
Log:
Give better URL to the list of available CVSup mirrors.
Modified:
head/share/examples/cvsup/cvs-supfile
head/share/examples/cvsup/doc-supfile
Author: glebius
Date: Wed Mar 23 13:44:09 2011
New Revision: 219904
URL: http://svn.freebsd.org/changeset/base/219904
Log:
Fix SYNOPSIS.
Modified:
head/sbin/mount_unionfs/mount_unionfs.8
Modified: head/sbin/mount_unionfs/mount_unionfs.8
On Mon, Mar 19, 2012 at 09:06:36PM +0100, Davide Italiano wrote:
D These indented ifdefs look like a major violation of style used throughout
D the FreeBSD kernel code. Can you please keep with common style?
D
D
D Heh,
D sorry, also Juli Mallet noticed this, I'm writing a fix for this and
D
On Tue, Mar 20, 2012 at 06:00:50PM +0100, Davide Italiano wrote:
D 2012/3/20 Gleb Smirnoff gleb...@freebsd.org:
D On Mon, Mar 19, 2012 at 09:06:36PM +0100, Davide Italiano wrote:
D D These indented ifdefs look like a major violation of style used
throughout
D D the FreeBSD kernel code. Can
Author: glebius
Date: Wed Mar 21 06:51:45 2012
New Revision: 233257
URL: http://svn.freebsd.org/changeset/base/233257
Log:
Don't run through time checks when entry is definitely oversized. This
leads to newsyslog rotating on (size OR time) if both are specified.
PR: 100018,
Author: glebius
Date: Wed Mar 21 07:02:17 2012
New Revision: 233258
URL: http://svn.freebsd.org/changeset/base/233258
Log:
Fix a sentence in a paragraph that describes time and interval based
trimming. This sentence vaguely can be interpreted as if it was speaking
about time and size
Author: glebius
Date: Wed Mar 21 08:03:07 2012
New Revision: 233269
URL: http://svn.freebsd.org/changeset/base/233269
Log:
Add multibyte char support.
PR: 165429
Submitted by: amdmi3
Modified:
head/usr.bin/wall/wall.1
head/usr.bin/wall/wall.c
Modified:
Author: glebius
Date: Wed Mar 21 08:43:38 2012
New Revision: 233272
URL: http://svn.freebsd.org/changeset/base/233272
Log:
in6_pcblookup_local() still can return a pcb with NULL
inp_socket. To avoid panic, do not dereference inp_socket,
but obtain reuse port option from inp_flags2, like
Author: glebius
Date: Sat Mar 31 11:20:48 2012
New Revision: 233745
URL: http://svn.freebsd.org/changeset/base/233745
Log:
Don't check malloc(M_WAITOK) results.
Modified:
head/sys/netinet/ipfw/ip_fw_sockopt.c
Modified: head/sys/netinet/ipfw/ip_fw_sockopt.c
Author: glebius
Date: Mon Apr 2 10:44:25 2012
New Revision: 233773
URL: http://svn.freebsd.org/changeset/base/233773
Log:
Historically arp(8) did a route lookup for the entry it is
about to add, and failed if it exist and had invalid data
link type.
Later on, in r201282, this check
Author: glebius
Date: Tue Apr 3 18:09:20 2012
New Revision: 233846
URL: http://svn.freebsd.org/changeset/base/233846
Log:
Since pf 4.5 import pf(4) has a mechanism to defer
forwarding a packet, that creates state, until
pfsync(4) peer acks state addition (or 10 msec
timeout passes).
Author: glebius
Date: Tue Apr 3 18:10:48 2012
New Revision: 233847
URL: http://svn.freebsd.org/changeset/base/233847
Log:
Make it possible to switch pfsync(4) deferral mechanism on/off.
Obtained from:OpenBSD
Modified:
head/sbin/ifconfig/ifpfsync.c
Modified:
Author: glebius
Date: Tue Apr 3 18:11:30 2012
New Revision: 233848
URL: http://svn.freebsd.org/changeset/base/233848
Log:
Document syncdev, syncpeer and defer keywords for
pfsync(4) interfaces.
Modified:
head/sbin/ifconfig/ifconfig.8
Modified: head/sbin/ifconfig/ifconfig.8
On Tue, Apr 03, 2012 at 06:09:21PM +, Gleb Smirnoff wrote:
T Author: glebius
T Date: Tue Apr 3 18:09:20 2012
T New Revision: 233846
T URL: http://svn.freebsd.org/changeset/base/233846
T
T Log:
T Since pf 4.5 import pf(4) has a mechanism to defer
T forwarding a packet, that creates state
Ermal,
On Tue, Apr 03, 2012 at 08:30:41PM +0200, Ermal Lu?i wrote:
E You are sure that the defer feature is linked only to active-active?
I don't see any sane reason for deferring in normal master/backup
configuration.
--
Totus tuus, Glebius.
___
Julian,
On Tue, Apr 03, 2012 at 04:46:56PM -0700, Julian Elischer wrote:
J Many years ago there was the possibility that malloc M_WAITOK could
J return on shutdown or in some other rare error cases.
J
J Are we certain this is no longer true?
At least it is documented so.
--
Totus tuus,
Author: glebius
Date: Wed Apr 4 08:30:32 2012
New Revision: 233863
URL: http://svn.freebsd.org/changeset/base/233863
Log:
With pf 4.5 import the name of pfsync stats sysctl has changed, thus
'netstat -sp pfsync' got broken. Fix this.
Modified:
head/usr.bin/netstat/if.c
Modified:
Author: glebius
Date: Wed Apr 4 14:47:59 2012
New Revision: 233874
URL: http://svn.freebsd.org/changeset/base/233874
Log:
Merge from OpenBSD:
revision 1.173
date: 2011/11/09 12:36:03; author: camield; state: Exp; lines: +11 -12
State expire time is a baseline time (last active)
Qing,
On Sun, Apr 08, 2012 at 10:41:11AM -0700, Qing Li wrote:
Q This is not the right way to support RFC3021.
Q
Q The code you removed is used for checking against attempt at adding
Q duplicate entry.
Q Both the message and the code apply in that context. I tried to state
Q clearly and
Author: glebius
Date: Tue Apr 10 05:42:48 2012
New Revision: 234084
URL: http://svn.freebsd.org/changeset/base/234084
Log:
CARP should be capable to run on if_bridge(4). Unfortunately,
this commit is not enough to enable CARP operation on
if_bridge(4), because the latter doesn't handle or
Qing,
On Mon, Apr 09, 2012 at 02:26:06PM -0700, Qing Li wrote:
Q You missed my points.
Q
Q That if check as part of r201282 was meant to resolve a couple of
Q issues related
Q to PPP links, as noted in my commit message. In this PPP/proxy
Q resolution context
Q the error message applies, which
Author: glebius
Date: Tue Apr 10 06:52:21 2012
New Revision: 234086
URL: http://svn.freebsd.org/changeset/base/234086
Log:
M_DONTWAIT is a flag from historical mbuf(9)
allocator, not malloc(9) or uma(9) flag.
Modified:
head/sys/dev/sfxge/sfxge_rx.c
Modified: head/sys/dev/sfxge/sfxge_rx.c
Author: glebius
Date: Tue Apr 10 06:52:39 2012
New Revision: 234087
URL: http://svn.freebsd.org/changeset/base/234087
Log:
M_DONTWAIT is a flag from historical mbuf(9)
allocator, not malloc(9) or uma(9) flag.
Modified:
head/sys/netinet/in.c
Modified: head/sys/netinet/in.c
Author: glebius
Date: Wed Apr 11 12:26:30 2012
New Revision: 234130
URL: http://svn.freebsd.org/changeset/base/234130
Log:
It is a logical error that in carp_multicast_cleanup()
we look at count of addresses on a particular vhid, we
should account number of addresses on cif.
To achieve
On Sun, Apr 15, 2012 at 11:56:04PM +, Eitan Adler wrote:
E Author: eadler
E Date: Sun Apr 15 23:56:03 2012
E New Revision: 234329
E URL: http://svn.freebsd.org/changeset/base/234329
E
E Log:
E When searching for uninitialized memory usage add ensure that the entire
E struct is set to
Author: glebius
Date: Mon Apr 16 13:49:03 2012
New Revision: 234342
URL: http://svn.freebsd.org/changeset/base/234342
Log:
When we receive an ICMP unreach need fragmentation datagram, we take
proposed MTU value from it and update the TCP host cache. Then
tcp_mss_update() is called on the
On Mon, Apr 16, 2012 at 11:48:49AM -0400, Eitan Adler wrote:
E 2012/4/16 Gleb Smirnoff gleb...@freebsd.org:
E Is that PURIFY documented anywhere?
E
E I'm uncertain, but it isn't the only use in the source tree.
Is there any build with it? (rhetoric question)
I'm just afraid that committing fix
On Mon, Apr 30, 2012 at 01:48:36PM +0200, Luigi Rizzo wrote:
L On Mon, Apr 30, 2012 at 10:22:23AM +, Alexander V. Chernikov wrote:
L Author: melifaro
L Date: Mon Apr 30 10:22:23 2012
L New Revision: 234834
L URL: http://svn.freebsd.org/changeset/base/234834
L
L Log:
LMove several
Author: glebius
Date: Thu May 24 18:22:57 2012
New Revision: 235923
URL: http://svn.freebsd.org/changeset/base/235923
Log:
Revert r220768 for ng_ksocket. This node is special and
when it is cloning, its constructor method may be called
in a context that isn't allowed to sleep.
Noticed
Author: glebius
Date: Fri May 25 07:46:24 2012
New Revision: 235979
URL: http://svn.freebsd.org/changeset/base/235979
Log:
Revert my local not yet properly tested changes, that leaked in
with r235923.
Modified:
head/sys/netgraph/ng_mppc.c
Modified: head/sys/netgraph/ng_mppc.c
On Mon, May 28, 2012 at 12:13:05PM +, Eygene Ryabinkin wrote:
E The real-world case is when I am bundling together my Ethernet and
E WiFi interfaces and using multiple profiles for accessing network in
E different places: system being booted up with one profile, but later
E this
Author: glebius
Date: Fri Mar 12 14:51:42 2010
New Revision: 205082
URL: http://svn.freebsd.org/changeset/base/205082
Log:
Fix 'netstat -f netgraph', which I had broken in r163463 ling time
ago in 2006. This linked list is actually needed for userland.
PR: kern/140446
Author: glebius
Date: Fri Mar 12 15:04:59 2010
New Revision: 205083
URL: http://svn.freebsd.org/changeset/base/205083
Log:
Now fix functionality of 'netstat -f netgraph' that hasn't worked
starting from netgraph import in 1999.
netstat(8) used pointer to node as node address, oops. That
Author: glebius
Date: Thu Mar 25 10:13:21 2010
New Revision: 205636
URL: http://svn.freebsd.org/changeset/base/205636
Log:
Remove disabled code. In 99% cases exports are send to ng_ksocket(4), which
already forces queued mode, so what was suggested in disabled code is already
done.
201 - 300 of 2438 matches
Mail list logo