svn commit: r262819 - head/usr.bin/netstat

2014-03-05 Thread Gleb Smirnoff
Author: glebius Date: Thu Mar 6 02:00:01 2014 New Revision: 262819 URL: http://svnweb.freebsd.org/changeset/base/262819 Log: Fix compilation for 32-bit machines. Modified: head/usr.bin/netstat/route.c Modified: head/usr.bin/netstat/route.c

Re: svn commit: r262860 - in head: . etc usr.sbin/rpcbind

2014-03-06 Thread Gleb Smirnoff
On Thu, Mar 06, 2014 at 05:33:28PM +, Alexander Motin wrote: A Author: mav A Date: Thu Mar 6 17:33:27 2014 A New Revision: 262860 A URL: http://svnweb.freebsd.org/changeset/base/262860 A A Log: A Disable libwrap (TCP wrappers) support in rpcbind by default, introducing A new command line

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

2014-03-12 Thread Gleb Smirnoff
Author: glebius Date: Wed Mar 12 14:29:08 2014 New Revision: 263091 URL: http://svnweb.freebsd.org/changeset/base/263091 Log: Since both netinet/ and netinet6/ call into netipsec/ and netpfil/, the protocol specific mbuf flags are shared between them. - Move all M_FOO definitions into a

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

2014-03-12 Thread Gleb Smirnoff
On Wed, Mar 12, 2014 at 03:19:55PM -0700, John-Mark Gurney wrote: J Log: JSince both netinet/ and netinet6/ call into netipsec/ and netpfil/, Jthe protocol specific mbuf flags are shared between them. J J- Move all M_FOO definitions into a single place: netinet/in6.h, to J

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

2014-03-12 Thread Gleb Smirnoff
On Thu, Mar 13, 2014 at 01:09:15AM +0400, Andrey Chernov wrote: A On 12.03.2014 18:29, Gleb Smirnoff wrote: A --- head/sys/netinet/ip_input.cWed Mar 12 12:27:13 2014 (r263090) A +++ head/sys/netinet/ip_input.cWed Mar 12 14:29:08 2014 (r263091) A @@ -794,6 +795,8

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

2014-03-12 Thread Gleb Smirnoff
On Wed, Mar 12, 2014 at 12:58:10PM -0700, Adrian Chadd wrote: A Will this work for non inet6 builds? Of course it works. -- Totus tuus, Glebius. ___ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To

svn commit: r263102 - in head: sys/compat/linprocfs sys/dev/bxe sys/dev/ixgbe sys/dev/mxge sys/dev/oce sys/dev/qlxgb sys/dev/qlxgbe sys/dev/qlxge sys/dev/sbni sys/dev/virtio/network sys/dev/vmware/...

2014-03-12 Thread Gleb Smirnoff
Author: glebius Date: Thu Mar 13 03:42:24 2014 New Revision: 263102 URL: http://svnweb.freebsd.org/changeset/base/263102 Log: Since 32-bit if_baudrate isn't enough to describe a baud rate of a 10 Gbit interface, in the r241616 a crutch was provided. It didn't work well, and finally we

svn commit: r263140 - in head: . contrib/mdocml etc etc/defaults etc/mtree etc/rc.d gnu/usr.bin/groff/tmac include lib lib/libipx release/picobsd/bridge release/picobsd/qemu rescue/rescue sbin/ifco...

2014-03-13 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 14 02:58:48 2014 New Revision: 263140 URL: http://svnweb.freebsd.org/changeset/base/263140 Log: Remove IPX support. IPX was a network transport protocol in Novell's NetWare network operating system from late 80s and then 90s. The NetWare itself switched to

Re: svn commit: r263142 - in head: lib/libpam/modules/pam_radius lib/libpam/modules/pam_tacplus sbin/mdconfig secure/usr.bin/bdes share/doc/papers/beyond4.3 share/doc/papers/diskperf share/doc/papers/

2014-03-13 Thread Gleb Smirnoff
On Fri, Mar 14, 2014 at 03:07:52AM +, Eitan Adler wrote: E Author: eadler E Date: Fri Mar 14 03:07:51 2014 E New Revision: 263142 E URL: http://svnweb.freebsd.org/changeset/base/263142 E E Log: E multiple: Remove 3rd clause from BSD license where approved by the E regents and renumber. E

svn commit: r263152 - in head: . etc/mtree include sbin/ifconfig sbin/route share/man/man4 share/man/man7 share/man/man9 sys sys/amd64/amd64 sys/conf sys/i386/i386 sys/kern sys/modules/if_gre sys/m...

2014-03-14 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 14 06:29:43 2014 New Revision: 263152 URL: http://svnweb.freebsd.org/changeset/base/263152 Log: Remove AppleTalk support. AppleTalk was a network transport protocol for Apple Macintosh devices in 80s and then 90s. Starting with Mac OS X in 2000 the AppleTalk

svn commit: r263168 - head/sys/sys

2014-03-14 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 14 11:45:19 2014 New Revision: 263168 URL: http://svnweb.freebsd.org/changeset/base/263168 Log: Add placeholders for IPX/SPX and AppleTalk priveledges, to avoid number clashes with any future constants. Suggested by: rwatson Modified: head/sys/sys/priv.h

svn commit: r263178 - in head: . share/man/man4

2014-03-14 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 14 17:18:21 2014 New Revision: 263178 URL: http://svnweb.freebsd.org/changeset/base/263178 Log: A miss from r263140. Modified: head/ObsoleteFiles.inc head/share/man/man4/Makefile Modified: head/ObsoleteFiles.inc

svn commit: r263179 - head

2014-03-14 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 14 17:20:23 2014 New Revision: 263179 URL: http://svnweb.freebsd.org/changeset/base/263179 Log: Another miss from r263140. Modified: head/ObsoleteFiles.inc Modified: head/ObsoleteFiles.inc

svn commit: r263203 - in head: share/man/man4 share/man/man9 sys/net sys/sys usr.bin/netstat usr.sbin/ppp usr.sbin/route6d

2014-03-15 Thread Gleb Smirnoff
Author: glebius Date: Sat Mar 15 06:49:32 2014 New Revision: 263203 URL: http://svnweb.freebsd.org/changeset/base/263203 Log: Garbage collect long time obsoleted (or never used) stuff from routing API. Modified: head/share/man/man4/route.4 head/share/man/man9/rtentry.9

svn commit: r263264 - head/usr.bin/talk

2014-03-17 Thread Gleb Smirnoff
Author: glebius Date: Mon Mar 17 11:58:48 2014 New Revision: 263264 URL: http://svnweb.freebsd.org/changeset/base/263264 Log: Make talk(1) capable of displaying UTF-8 characters. Sponsored by: Nginx, Inc. Modified: head/usr.bin/talk/Makefile head/usr.bin/talk/display.c

Re: svn commit: r263264 - head/usr.bin/talk

2014-03-17 Thread Gleb Smirnoff
On Mon, Mar 17, 2014 at 11:58:49AM +, Gleb Smirnoff wrote: T Author: glebius T Date: Mon Mar 17 11:58:48 2014 T New Revision: 263264 T URL: http://svnweb.freebsd.org/changeset/base/263264 T T Log: T Make talk(1) capable of displaying UTF-8 characters. NB: the network talk protocol

svn commit: r263297 - head/sys/dev/sfxge

2014-03-18 Thread Gleb Smirnoff
Author: glebius Date: Tue Mar 18 12:50:22 2014 New Revision: 263297 URL: http://svnweb.freebsd.org/changeset/base/263297 Log: Return error when packet is dropped because of link down. Submitted-by: Boris Misenov boris.mise...@oktetlabs.ru Sponsored by: Solarflare Communications, Inc.

svn commit: r263331 - head/usr.bin/netstat

2014-03-18 Thread Gleb Smirnoff
Author: glebius Date: Wed Mar 19 03:33:32 2014 New Revision: 263331 URL: http://svnweb.freebsd.org/changeset/base/263331 Log: Now, after r263102 we have ifi_oqdrops in if_data, restore printing of output queue drops in netstat(1). No driver, neither kernel fills this field in if_data,

svn commit: r263333 - head/sys/net

2014-03-19 Thread Gleb Smirnoff
Author: glebius Date: Wed Mar 19 06:08:03 2014 New Revision: 26 URL: http://svnweb.freebsd.org/changeset/base/26 Log: When exporting ifnet via sysctl, add ifqueue(9) drop count to the ifi_oqdrops. This is a temporary workaround until ifqueue(9) vanishes. While here, remove the

Re: svn commit: r263415 - head/sys/dev/cxgbe

2014-03-19 Thread Gleb Smirnoff
On Thu, Mar 20, 2014 at 02:28:05AM +, Navdeep Parhar wrote: N Author: np N Date: Thu Mar 20 02:28:05 2014 N New Revision: 263415 N URL: http://svnweb.freebsd.org/changeset/base/263415 N N Log: N cxgbe(4): Use ifi_oqdrops in if_data to count drops in the tx path. Thanks for this one and for

svn commit: r263419 - head

2014-03-20 Thread Gleb Smirnoff
Author: glebius Date: Thu Mar 20 06:22:39 2014 New Revision: 263419 URL: http://svnweb.freebsd.org/changeset/base/263419 Log: Since mlaier has been inactive for a long time, grab maintainership on pf. Modified: head/MAINTAINERS Modified: head/MAINTAINERS

svn commit: r263497 - head/sys/netpfil/ipfw

2014-03-21 Thread Gleb Smirnoff
Author: glebius Date: Fri Mar 21 17:07:18 2014 New Revision: 263497 URL: http://svnweb.freebsd.org/changeset/base/263497 Log: Fix breakage in ipfw+VIMAGE after r261590. PR: kern/187665 Sponsored by: Nginx, Inc. Modified: head/sys/netpfil/ipfw/ip_fw_pfil.c Modified:

svn commit: r263649 - head/sys/dev/sfxge

2014-03-22 Thread Gleb Smirnoff
Author: glebius Date: Sat Mar 22 18:24:44 2014 New Revision: 263649 URL: http://svnweb.freebsd.org/changeset/base/263649 Log: sfxge: limit software Tx queue size. Previous implementation limits put queue size only (when Tx lock can't be acquired), but get queue may grow unboundedly which

svn commit: r263658 - head/usr.sbin/route6d

2014-03-23 Thread Gleb Smirnoff
Author: glebius Date: Sun Mar 23 09:15:14 2014 New Revision: 263658 URL: http://svnweb.freebsd.org/changeset/base/263658 Log: Remove unneeded fake _KERNEL definition. Modified: head/usr.sbin/route6d/route6d.c Modified: head/usr.sbin/route6d/route6d.c

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

2014-04-10 Thread Gleb Smirnoff
Hi, one comment: On Thu, Apr 10, 2014 at 06:15:35PM +, John Baldwin wrote: J +/* J + * Drop a refcount on an tw elevated using tw_pcbref(). Return J + * the tw lock released. J + */ J +static int J +tw_pcbrele(struct tcptw *tw) J +{ J + J +TW_WLOCK_ASSERT(V_tw_lock); J +

svn commit: r264521 - head/sys/netpfil/pf

2014-04-16 Thread Gleb Smirnoff
Author: glebius Date: Wed Apr 16 09:25:20 2014 New Revision: 264521 URL: http://svnweb.freebsd.org/changeset/base/264521 Log: Backout r257223,r257224,r257225,r257246,r257710. The changes caused some regressions in ICMP handling, and right now me and Baptiste are out of time on analyzing

svn commit: r264915 - head/sys/netpfil/pf

2014-04-25 Thread Gleb Smirnoff
Author: glebius Date: Fri Apr 25 11:36:11 2014 New Revision: 264915 URL: http://svnweb.freebsd.org/changeset/base/264915 Log: The current API for adding rules with pool addresses is the following: - DIOCADDADDR adds addresses and puts them into V_pf_pabuf - DIOCADDRULE takes all

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

2014-04-25 Thread Gleb Smirnoff
On Fri, Apr 25, 2014 at 09:58:31AM -0600, Alan Somers wrote: A On Fri, Jul 26, 2013 at 1:41 PM, Adrian Chadd adr...@freebsd.org wrote: A Author: adrian A Date: Fri Jul 26 19:41:13 2013 A New Revision: 253687 A URL: http://svnweb.freebsd.org/changeset/base/253687 A A Log: ABreak out the

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

2014-04-28 Thread Gleb Smirnoff
On Fri, Apr 25, 2014 at 02:09:21PM -0700, Adrian Chadd wrote: A Someone else should do it. Someone else can simply revert a commit that introduces a LOR and adds nonstandard undocumented configuration knobs. -- Totus tuus, Glebius. ___

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

2014-04-28 Thread Gleb Smirnoff
On Sat, Apr 26, 2014 at 09:03:41PM +, Alexander V. Chernikov wrote: A @@ -1425,6 +1431,95 @@ bad: A #undef ifpaddr A #undef flags A A +#define senderr(e) { error = e; goto bad; } ... A +if (error != 0) A +senderr(error); This resolves to error =

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

2014-05-04 Thread Gleb Smirnoff
Author: glebius Date: Sun May 4 23:25:32 2014 New Revision: 265338 URL: http://svnweb.freebsd.org/changeset/base/265338 Log: The FreeBSD-SA-14:08.tcp was a lesson on not doing acrobatics with mixing on stack memory and UMA memory in one linked list. Thus, rewrite TCP reassembly code in

Re: svn commit: r265215 - in head/sys: amd64/conf boot/forth conf i386/conf pc98/conf sys

2014-05-04 Thread Gleb Smirnoff
On Fri, May 02, 2014 at 07:14:22AM +, Eitan Adler wrote: E Author: eadler E Date: Fri May 2 07:14:22 2014 E New Revision: 265215 E URL: http://svnweb.freebsd.org/changeset/base/265215 E E Log: E lindev(4): finish the partial commit in r265212 E E lindev(4) was only used to provide

svn commit: r265393 - head/sys/netinet

2014-05-05 Thread Gleb Smirnoff
Author: glebius Date: Mon May 5 21:33:20 2014 New Revision: 265393 URL: http://svnweb.freebsd.org/changeset/base/265393 Log: The tcp_log_addrs() uses th pointer, which points into the mbuf, thus we can not free the mbuf before tcp_log_addrs(). Sponsored by: Nginx, Inc. Sponsored by:

svn commit: r265408 - in head: sys/netinet usr.bin/netstat

2014-05-05 Thread Gleb Smirnoff
Author: glebius Date: Tue May 6 00:00:07 2014 New Revision: 265408 URL: http://svnweb.freebsd.org/changeset/base/265408 Log: - Remove net.inet.tcp.reass.overflows sysctl. It counts exactly same events that tcpstat's tcps_rcvmemdrop counter counts. - Rename tcps_rcvmemdrop to

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

2014-05-08 Thread Gleb Smirnoff
On Thu, May 08, 2014 at 05:27:46PM +, Michael Tuexen wrote: M Author: tuexen M Date: Thu May 8 17:27:46 2014 M New Revision: 265691 M URL: http://svnweb.freebsd.org/changeset/base/265691 M M Log: M For some UDP packets (for example with 200 byte payload) and IP options, M the IP header

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

2014-05-08 Thread Gleb Smirnoff
On Thu, May 08, 2014 at 10:50:28PM +0200, Michael Tuexen wrote: M If this should not happen really means that we do not expect this issue M at all, assuming we are coding correctly, then all these comments and printfs M should be converted to KASSERTs. M I tried to keep the style of the

Re: svn commit: r265408 - in head: sys/netinet usr.bin/netstat

2014-05-16 Thread Gleb Smirnoff
On Wed, May 14, 2014 at 01:16:41PM -0700, Don Lewis wrote: D On 6 May, Gleb Smirnoff wrote: D Author: glebius D Date: Tue May 6 00:00:07 2014 D New Revision: 265408 D URL: http://svnweb.freebsd.org/changeset/base/265408 D D Log: D- Remove net.inet.tcp.reass.overflows sysctl. It counts

svn commit: r266307 - head/sys/netpfil/pf

2014-05-17 Thread Gleb Smirnoff
Author: glebius Date: Sat May 17 12:30:27 2014 New Revision: 266307 URL: http://svnweb.freebsd.org/changeset/base/266307 Log: o In pf_normalize_ip() we don't need mtag in !(PFRULE_FRAGCROP|PFRULE_FRAGDROP) case. o In the (PFRULE_FRAGCROP|PFRULE_FRAGDROP) case we should allocate mtag

svn commit: r266308 - head/sys/netinet

2014-05-17 Thread Gleb Smirnoff
Author: glebius Date: Sat May 17 12:33:27 2014 New Revision: 266308 URL: http://svnweb.freebsd.org/changeset/base/266308 Log: Provide compatibility #define after r265408. Suggested by: truckman Modified: head/sys/netinet/tcp_var.h Modified: head/sys/netinet/tcp_var.h

Re: svn commit: r266423 - in head/sys: conf dev/i40e modules/i40e

2014-05-20 Thread Gleb Smirnoff
On Tue, May 20, 2014 at 11:40:01PM +1000, Bruce Evans wrote: B Also, verbose names break formatting. E.g., netstat -r has 5 columns B available under Netif for the driver name and device number. netstat B -i has about the same under Name (possibly 1 or 2 not directly under B Name, but reserved

Re: svn commit: r266544 - head/sys/dev/iwn

2014-05-22 Thread Gleb Smirnoff
On Thu, May 22, 2014 at 02:56:34PM +, Edward Tomasz Napierala wrote: E Author: trasz E Date: Thu May 22 14:56:34 2014 E New Revision: 266544 E URL: http://svnweb.freebsd.org/changeset/base/266544 E E Log: E Make iwn(4) able to get itself back into working condition after E fatal firmware

Re: svn commit: r266544 - head/sys/dev/iwn

2014-05-22 Thread Gleb Smirnoff
On Fri, May 23, 2014 at 08:06:58AM +0400, Gleb Smirnoff wrote: T On Thu, May 22, 2014 at 02:56:34PM +, Edward Tomasz Napierala wrote: T E Author: trasz T E Date: Thu May 22 14:56:34 2014 T E New Revision: 266544 T E URL: http://svnweb.freebsd.org/changeset/base/266544 T E T E Log: T E Make

Re: svn commit: r266798 - head/usr.sbin/usbdump

2014-05-28 Thread Gleb Smirnoff
On Wed, May 28, 2014 at 12:27:42PM +, Hans Petter Selasky wrote: H Author: hselasky H Date: Wed May 28 12:27:41 2014 H New Revision: 266798 H URL: http://svnweb.freebsd.org/changeset/base/266798 H H Log: H Fix for big endian architectures. The up_address field is 8-bit and H does not need

svn commit: r266806 - head/sys/netgraph

2014-05-28 Thread Gleb Smirnoff
Author: glebius Date: Wed May 28 13:15:14 2014 New Revision: 266806 URL: http://svnweb.freebsd.org/changeset/base/266806 Log: Use M_WAITOK for the NGM_PIPE_SET_CFG control message. We expect it to arrive from userland only. Submitted by: Dmitry Luhtionov dmitryluhtionov gmail.com

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

2014-05-28 Thread Gleb Smirnoff
On Wed, May 28, 2014 at 10:12:32PM +0800, Julian Elischer wrote: J On 5/28/14, 9:15 PM, Gleb Smirnoff wrote: J Author: glebius J Date: Wed May 28 13:15:14 2014 J New Revision: 266806 J URL: http://svnweb.freebsd.org/changeset/base/266806 J J Log: J Use M_WAITOK for the NGM_PIPE_SET_CFG

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

2014-05-28 Thread Gleb Smirnoff
On Wed, May 28, 2014 at 11:41:23PM +0800, Julian Elischer wrote: J On 5/28/14, 10:56 PM, Gleb Smirnoff wrote: J On Wed, May 28, 2014 at 10:12:32PM +0800, Julian Elischer wrote: J J On 5/28/14, 9:15 PM, Gleb Smirnoff wrote: J J Author: glebius J J Date: Wed May 28 13:15:14 2014 J J New

Re: svn commit: r266822 - head/sys/netipsec

2014-05-28 Thread Gleb Smirnoff
On Wed, May 28, 2014 at 11:01:20PM +, Bjoern A. Zeeb wrote: B Author: bz B Date: Wed May 28 23:01:20 2014 B New Revision: 266822 B URL: http://svnweb.freebsd.org/changeset/base/266822 B B Log: B Use IPv4 statistics in ipsec4_process_packet() rather than the IPv6 B version. This also

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

2014-05-30 Thread Gleb Smirnoff
On Thu, May 29, 2014 at 09:03:50PM +, Alan Somers wrote: A Author: asomers A Date: Thu May 29 21:03:49 2014 A New Revision: 266860 A URL: http://svnweb.freebsd.org/changeset/base/266860 A A Log: A Fix unintended KBI change from r264905. Add _fib versions of A ifa_ifwithnet() and

svn commit: r266876 - head/sys/kern

2014-05-30 Thread Gleb Smirnoff
Author: glebius Date: Fri May 30 08:22:58 2014 New Revision: 266876 URL: http://svnweb.freebsd.org/changeset/base/266876 Log: Whitespace only. Modified: head/sys/kern/uipc_mbuf.c Modified: head/sys/kern/uipc_mbuf.c

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

2014-06-02 Thread Gleb Smirnoff
On Fri, May 30, 2014 at 08:55:33AM -0600, Alan Somers wrote: A On Fri, May 30, 2014 at 2:11 AM, Gleb Smirnoff gleb...@freebsd.org wrote: A On Thu, May 29, 2014 at 09:03:50PM +, Alan Somers wrote: A A Author: asomers A A Date: Thu May 29 21:03:49 2014 A A New Revision: 266860 A A URL: http

Re: svn commit: r266974 - in head/sys: dev/dc dev/fxp dev/mii dev/netmap kern net

2014-06-03 Thread Gleb Smirnoff
On Mon, Jun 02, 2014 at 12:27:47PM -0700, Adrian Chadd wrote: A .. and actually, bikeshedding for a moment, would we be able to move a A lot of these accessor methods over to inlines? Would that break the A Juniper way of doing things? A A That would definitely break Juniper as it doesn't

Re: svn commit: r266974 - in head/sys: dev/dc dev/fxp dev/mii dev/netmap kern net

2014-06-03 Thread Gleb Smirnoff
On Tue, Jun 03, 2014 at 12:59:41PM +0400, Gleb Smirnoff wrote: T On Mon, Jun 02, 2014 at 12:27:47PM -0700, Adrian Chadd wrote: T A .. and actually, bikeshedding for a moment, would we be able to move a T A lot of these accessor methods over to inlines? Would that break the T A Juniper way

Re: svn commit: r266974 - in head/sys: dev/dc dev/fxp dev/mii dev/netmap kern net

2014-06-03 Thread Gleb Smirnoff
On Tue, Jun 03, 2014 at 06:05:50PM +0100, David Chisnall wrote: D On 3 Jun 2014, at 06:01, Adrian Chadd adr...@freebsd.org wrote: D D I wonder if in the short term we should just use inlines for now, at D least so the methodization can get done without hurting people on D ARM/MIPS. D D It's

Re: svn commit: r266974 - in head/sys: dev/dc dev/fxp dev/mii dev/netmap kern net

2014-06-03 Thread Gleb Smirnoff
On Tue, Jun 03, 2014 at 12:46:56PM -0400, George Neville-Neil wrote: G Woo! G G Would you mind doing up a 30 second what convert X to Y document so G I can do the driveby on the wireless stack and drivers? G G I'm having difficulty parsing the question, but I think you're asking G for a

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

2014-06-16 Thread Gleb Smirnoff
On Thu, Jun 12, 2014 at 11:04:57AM +0400, Andrey V. Elsukov wrote: A On 11.06.2014 17:48, Dmitry Morozovsky wrote: A On Wed, 11 Jun 2014, Andrey V. Elsukov wrote: A A Author: ae A Date: Wed Jun 11 10:19:11 2014 A New Revision: 267357 A URL: http://svnweb.freebsd.org/changeset/base/267357 A

svn commit: r253267 - head/share/man/man9

2013-07-12 Thread Gleb Smirnoff
Author: glebius Date: Fri Jul 12 14:25:58 2013 New Revision: 253267 URL: http://svnweb.freebsd.org/changeset/base/253267 Log: Add manual page for vmem(9). Obtained from NetBSD, modified to match our implementation. Obtained from:NetBSD Added: head/share/man/man9/vmem.9

svn commit: r253268 - head/share/man/man9

2013-07-12 Thread Gleb Smirnoff
Author: glebius Date: Fri Jul 12 14:46:40 2013 New Revision: 253268 URL: http://svnweb.freebsd.org/changeset/base/253268 Log: Remove non existent in FreeBSD reference. Modified: head/share/man/man9/vmem.9 Modified: head/share/man/man9/vmem.9

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

2013-07-15 Thread Gleb Smirnoff
On Sat, Jul 13, 2013 at 04:25:03AM +, Adrian Chadd wrote: A Author: adrian A Date: Sat Jul 13 04:25:03 2013 A New Revision: 253314 A URL: http://svnweb.freebsd.org/changeset/base/253314 A A Log: A Bring over some link aggregation / LACP protocol improvements and debugging A additions. A

svn commit: r253360 - head/usr.bin/systat

2013-07-15 Thread Gleb Smirnoff
Author: glebius Date: Mon Jul 15 12:15:14 2013 New Revision: 253360 URL: http://svnweb.freebsd.org/changeset/base/253360 Log: Nuke systat -mbuf. It was broken since FreeBSD 5, and since there haven't been any complaints, no one used it. Deleted: head/usr.bin/systat/mbufs.c Modified:

svn commit: r253361 - in head/sys: i386/i386 kern sys

2013-07-15 Thread Gleb Smirnoff
Author: glebius Date: Mon Jul 15 12:18:36 2013 New Revision: 253361 URL: http://svnweb.freebsd.org/changeset/base/253361 Log: Nuke mbstat. It wasn't used for mbuf statistics since FreeBSD 5. Now that r253351 moved sendfile() stats to a separate struct, the last field used in mbstat is

svn commit: r253391 - head/usr.bin/netstat

2013-07-16 Thread Gleb Smirnoff
Author: glebius Date: Tue Jul 16 12:22:36 2013 New Revision: 253391 URL: http://svnweb.freebsd.org/changeset/base/253391 Log: Sweep unused nlist entries. Sponsored by: Nginx, Inc. Modified: head/usr.bin/netstat/main.c Modified: head/usr.bin/netstat/main.c

svn commit: r253420 - head/share/examples/kld/syscall/test

2013-07-17 Thread Gleb Smirnoff
Author: glebius Date: Wed Jul 17 12:28:48 2013 New Revision: 253420 URL: http://svnweb.freebsd.org/changeset/base/253420 Log: Improve example, so that it doesn't dump core when example module isn't loaded. Modified: head/share/examples/kld/syscall/test/call.c Modified:

svn commit: r253546 - head/share/mk

2013-07-22 Thread Gleb Smirnoff
Author: glebius Date: Mon Jul 22 14:23:46 2013 New Revision: 253546 URL: http://svnweb.freebsd.org/changeset/base/253546 Log: Fix build. Modified: head/share/mk/bsd.own.mk Modified: head/share/mk/bsd.own.mk == ---

svn commit: r253564 - head/sys/netgraph

2013-07-23 Thread Gleb Smirnoff
Author: glebius Date: Tue Jul 23 10:25:34 2013 New Revision: 253564 URL: http://svnweb.freebsd.org/changeset/base/253564 Log: Add constant for PPP-Max-PayLoad tag. Submitted by: Dmitry Luhtionov dmitryluhtionov gmail.com Modified: head/sys/netgraph/ng_pppoe.c

svn commit: r253565 - in head/sys: kern vm

2013-07-23 Thread Gleb Smirnoff
Author: glebius Date: Tue Jul 23 11:16:40 2013 New Revision: 253565 URL: http://svnweb.freebsd.org/changeset/base/253565 Log: Revert r249590 and in case if mp_ncpus isn't initialized use MAXCPU. This allows us to init counter zone at early stage of boot. Reviewed by: kib Tested by:

svn commit: r253591 - head/sys/vm

2013-07-24 Thread Gleb Smirnoff
Author: glebius Date: Wed Jul 24 06:13:00 2013 New Revision: 253591 URL: http://svnweb.freebsd.org/changeset/base/253591 Log: Since r251709 a slab no longer use 8-bit indicies to manage items, thus remove a stale comment. Reviewed by: jeff Modified: head/sys/vm/uma_int.h Modified:

svn commit: r253596 - head/sys/kern

2013-07-24 Thread Gleb Smirnoff
Author: glebius Date: Wed Jul 24 08:02:56 2013 New Revision: 253596 URL: http://svnweb.freebsd.org/changeset/base/253596 Log: Remove unused argument from vmem_add1(). Reviewed by: jeff Modified: head/sys/kern/subr_vmem.c Modified: head/sys/kern/subr_vmem.c

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

2013-08-01 Thread Gleb Smirnoff
On Wed, Jul 31, 2013 at 04:24:50PM +, Hiroki Sato wrote: H Author: hrs H Date: Wed Jul 31 16:24:49 2013 H New Revision: 253841 H URL: http://svnweb.freebsd.org/changeset/base/253841 H H Log: H Allocate in6_ifextra (ifp-if_afdata[AF_INET6]) only for IPv6-capable H interfaces. This

svn commit: r253885 - head/sys/kern

2013-08-02 Thread Gleb Smirnoff
Author: glebius Date: Fri Aug 2 13:06:49 2013 New Revision: 253885 URL: http://svnweb.freebsd.org/changeset/base/253885 Log: Remove extra zeroing after M_ZERO allocation. Modified: head/sys/kern/vfs_aio.c Modified: head/sys/kern/vfs_aio.c

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

2013-08-07 Thread Gleb Smirnoff
On Wed, Aug 07, 2013 at 11:31:51AM +0100, Bruce Simpson wrote: B On 01/08/13 17:55, Rui Paulo wrote: B On 1 Aug 2013, at 09:27, Alexander V. Chernikov melif...@freebsd.org wrote: B Because thay aren't really interfaces. All they need is BPF. B There is a cleaner approach described here:

Re: svn commit: r254082 - head/sys/net80211

2013-08-08 Thread Gleb Smirnoff
On Thu, Aug 08, 2013 at 05:09:36AM +, Adrian Chadd wrote: A Author: adrian A Date: Thu Aug 8 05:09:35 2013 A New Revision: 254082 A URL: http://svnweb.freebsd.org/changeset/base/254082 A A Log: A Convert net80211 over to using if_transmit for the dispatch from the A upper layer(s). A

svn commit: r254282 - head/sys/kern

2013-08-13 Thread Gleb Smirnoff
Author: glebius Date: Tue Aug 13 13:40:31 2013 New Revision: 254282 URL: http://svnweb.freebsd.org/changeset/base/254282 Log: - Minor style(9) fix. - Bring a comment up to date. Modified: head/sys/kern/uipc_syscalls.c Modified: head/sys/kern/uipc_syscalls.c

svn commit: r254356 - in head/sys: compat/freebsd32 kern ofed/include/linux opencrypto sys

2013-08-15 Thread Gleb Smirnoff
Author: glebius Date: Thu Aug 15 07:54:31 2013 New Revision: 254356 URL: http://svnweb.freebsd.org/changeset/base/254356 Log: Make sendfile() a method in the struct fileops. Currently only vnode backed file descriptors have this method implemented. Reviewed by: kib Sponsored by:

Re: svn commit: r254358 - head/sys/sys

2013-08-15 Thread Gleb Smirnoff
On Thu, Aug 15, 2013 at 08:21:00AM +, Jeremie Le Hen wrote: J Author: jlh J Date: Thu Aug 15 08:21:00 2013 J New Revision: 254358 J URL: http://svnweb.freebsd.org/changeset/base/254358 J J Log: J Belatedly bump __FreeBSD_version for libc being an ld script. J This should have been done in

Re: svn commit: r254358 - head/sys/sys

2013-08-15 Thread Gleb Smirnoff
On Thu, Aug 15, 2013 at 10:54:04AM +0200, Jeremie Le Hen wrote: J On Thu, Aug 15, 2013 at 12:25:05PM +0400, Gleb Smirnoff wrote: J On Thu, Aug 15, 2013 at 08:21:00AM +, Jeremie Le Hen wrote: J J Author: jlh J J Date: Thu Aug 15 08:21:00 2013 J J New Revision: 254358 J J URL: http

Re: svn commit: r254527 - in head/sys: net80211 netinet sys

2013-08-26 Thread Gleb Smirnoff
A Author: andre A Date: Mon Aug 19 14:25:11 2013 A New Revision: 254527 A URL: http://svnweb.freebsd.org/changeset/base/254527 A A Log: A Reorder the mbuf defines to make more sense and group related flags A together. A A Add M_FLAG_PRINTF for use with printf(9) %b indentifier. A A

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

2013-08-26 Thread Gleb Smirnoff
On Sat, Aug 24, 2013 at 12:24:59PM +, Andre Oppermann wrote: A Author: andre A Date: Sat Aug 24 12:24:58 2013 A New Revision: 254779 A URL: http://svnweb.freebsd.org/changeset/base/254779 A A Log: A Avoid code duplication for mbuf initialization and use m_init() instead A in

svn commit: r254911 - head/sys/vm

2013-08-26 Thread Gleb Smirnoff
Author: glebius Date: Mon Aug 26 14:14:25 2013 New Revision: 254911 URL: http://svnweb.freebsd.org/changeset/base/254911 Log: Remove comment that is no longer relevant since r254182. Modified: head/sys/vm/vm_page.c Modified: head/sys/vm/vm_page.c

svn commit: r255143 - head/sys/netpfil/pf

2013-09-02 Thread Gleb Smirnoff
Author: glebius Date: Mon Sep 2 10:14:25 2013 New Revision: 255143 URL: http://svnweb.freebsd.org/changeset/base/255143 Log: Merge 1.12 of pf_lb.c from OpenBSD, with some changes. Original commit: date: 2010/02/04 14:10:12; author: sthen; state: Exp; lines: +24 -19;

svn commit: r255202 - head/sys/netgraph/netflow

2013-09-04 Thread Gleb Smirnoff
Author: glebius Date: Wed Sep 4 10:17:50 2013 New Revision: 255202 URL: http://svnweb.freebsd.org/changeset/base/255202 Log: Make default cache size more modern. Requested by: Slawa Olhovchenkov slw zxy.spb.ru Modified: head/sys/netgraph/netflow/ng_netflow.h Modified:

svn commit: r255239 - head/sys/kern

2013-09-05 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 5 10:24:09 2013 New Revision: 255239 URL: http://svnweb.freebsd.org/changeset/base/255239 Log: Fix !CAPABILITIES build. Modified: head/sys/kern/uipc_mqueue.c Modified: head/sys/kern/uipc_mqueue.c

svn commit: r255246 - head/sys/sys

2013-09-05 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 5 13:46:30 2013 New Revision: 255246 URL: http://svnweb.freebsd.org/changeset/base/255246 Log: Fix build. counter.h requires systm.h Modified: head/sys/sys/sf_buf.h Modified: head/sys/sys/sf_buf.h

svn commit: r255247 - head/sys/conf

2013-09-05 Thread Gleb Smirnoff
Author: glebius Date: Thu Sep 5 13:53:25 2013 New Revision: 255247 URL: http://svnweb.freebsd.org/changeset/base/255247 Log: Fix build. Modified: head/sys/conf/files.powerpc Modified: head/sys/conf/files.powerpc ==

Re: svn commit: r255246 - head/sys/sys

2013-09-05 Thread Gleb Smirnoff
On Thu, Sep 05, 2013 at 05:03:19PM +0300, Konstantin Belousov wrote: K On Thu, Sep 05, 2013 at 01:46:30PM +, Gleb Smirnoff wrote: K Author: glebius K Date: Thu Sep 5 13:46:30 2013 K New Revision: 255246 K URL: http://svnweb.freebsd.org/changeset/base/255246 K K Log: KFix build. K

svn commit: r255290 - head/sys/conf

2013-09-05 Thread Gleb Smirnoff
Author: glebius Date: Fri Sep 6 05:38:20 2013 New Revision: 255290 URL: http://svnweb.freebsd.org/changeset/base/255290 Log: Fix build. Modified: head/sys/conf/files.mips Modified: head/sys/conf/files.mips == ---

svn commit: r255289 - in head/sys: amd64/amd64 amd64/include ia64/ia64 ia64/include mips/include mips/mips

2013-09-05 Thread Gleb Smirnoff
Author: glebius Date: Fri Sep 6 05:37:49 2013 New Revision: 255289 URL: http://svnweb.freebsd.org/changeset/base/255289 Log: On those machines, where sf_bufs do not represent any real object, make sf_buf_alloc()/sf_buf_free() inlines, to save two calls to an absolutely empty functions.

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

2013-09-06 Thread Gleb Smirnoff
On Fri, Sep 06, 2013 at 05:32:29PM +, Jamie Gritton wrote: J Author: jamie J Date: Fri Sep 6 17:32:29 2013 J New Revision: 255316 J URL: http://svnweb.freebsd.org/changeset/base/255316 J J Log: J Keep PRIV_KMEM_READ permitted inside jails as it is on the outside. J J Modified: J

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

2013-09-07 Thread Gleb Smirnoff
Jamie, On Fri, Sep 06, 2013 at 12:59:06PM -0600, Jamie Gritton wrote: J J + J J + /* J J +* As in the non-jail case, non-root users are expected to be J J +* able to read kernel/phyiscal memory (provided /dev/[k]mem J J +*

Re: svn commit: r255323 - in head/sys: amd64/conf i386/conf

2013-09-07 Thread Gleb Smirnoff
On Fri, Sep 06, 2013 at 03:46:11PM -0500, Bryan Venteicher wrote: B On Fri, Sep 6, 2013 at 3:24 PM, Bryan Venteicher bry...@freebsd.org wrote: B B Author: bryanv B Date: Fri Sep 6 20:24:21 2013 B New Revision: 255323 B URL: http://svnweb.freebsd.org/changeset/base/255323 B B Log: BAdd

svn commit: r255352 - head/sys/arm/include

2013-09-07 Thread Gleb Smirnoff
Author: glebius Date: Sat Sep 7 07:56:55 2013 New Revision: 255352 URL: http://svnweb.freebsd.org/changeset/base/255352 Log: Fix of r255318: move sf_buf_alloc()/sf_buf_free() out of #ifdef ARM_USE_SMALL_ALLOC. Modified: head/sys/arm/include/sf_buf.h Modified:

svn commit: r255354 - head/tools/build/mk

2013-09-07 Thread Gleb Smirnoff
Author: glebius Date: Sat Sep 7 09:45:43 2013 New Revision: 255354 URL: http://svnweb.freebsd.org/changeset/base/255354 Log: Add more leftovers from gcc. Modified: head/tools/build/mk/OptionalObsoleteFiles.inc Modified: head/tools/build/mk/OptionalObsoleteFiles.inc

svn commit: r255355 - head/sys/contrib/ipfilter/netinet

2013-09-07 Thread Gleb Smirnoff
Author: glebius Date: Sat Sep 7 09:47:18 2013 New Revision: 255355 URL: http://svnweb.freebsd.org/changeset/base/255355 Log: Fix !INET6 build. Modified: head/sys/contrib/ipfilter/netinet/fil.c Modified: head/sys/contrib/ipfilter/netinet/fil.c

Re: svn commit: r255323 - in head/sys: amd64/conf i386/conf

2013-09-08 Thread Gleb Smirnoff
On Sun, Sep 08, 2013 at 01:29:57AM +0400, Slawa Olhovchenkov wrote: S I think now -HEAD can't be more risky by one or two patches. Yes, it can. Do you run HEAD actually on regular basis when you make such an assertion? -- Totus tuus, Glebius. ___

Re: svn commit: r255323 - in head/sys: amd64/conf i386/conf

2013-09-08 Thread Gleb Smirnoff
On Sun, Sep 08, 2013 at 01:47:28AM +0400, Slawa Olhovchenkov wrote: S As we can see by activity in list planed: ipf 5.1, native iSCSI, S switch off GCC (with broken by clang kernel part), patch ld.so and many others. S Changed in loader and take out modules from kernel at this time is little-o.

Re: svn commit: r255323 - in head/sys: amd64/conf i386/conf

2013-09-08 Thread Gleb Smirnoff
On Sun, Sep 08, 2013 at 12:00:33PM +0400, Slawa Olhovchenkov wrote: S On Sun, Sep 08, 2013 at 11:22:08AM +0400, Gleb Smirnoff wrote: S S On Sun, Sep 08, 2013 at 01:47:28AM +0400, Slawa Olhovchenkov wrote: S S As we can see by activity in list planed: ipf 5.1, native iSCSI, S S switch off GCC

svn commit: r255449 - head/sys/sys

2013-09-10 Thread Gleb Smirnoff
Author: glebius Date: Tue Sep 10 10:38:15 2013 New Revision: 255449 URL: http://svnweb.freebsd.org/changeset/base/255449 Log: Make a bump for r255426. Approved by: re (gjb) Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

Re: svn commit: r255426 - in head: lib/libc/sys sys/compat/freebsd32 sys/compat/linux sys/compat/svr4 sys/dev/drm2/i915 sys/i386/ibcs2 sys/i386/linux sys/ia64/ia32 sys/kern sys/sparc64/sparc64 sys/sys

2013-09-10 Thread Gleb Smirnoff
On Tue, Sep 10, 2013 at 12:33:44PM +0300, Ivan Klymenko wrote: I В Tue, 10 Sep 2013 09:23:23 + I Alexey Dokuchaev da...@freebsd.org пишет: I I This commit breaks NVidia driver port I and emulators/virtualbox-ose-kmod* too I've bumped to 155 in r255449. Please fix the precious ports :)

svn commit: r255471 - in head/sys: dev/iicbus dev/lmc dev/ppbus dev/usb/net net

2013-09-11 Thread Gleb Smirnoff
Author: glebius Date: Wed Sep 11 09:19:44 2013 New Revision: 255471 URL: http://svnweb.freebsd.org/changeset/base/255471 Log: Clean up SIOCSIFDSTADDR usage from ifnet drivers. The ioctl itself is extremely outdated, and I doubt that it was ever used for ifnet drivers. It was used for

svn commit: r255478 - head/sys/kern

2013-09-11 Thread Gleb Smirnoff
Author: glebius Date: Wed Sep 11 18:22:30 2013 New Revision: 255478 URL: http://svnweb.freebsd.org/changeset/base/255478 Log: Provide pr_ctloutput method for AF_LOCAL/SOCK_SEQPACKET sockets. This makes setsockopt() on them working. Reported by: Yuri yuri rawbw.com Approved by: re

svn commit: r255625 - head/sys/kern

2013-09-17 Thread Gleb Smirnoff
Author: glebius Date: Tue Sep 17 06:37:21 2013 New Revision: 255625 URL: http://svnweb.freebsd.org/changeset/base/255625 Log: Fix assertion in sendfile_readpage() to assert only the validity of requested amount of data in a page. Move assertion down below object unlock. Approved by:

<    1   2   3   4   5   6   7   8   9   10   >