Author: glebius
Date: Sun Mar 17 07:39:45 2013
New Revision: 248417
URL: http://svnweb.freebsd.org/changeset/base/248417
Log:
Add MEXT_ALIGN() macro, similar to M_ALIGN() and MH_ALIGN(), but for
mbufs with external buffer.
Modified:
head/sys/sys/mbuf.h
Modified: head/sys/sys/mbuf.h
Author: glebius
Date: Sun Mar 17 07:41:14 2013
New Revision: 248418
URL: http://svnweb.freebsd.org/changeset/base/248418
Log:
In m_align() add assertions that mbuf is virgin, similar to assertions
in M_ALIGN(), MH_ALIGN, MEXT_ALIGN() macros.
Modified:
head/sys/kern/uipc_mbuf.c
Modified:
In r248418 and r248417 another change from my tree leaked:
- Removing M_FREELIST flag, that comes from historical mbuf
allocator predating FreeBSD 5.x.
On Sun, Mar 17, 2013 at 07:41:14AM +, Gleb Smirnoff wrote:
T Author: glebius
T Date: Sun Mar 17 07:41:14 2013
T New Revision: 248418
T
On Sun, Mar 17, 2013 at 10:02:09AM +0100, Andre Oppermann wrote:
A On 17.03.2013 08:39, Gleb Smirnoff wrote:
A Author: glebius
A Date: Sun Mar 17 07:39:45 2013
A New Revision: 248417
A URL: http://svnweb.freebsd.org/changeset/base/248417
A
A Log:
A Add MEXT_ALIGN() macro, similar
Author: glebius
Date: Tue Mar 19 05:44:25 2013
New Revision: 248489
URL: http://svnweb.freebsd.org/changeset/base/248489
Log:
There are actually two different cases when mlock(2) returns
ENOMEM. Clarify this, taking text from SUS.
Reviewed by: kib
Modified:
head/lib/libc/sys/mlock.2
On Mon, Mar 18, 2013 at 11:22:47PM +, Jung-uk Kim wrote:
J Author: jkim
J Date: Mon Mar 18 23:22:47 2013
J New Revision: 248478
J URL: http://svnweb.freebsd.org/changeset/base/248478
J
J Log:
J Add preliminary support for IBM/Lenovo TrackPoint.
J
J PR:kern/147237 (based
Author: glebius
Date: Tue Mar 19 13:43:55 2013
New Revision: 248507
URL: http://svnweb.freebsd.org/changeset/base/248507
Log:
iwn(4) doesn't support adhoc mode.
PR: misc/177106
Submitted by: Hiren Panchasara hiren.panchasara gmail.com
Modified:
head/share/man/man4/iwn.4
On Tue, Mar 19, 2013 at 08:58:18PM +, Jilles Tjoelker wrote:
J Author: jilles
J Date: Tue Mar 19 20:58:17 2013
J New Revision: 248534
J URL: http://svnweb.freebsd.org/changeset/base/248534
J
J Log:
J Implement SOCK_CLOEXEC, SOCK_NONBLOCK and MSG_CMSG_CLOEXEC.
J
J This change allows
Author: glebius
Date: Thu Mar 21 08:36:15 2013
New Revision: 248570
URL: http://svnweb.freebsd.org/changeset/base/248570
Log:
Add NGM_NAT_LIBALIAS_INFO command, that reports internal stats
of libalias instance. To be used in the mpd5 daemon.
Submitted by: Dmitry Luhtionov dmitryluhtionov
Author: glebius
Date: Thu Mar 21 13:02:43 2013
New Revision: 248582
URL: http://svnweb.freebsd.org/changeset/base/248582
Log:
Document NGM_NAT_LIBALIAS_INFO.
Submitted by: Dmitry Luhtionov dmitryluhtionov gmail.com
Modified:
head/share/man/man4/ng_nat.4
Modified:
Author: glebius
Date: Thu Mar 21 16:04:34 2013
New Revision: 248586
URL: http://svnweb.freebsd.org/changeset/base/248586
Log:
Document uma_find_refcnt().
Modified:
head/share/man/man9/zone.9
Modified: head/share/man/man9/zone.9
Author: glebius
Date: Thu Mar 21 16:19:46 2013
New Revision: 248588
URL: http://svnweb.freebsd.org/changeset/base/248588
Log:
Document some flags to the uma_zcreate(). Not all flags are documented,
only those that at least are used in the kernel, or that definitely
work.
Modified:
Author: glebius
Date: Fri Mar 22 20:44:16 2013
New Revision: 248621
URL: http://svnweb.freebsd.org/changeset/base/248621
Log:
Remove __FreeBSD_version ifdefs.
Modified:
head/sys/net/if_arcsubr.c
head/sys/net/if_lagg.c
head/sys/net/if_lagg.h
Modified: head/sys/net/if_arcsubr.c
Author: glebius
Date: Tue Mar 26 14:05:37 2013
New Revision: 248724
URL: http://svnweb.freebsd.org/changeset/base/248724
Log:
Cleanup: wrap long lines, cleanup comments, etc.
Modified:
head/sys/netgraph/netflow/netflow.c
head/sys/netgraph/netflow/ng_netflow.c
Modified:
Author: glebius
Date: Tue Mar 26 14:08:14 2013
New Revision: 248725
URL: http://svnweb.freebsd.org/changeset/base/248725
Log:
Return ENOMEM if malloc() fails.
Modified:
head/sys/netgraph/netflow/netflow.c
Modified: head/sys/netgraph/netflow/netflow.c
On Thu, Mar 28, 2013 at 05:04:59PM +, Will Andrews wrote:
W Author: will
W Date: Thu Mar 28 17:04:59 2013
W New Revision: 248836
W URL: http://svnweb.freebsd.org/changeset/base/248836
W
W Log:
W KGDB: Allow modules to be loaded from the specified kernel's directory.
W
W When looking up
Author: glebius
Date: Fri Mar 29 13:51:01 2013
New Revision: 248882
URL: http://svnweb.freebsd.org/changeset/base/248882
Log:
Non-functional cleanup of ng_ksocket_incoming2().
Modified:
head/sys/netgraph/ng_ksocket.c
Modified: head/sys/netgraph/ng_ksocket.c
Author: glebius
Date: Fri Mar 29 13:53:14 2013
New Revision: 248883
URL: http://svnweb.freebsd.org/changeset/base/248883
Log:
Whitespace.
Modified:
head/sys/netgraph/ng_ksocket.c
Modified: head/sys/netgraph/ng_ksocket.c
Author: glebius
Date: Fri Mar 29 13:57:55 2013
New Revision: 248884
URL: http://svnweb.freebsd.org/changeset/base/248884
Log:
When soreceive_generic() hands off an mbuf from buffer,
clear its pointer to next record, since next record
belongs to the buffer, and shouldn't be leaked.
The
Author: glebius
Date: Fri Mar 29 14:04:26 2013
New Revision: 248885
URL: http://svnweb.freebsd.org/changeset/base/248885
Log:
Revamp mbuf handling in ng_ksocket_incoming2():
- Clear code that workarounded a bug in FreeBSD 3,
and even predated import of netgraph(4).
- Clear workaround
Author: glebius
Date: Fri Mar 29 14:06:04 2013
New Revision: 248886
URL: http://svnweb.freebsd.org/changeset/base/248886
Log:
Once ng_ksocket(4) is fixed, re-apply r194662. See this revision for
longer description.
Discussed with: andre, rwatson
Sponsored by: Nginx, Inc.
Author: glebius
Date: Fri Mar 29 14:10:40 2013
New Revision: 248887
URL: http://svnweb.freebsd.org/changeset/base/248887
Log:
Fix bug in m_split() in a case when split len matches len of the
first mbuf, and the first mbuf is M_PKTHDR.
PR: kern/176144
Submitted by: Jacques
Author: glebius
Date: Tue Apr 2 13:52:09 2013
New Revision: 249022
URL: http://svnweb.freebsd.org/changeset/base/249022
Log:
- Remove extra $FreeBSD$
- Touch options headers to make module buildable.
Reviewed by: trasz
Modified:
head/sys/modules/ctl/Makefile
Modified:
George, Rick,
On Thu, Apr 04, 2013 at 03:16:54PM +, George V. Neville-Neil wrote:
G Modified: head/sys/rpc/rpcsec_gss/rpcsec_gss_prot.c
G
==
G --- head/sys/rpc/rpcsec_gss/rpcsec_gss_prot.cThu Apr 4
Author: glebius
Date: Fri Apr 5 20:24:51 2013
New Revision: 249168
URL: http://svnweb.freebsd.org/changeset/base/249168
Log:
Fix memory leak in coredump().
Reviewed by: kib
Modified:
head/sys/kern/kern_sig.c
Modified: head/sys/kern/kern_sig.c
Author: glebius
Date: Sat Apr 6 08:23:38 2013
New Revision: 249189
URL: http://svnweb.freebsd.org/changeset/base/249189
Log:
Move CRITICAL_ASSERT() macro to systm.h, where the critical(9)
functions are declared.
Modified:
head/sys/sys/proc.h
head/sys/sys/systm.h
Modified:
Author: glebius
Date: Mon Apr 8 19:10:45 2013
New Revision: 249264
URL: http://svnweb.freebsd.org/changeset/base/249264
Log:
Merge from projects/counters: UMA_ZONE_PCPU zones.
These zones have slab size == sizeof(struct pcpu), but request from VM
enough pages to fit (uk_slabsize *
Author: glebius
Date: Mon Apr 8 19:19:10 2013
New Revision: 249265
URL: http://svnweb.freebsd.org/changeset/base/249265
Log:
Merge from projects/counters:
Pad struct pcpu so that its size is denominator of PAGE_SIZE. This
is done to reduce memory waste in UMA_PCPU_ZONE zones.
Author: glebius
Date: Mon Apr 8 19:20:27 2013
New Revision: 249266
URL: http://svnweb.freebsd.org/changeset/base/249266
Log:
Forcibly defining _KERNEL is bad idea. Toss some code so that ip_var.h
isn't included with forced _KERNEL define.
Modified:
Gleb Smirnoff gleb...@freebsd.org
+.\ All rights reserved.
+.\
+.\ Redistribution and use in source and binary forms, with or without
+.\ modification, are permitted provided that the following conditions
+.\ are met:
+.\ 1. Redistributions of source code must retain the above copyright
+.\notice
On Mon, Apr 08, 2013 at 03:41:27PM -0400, John Baldwin wrote:
J On Monday, April 08, 2013 3:19:10 pm Gleb Smirnoff wrote:
J Author: glebius
J Date: Mon Apr 8 19:19:10 2013
J New Revision: 249265
J URL: http://svnweb.freebsd.org/changeset/base/249265
J
J Log:
JMerge from projects
Author: glebius
Date: Mon Apr 8 19:57:21 2013
New Revision: 249276
URL: http://svnweb.freebsd.org/changeset/base/249276
Log:
Merge from projects/counters: TCP/IP stats.
Convert 'struct ipstat' and 'struct tcpstat' to counter(9).
This speeds up IP forwarding at extreme packet
Author: glebius
Date: Tue Apr 9 09:15:26 2013
New Revision: 249302
URL: http://svnweb.freebsd.org/changeset/base/249302
Log:
Fix VIMAGE build.
Modified:
head/sys/netinet/tcp_input.c
Modified: head/sys/netinet/tcp_input.c
Author: glebius
Date: Tue Apr 9 12:20:44 2013
New Revision: 249305
URL: http://svnweb.freebsd.org/changeset/base/249305
Log:
Fix KASSERTs: maximum number of items per slab is 256.
Modified:
head/sys/vm/uma_core.c
Modified: head/sys/vm/uma_core.c
Author: glebius
Date: Tue Apr 9 15:15:52 2013
New Revision: 249309
URL: http://svnweb.freebsd.org/changeset/base/249309
Log:
Since now we support 256 items per slab, we need more bits
for us_freecount.
This grows uma_slab_head on 32-bit arches, but growth isn't
significant. Taking
Author: glebius
Date: Tue Apr 9 17:25:15 2013
New Revision: 249312
URL: http://svnweb.freebsd.org/changeset/base/249312
Log:
Swap us_freecount and us_flags, achieving same structure size
as before previous commit.
Submitted by: alc
Modified:
head/sys/vm/uma_int.h
Modified:
Author: glebius
Date: Tue Apr 9 17:43:48 2013
New Revision: 249313
URL: http://svnweb.freebsd.org/changeset/base/249313
Log:
Convert UMA code to C99 uintXX_t types.
Modified:
head/sys/vm/uma.h
head/sys/vm/uma_core.c
head/sys/vm/uma_dbg.c
head/sys/vm/uma_int.h
Modified:
On Tue, Apr 09, 2013 at 03:20:25PM -0400, John Baldwin wrote:
J J Log:
J JMerge from projects/counters:
J J
J J Pad struct pcpu so that its size is denominator of PAGE_SIZE. This
J Jis done to reduce memory waste in UMA_PCPU_ZONE zones.
J J
J JSponsored by:
On Tue, Apr 09, 2013 at 09:02:21PM +, Andre Oppermann wrote:
A Author: andre
A Date: Tue Apr 9 21:02:20 2013
A New Revision: 249318
A URL: http://svnweb.freebsd.org/changeset/base/249318
A
A Log:
A Change certain heavily used network related mutexes and rwlocks to
A reside on their own
Author: glebius
Date: Wed Apr 10 08:09:25 2013
New Revision: 249327
URL: http://svnweb.freebsd.org/changeset/base/249327
Log:
Fix build.
Modified:
head/sys/net/if_llatbl.h
head/sys/net/if_var.h
head/sys/netinet/in_var.h
head/sys/sys/socketvar.h
Modified: head/sys/net/if_llatbl.h
Author: glebius
Date: Wed Apr 10 16:09:45 2013
New Revision: 249335
URL: http://svnweb.freebsd.org/changeset/base/249335
Log:
Since UMA_ZONE_PCPU zones put a constraint on sizeof(struct pcpu), declared
as CTASSERT in MI pcpu.h, stop including all possible mutually exclusive
PCPU_MD_FIELDS
10 18:59:20 2013(r249343)
+++ head/lib/libkvm/kvm_pcpu.c Wed Apr 10 20:26:53 2013(r249344)
@@ -1,4 +1,5 @@
/*-
+ * Copyright (c) 2013 Gleb Smirnoff gleb...@freebsd.org
* Copyright (c) 2010 Juniper Networks, Inc.
* Copyright (c) 2009 Robert N. M. Watson
* Copyright (c) 2009
Author: glebius
Date: Wed Apr 10 20:29:23 2013
New Revision: 249345
URL: http://svnweb.freebsd.org/changeset/base/249345
Log:
Use kvm_counter_u64_fetch() to fix obtaining ipstat and tcpstat from
kernel core files.
Sponsored by: Nginx, Inc.
Modified:
head/usr.bin/netstat/inet.c
Bruce,
On Thu, Apr 11, 2013 at 05:59:24PM +1000, Bruce Evans wrote:
B Modified:
B head/lib/libkvm/kvm.h
B
B Modified: head/lib/libkvm/kvm.h
B
==
B --- head/lib/libkvm/kvm.h Thu Apr 11 07:02:27 2013
On Thu, Apr 11, 2013 at 06:49:02PM +1000, Bruce Evans wrote:
B On Thu, Apr 11, 2013 at 05:59:24PM +1000, Bruce Evans wrote:
B B Modified:
B B head/lib/libkvm/kvm.h
B B
B B Modified: head/lib/libkvm/kvm.h
B B
Author: glebius
Date: Thu Apr 11 10:14:28 2013
New Revision: 249358
URL: http://svnweb.freebsd.org/changeset/base/249358
Log:
Fix typo.
Modified:
head/lib/libkvm/Makefile
Modified: head/lib/libkvm/Makefile
==
---
Juli,
On Thu, Apr 11, 2013 at 11:05:28AM -0700, Juli Mallett wrote:
J On Thu, Apr 11, 2013 at 09:07:25PM +1000, Bruce Evans wrote:
J B Just routine avoidance of namespace pollution. This is easy in such a
J B simple header.
J
J Sorry, with all respect, but I can't call including
Author: glebius
Date: Thu Apr 11 18:23:56 2013
New Revision: 249372
URL: http://svnweb.freebsd.org/changeset/base/249372
Log:
Fix tcp_output() so that tcpcb is updated in the same manner when an
mbuf allocation fails, as in a case when ip_output() returns error.
To achieve that, move
Author: glebius
Date: Fri Apr 12 08:52:19 2013
New Revision: 249400
URL: http://svnweb.freebsd.org/changeset/base/249400
Log:
Attempt to clean up spacing and long lines.
Modified:
head/sys/netgraph/netflow/ng_netflow.h
Modified: head/sys/netgraph/netflow/ng_netflow.h
Author: glebius
Date: Mon Apr 15 13:00:42 2013
New Revision: 249506
URL: http://svnweb.freebsd.org/changeset/base/249506
Log:
Switch lagg(4) statistics to counter(9).
The lagg(4) is often used to bond high speed links, so basic per-packet +=
on statistics cause cache misses and
Author: glebius
Date: Wed Apr 17 18:43:33 2013
New Revision: 249590
URL: http://svnweb.freebsd.org/changeset/base/249590
Log:
On non-ACPI i386 mp_ncpus is initialized at SI_SUB_CPU, and this
prevents us from creating UMA_ZONE_PCPU zones earlier.
As bandaid shift initialization of
Author: glebius
Date: Fri Nov 2 13:51:47 2012
New Revision: 242474
URL: http://svn.freebsd.org/changeset/base/242474
Log:
Remove separate paragraph on ASCII messages and instead
provide this information along with messages documentation,
like this done in manual pages for other netgraph
Author: glebius
Date: Fri Nov 2 13:54:06 2012
New Revision: 242475
URL: http://svn.freebsd.org/changeset/base/242475
Log:
- Fix struct and struct fields names.
- Remove NGM_ATM_CARRIER_CHANGE, which was removed in r118175.
Submitted by: Mamontov Roman mr.xanto gmail.com
Modified:
On Sat, Nov 03, 2012 at 01:35:20PM -0700, Alfred Perlstein wrote:
A Author: alfred
A Date: Sat Nov 3 18:21:40 2012
A New Revision: 242520
A URL: http://svn.freebsd.org/changeset/base/242520
A
A Log:
A Retire MAXUSERS.
A
A Approved by: peter, meetBSD
This mechanical rename to meaningless
On Tue, Nov 06, 2012 at 10:53:01PM +, Attilio Rao wrote:
A no, ports/thirdy part should be adjusted on the -CURRENT ABI.
btw, shouldn't the fusefs ports be patched, so that sysutils/fusefs-kmod
is no longer built and installed on __FreeBSD_version = 121 ?
--
Totus tuus, Glebius.
Author: glebius
Date: Wed Nov 7 07:30:40 2012
New Revision: 242693
URL: http://svnweb.freebsd.org/changeset/base/242693
Log:
It may happen that pfsync holds the last reference on a state. In this
case keys had already been freed. If encountering such state, then
just release last
Author: glebius
Date: Wed Nov 7 07:35:05 2012
New Revision: 242694
URL: http://svnweb.freebsd.org/changeset/base/242694
Log:
Merge rev. 1.125 from OpenBSD:
date: 2009/06/12 02:03:51; author: dlg; state: Exp; lines: +59 -69
rewrite the way states from pfsync are merged into the local
On Wed, Nov 07, 2012 at 09:29:35AM +0100, Florian Smeets wrote:
F On 07.11.12 08:11, Gleb Smirnoff wrote:
F On Tue, Nov 06, 2012 at 10:53:01PM +, Attilio Rao wrote:
F A no, ports/thirdy part should be adjusted on the -CURRENT ABI.
F
F btw, shouldn't the fusefs ports be patched, so
On Mon, Nov 12, 2012 at 06:11:40PM -0800, David O'Brien wrote:
D On Fri, Sep 14, 2012 at 11:51:51AM +, Gleb Smirnoff wrote:
D Log:
Do Create directory sys/netpfil, where all packet filters should
D reside, and move there ipfw(4) and pf(4).
Do Move most modified parts of pf out
Author: glebius
Date: Wed Nov 14 08:05:21 2012
New Revision: 243019
URL: http://svnweb.freebsd.org/changeset/base/243019
Log:
Remove remnants of classful addressing. These magic transformations
of supplied arguments is not what a modern sysadmin expect.
Modified:
head/sbin/route/route.c
On Wed, Nov 14, 2012 at 10:30:22AM +0100, Andre Oppermann wrote:
A On 14.11.2012 09:05, Gleb Smirnoff wrote:
A Author: glebius
A Date: Wed Nov 14 08:05:21 2012
A New Revision: 243019
A URL: http://svnweb.freebsd.org/changeset/base/243019
A
A Log:
A Remove remnants of classful addressing
Author: glebius
Date: Fri Nov 16 14:00:27 2012
New Revision: 243151
URL: http://svnweb.freebsd.org/changeset/base/243151
Log:
o Remove meaningless PROTOCOLS section.
o Describe passing file descriptors as separate section.
- Descriptors can be passed through any protocol of the UNIX
Author: glebius
Date: Fri Nov 16 14:00:54 2012
New Revision: 243152
URL: http://svnweb.freebsd.org/changeset/base/243152
Log:
Update comment.
Modified:
head/sys/kern/uipc_usrreq.c
Modified: head/sys/kern/uipc_usrreq.c
Author: glebius
Date: Mon Nov 26 19:42:38 2012
New Revision: 243568
URL: http://svnweb.freebsd.org/changeset/base/243568
Log:
Fix typo in weekly line which made it to rotated after reaching 1 Kb.
PR: conf/173857
Submitted by: Matt Smith matt xtaz.co.uk
Modified:
Author: glebius
Date: Mon Nov 26 19:45:01 2012
New Revision: 243569
URL: http://svnweb.freebsd.org/changeset/base/243569
Log:
Re-initialize eh pointer after m_adj()
Submitted by: Kohji Okuno okuno.kohji jp.panasonic.com
Reviewed by: yongari
Modified:
head/sys/net/if_ethersubr.c
Author: glebius
Date: Mon Nov 26 20:03:57 2012
New Revision: 243570
URL: http://svnweb.freebsd.org/changeset/base/243570
Log:
drbr_enqueue() awlays consumes mbuf, no matter did it
fail or not. The mbuf pointer is no longer valid, so
can't be reused after.
Fix igb_mq_start() where
Author: glebius
Date: Tue Nov 27 06:35:26 2012
New Revision: 243601
URL: http://svnweb.freebsd.org/changeset/base/243601
Log:
Better safe than sorry: reinitialize eh after ng_ether(4) and
if_bridge(4) processing, since mbuf may be modified there.
Submitted by: youngari
Modified:
Alfred,
On Wed, Nov 28, 2012 at 09:39:15AM -0800, Alfred Perlstein wrote:
A Personally I don't think we need any more anchors attached to people's
A feet when developing FreeBSD.
A
A Mistakes will happen, they will happen in head. Slowing down the
A process to eliminate mistakes only works
Author: glebius
Date: Tue Dec 4 09:32:43 2012
New Revision: 243857
URL: http://svnweb.freebsd.org/changeset/base/243857
Log:
Mechanically substitute flags from historic mbuf allocator with
malloc(9) flags in sys/dev.
Modified:
head/sys/dev/age/if_age.c
head/sys/dev/alc/if_alc.c
Xin,
On Mon, Dec 03, 2012 at 11:47:32AM -0800, Xin LI wrote:
X It seems that this commit breaks the following commands like this:
X
X route add -net 10.8/16 10.2.0.1
Thanks for report. Do you agree with attached patch?
--
Totus tuus, Glebius.
Index: route.c
Author: glebius
Date: Tue Dec 4 10:24:50 2012
New Revision: 243859
URL: http://svnweb.freebsd.org/changeset/base/243859
Log:
No need to be root when running with -t or -d.
Modified:
head/sbin/route/route.c
Modified: head/sbin/route/route.c
Author: glebius
Date: Tue Dec 4 11:10:01 2012
New Revision: 243860
URL: http://svnweb.freebsd.org/changeset/base/243860
Log:
Flush stdout after RTM_IFANNOUNCE message.
PR: bin/151600
Submitted by: Eric van Gyzen eric vangyzen.net
Modified:
head/sbin/route/route.c
Modified:
Author: glebius
Date: Tue Dec 4 20:05:01 2012
New Revision: 243867
URL: http://svnweb.freebsd.org/changeset/base/243867
Log:
Fix fallout from r243019, which broke parsing of shortened network
prefixes.
Reported and tested by: delphij
Modified:
head/sbin/route/route.c
Modified:
Author: glebius
Date: Wed Dec 5 08:04:20 2012
New Revision: 243882
URL: http://svnweb.freebsd.org/changeset/base/243882
Log:
Mechanically substitute flags from historic mbuf allocator with
malloc(9) flags within sys.
Exceptions:
- sys/contrib not touched
- sys/mbuf.h edited
Author: glebius
Date: Thu Dec 6 08:22:08 2012
New Revision: 243940
URL: http://svnweb.freebsd.org/changeset/base/243940
Log:
Remove extra PFSYNC_LOCK() in pfsync_bulk_update() which lead to lock
recursion.
Reported by: Ian FREISLICH ianf cloudseed.co.za
Modified:
Author: glebius
Date: Thu Dec 6 08:32:28 2012
New Revision: 243941
URL: http://svnweb.freebsd.org/changeset/base/243941
Log:
Close possible races between state deletion and sent being sent out
from pfsync:
- Call into pfsync_delete_state() holding the state lock.
- Set the state timeout
Author: glebius
Date: Thu Dec 6 08:38:14 2012
New Revision: 243944
URL: http://svnweb.freebsd.org/changeset/base/243944
Log:
Rule memory garbage collecting in new pf scans only states that are on
id hash. If a state has been disconnected from id hash, its rule pointers
can no longer be
Author: glebius
Date: Mon Dec 10 13:08:14 2012
New Revision: 244082
URL: http://svnweb.freebsd.org/changeset/base/244082
Log:
NGM_NETFLOW_SHOW reports IPv6 flows as well.
Submitted by: Dmitry Luhtionov dmitryluhtionov gmail.com
Modified:
head/share/man/man4/ng_netflow.4
Modified:
Author: glebius
Date: Tue Dec 11 08:37:08 2012
New Revision: 244113
URL: http://svnweb.freebsd.org/changeset/base/244113
Log:
Merge 1.127 from OpenBSD, that closes a regression from 1.125 (merged
as r242694):
do better detection of when we have a better version of the tcp sequence
Author: glebius
Date: Wed Dec 12 17:41:21 2012
New Revision: 244157
URL: http://svnweb.freebsd.org/changeset/base/244157
Log:
Fix a crash in tcp_input(), that happens when mbuf has a fwd_tag on it,
but later after processing and freeing the tag, we need to jump back again
to the findpcb
On Wed, Dec 12, 2012 at 04:53:48PM -0800, Alfred Perlstein wrote:
A The problem again is that not all the KASSERTS are inviolable, if you
A want to do a project to split them, then please do, it would really be
A helpful, as for now, they are a mis-mash of death/warnings and there are
A at
On Wed, Dec 12, 2012 at 11:16:43PM -0800, Adrian Chadd wrote:
A I think the fundamental problem here is we have some pretty different
A ideas of what KASSERT should be, versus what it actually is in various
A parts of the code.
Yep, under we you probably meant you and Alfred. What both of you
Author: glebius
Date: Thu Dec 13 11:11:15 2012
New Revision: 244183
URL: http://svnweb.freebsd.org/changeset/base/244183
Log:
Fix problem in r238990. The LLE_LINKED flag should be tested prior to
entering llentry_free(), and in case if we lose the race, we should simply
perform
Author: glebius
Date: Thu Dec 13 12:48:57 2012
New Revision: 244184
URL: http://svnweb.freebsd.org/changeset/base/244184
Log:
Initialize state id prior to attaching state to key hash. Otherwise a
race can happen, when pf_find_state() finds state via key hash, and locks
id hash slot 0
Author: glebius
Date: Thu Dec 13 12:51:22 2012
New Revision: 244185
URL: http://svnweb.freebsd.org/changeset/base/244185
Log:
Merge rev. 1.119 from OpenBSD:
date: 2009/03/31 01:21:29; author: dlg; state: Exp; lines: +9 -16
...
this also firms up some of the input parsing so
Author: glebius
Date: Fri Dec 14 08:02:35 2012
New Revision: 244202
URL: http://svnweb.freebsd.org/changeset/base/244202
Log:
Fix VIMAGE build broken in r244185.
Submitted by: Nikolai Lifanov lifanov mail.lifanov.com
Modified:
head/sys/netpfil/pf/if_pfsync.c
Modified:
Author: glebius
Date: Fri Dec 14 13:01:16 2012
New Revision: 244210
URL: http://svnweb.freebsd.org/changeset/base/244210
Log:
Fix error in r235991. No-sleep version of IFNET_RLOCK() should
be used here, since we may hold the main pf rulesets rwlock.
Reported by: Fleuriot Damien ml
On Sat, Dec 15, 2012 at 04:35:25AM -0800, Alfred Perlstein wrote:
A People keep beating this drum all invariants/panics are there for a
A reason, no, some happen to be bugs, and when I'm shipping code to a
A customer, I may need to skip one of these buggy assertions.
Yes, if you know any buggy
On Sat, Dec 15, 2012 at 05:29:10AM -0800, Alfred Perlstein wrote:
A On 12/15/12 5:01 AM, Gleb Smirnoff wrote:
A On Sat, Dec 15, 2012 at 04:35:25AM -0800, Alfred Perlstein wrote:
A A People keep beating this drum all invariants/panics are there for a
A A reason, no, some happen to be bugs
Author: glebius
Date: Tue Dec 18 08:09:44 2012
New Revision: 244386
URL: http://svnweb.freebsd.org/changeset/base/244386
Log:
Clear correct flag in INET6 case.
Modified:
head/sys/netinet/tcp_input.c
Modified: head/sys/netinet/tcp_input.c
Author: glebius
Date: Tue Dec 18 08:14:16 2012
New Revision: 244387
URL: http://svnweb.freebsd.org/changeset/base/244387
Log:
Fix !INET6 build after r244365.
Modified:
head/sys/netinet/tcp_input.c
Modified: head/sys/netinet/tcp_input.c
Andrey,
On Tue, Dec 18, 2012 at 08:14:16AM +, Gleb Smirnoff wrote:
T Author: glebius
T Date: Tue Dec 18 08:14:16 2012
T New Revision: 244387
T URL: http://svnweb.freebsd.org/changeset/base/244387
T
T Log:
T Fix !INET6 build after r244365.
T
T Modified:
T head/sys/netinet/tcp_input.c
T
Monthadar,
On Tue, Dec 18, 2012 at 08:44:59AM +, Monthadar Al Jaberi wrote:
M Author: monthadar
M Date: Tue Dec 18 08:44:59 2012
M New Revision: 244389
M URL: http://svnweb.freebsd.org/changeset/base/244389
M
M Log:
M wtap should check if ieee80211_vap_setup fails.
M
M * If
On Tue, Dec 18, 2012 at 12:30:53PM +0100, Monthadar Al Jaberi wrote:
M On Tue, Dec 18, 2012 at 9:53 AM, Gleb Smirnoff gleb...@freebsd.org wrote:
MMonthadar,
M
M On Tue, Dec 18, 2012 at 08:44:59AM +, Monthadar Al Jaberi wrote:
M M Author: monthadar
M M Date: Tue Dec 18 08:44:59 2012
M
Author: glebius
Date: Fri Dec 21 10:09:45 2012
New Revision: 244532
URL: http://svnweb.freebsd.org/changeset/base/244532
Log:
Comment fix: there is no ub_ptr, instead explain meaning of uz_count
field verbally.
Modified:
head/sys/vm/uma_int.h
Modified: head/sys/vm/uma_int.h
Author: glebius
Date: Mon Dec 24 21:35:48 2012
New Revision: 244665
URL: http://svnweb.freebsd.org/changeset/base/244665
Log:
Minor style(9) changes:
- Remove declaration in initializer.
- Add empty line between logical blocks.
Modified:
head/sys/netinet/in.c
Modified:
On Tue, Dec 25, 2012 at 08:38:54AM +0100, Luigi Rizzo wrote:
L On Mon, Dec 24, 2012 at 09:35:49PM +, Gleb Smirnoff wrote:
L Author: glebius
L Date: Mon Dec 24 21:35:48 2012
L New Revision: 244665
L URL: http://svnweb.freebsd.org/changeset/base/244665
L
L Log:
LMinor style(9) changes
Author: glebius
Date: Tue Dec 25 13:01:58 2012
New Revision: 244678
URL: http://svnweb.freebsd.org/changeset/base/244678
Log:
The SIOCSIFFLAGS ioctl handler runs if_up()/if_down() that notify
all interested parties in case if interface flag IFF_UP has changed.
However, not only
Author: glebius
Date: Tue Dec 25 13:55:21 2012
New Revision: 244680
URL: http://svnweb.freebsd.org/changeset/base/244680
Log:
Fix sysctl_handle_int() usage. Either arg1 or arg2 should be supplied,
and arg2 doesn't pass size of arg1.
Modified:
head/sys/netinet/tcp_reass.c
Author: glebius
Date: Tue Dec 25 14:08:13 2012
New Revision: 244681
URL: http://svnweb.freebsd.org/changeset/base/244681
Log:
Change net.inet.carp.demotion sysctl to add the supplied value
to the current demotion factor instead of assigning it.
This allows external scripts to control
801 - 900 of 2438 matches
Mail list logo