svn commit: r244683 - head/sys/netinet

2012-12-25 Thread Gleb Smirnoff
Author: glebius Date: Tue Dec 25 14:29:38 2012 New Revision: 244683 URL: http://svnweb.freebsd.org/changeset/base/244683 Log: Garbage collect carp_cksum(). Modified: head/sys/netinet/ip_carp.c Modified: head/sys/netinet/ip_carp.c

svn commit: r244704 - in head: share/man/man4 sys/netgraph/bluetooth/drivers/ubt

2012-12-26 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 26 15:10:20 2012 New Revision: 244704 URL: http://svnweb.freebsd.org/changeset/base/244704 Log: Add vendor IDs for Broadcom USB dongles (BCM20702). PR: kern/174707 Submitted by: rakuco Modified: head/share/man/man4/ng_ubt.4

Re: svn commit: r244704 - in head: share/man/man4 sys/netgraph/bluetooth/drivers/ubt

2012-12-26 Thread Gleb Smirnoff
On Wed, Dec 26, 2012 at 08:18:39PM +0200, Raphael Kubo da Costa wrote: R Hans Petter Selasky hsela...@c2i.net writes: R R On Wednesday 26 December 2012 16:10:20 Gleb Smirnoff wrote: R Author: glebius R Date: Wed Dec 26 15:10:20 2012 R New Revision: 244704 R URL: http://svnweb.freebsd.org

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

2012-12-27 Thread Gleb Smirnoff
Attilio, On Thu, Dec 27, 2012 at 12:36:58PM +, Attilio Rao wrote: A Author: attilio A Date: Thu Dec 27 12:36:58 2012 A New Revision: 244732 A URL: http://svnweb.freebsd.org/changeset/base/244732 A A Log: A br_prod_tail and br_cons_tail members are used as barrier to A signal bug_ring

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

2012-12-27 Thread Gleb Smirnoff
On Thu, Dec 27, 2012 at 04:55:22AM -0800, Attilio Rao wrote: A On Thu, Dec 27, 2012 at 4:46 AM, Gleb Smirnoff gleb...@freebsd.org wrote: AAttilio, A A On Thu, Dec 27, 2012 at 12:36:58PM +, Attilio Rao wrote: A A Author: attilio A A Date: Thu Dec 27 12:36:58 2012 A A New Revision

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

2012-12-28 Thread Gleb Smirnoff
On Thu, Dec 27, 2012 at 08:37:24AM -0800, Attilio Rao wrote: A Speaking of which, as you are here, I just found out that r241037 A breaks the alignment of the structure. A Infact the padding member is not updated accordingly. A A We don't have a param to control L2 caches, but I think that we

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

2012-12-28 Thread Gleb Smirnoff
(r244769) @@ -1,7 +1,6 @@ -/* $OpenBSD: if_pfsync.c,v 1.110 2009/02/24 05:39:19 dlg Exp $ */ - -/* +/*- * Copyright (c) 2002 Michael Shalayeff + * Copyright (c) 2012 Gleb Smirnoff gleb...@freebsd.org * All rights reserved. * * Redistribution and use in source and binary forms

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

2012-12-28 Thread Gleb Smirnoff
On Fri, Dec 28, 2012 at 01:53:35PM +0100, Attilio Rao wrote: A Did you also rewview the second patch I sent? I did. I just don't have anything to comment on it. I guess it is correct, and you should go forward with it. However, benchmarking of overall changes to the buf_ring is important. --

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

2013-01-06 Thread Gleb Smirnoff
On Sun, Jan 06, 2013 at 02:59:59PM +, Peter Wemm wrote: P Author: peter P Date: Sun Jan 6 14:59:59 2013 P New Revision: 245102 P URL: http://svnweb.freebsd.org/changeset/base/245102 P P Log: P Juggle some internal symbols from our antique zlib (that originally came P in from kernel-pppd

svn commit: r245134 - head/sys/net

2013-01-07 Thread Gleb Smirnoff
Author: glebius Date: Mon Jan 7 19:36:11 2013 New Revision: 245134 URL: http://svnweb.freebsd.org/changeset/base/245134 Log: - Add dashes before copyright notices. - Add $FreeBSD$. - Remove unused define. Modified: head/sys/net/if_pfsync.h Modified: head/sys/net/if_pfsync.h

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

2013-01-09 Thread Gleb Smirnoff
On Wed, Jan 09, 2013 at 09:09:09AM +, Hans Petter Selasky wrote: H Author: hselasky H Date: Wed Jan 9 09:09:09 2013 H New Revision: 245222 H URL: http://svnweb.freebsd.org/changeset/base/245222 H H Log: H Fix compile warning when using GCC: H Comparison between signed and unsigned. H

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

2013-01-15 Thread Gleb Smirnoff
On Thu, Jan 10, 2013 at 09:31:28AM +1100, Bruce Evans wrote: B On Wed, Jan 09, 2013 at 09:09:09AM +, Hans Petter Selasky wrote: B H Log: B H Fix compile warning when using GCC: B H Comparison between signed and unsigned. B B o Add 3 style bugs: B 2 sets of excessive

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

2013-01-15 Thread Gleb Smirnoff
Bruce, On Tue, Jan 15, 2013 at 11:13:36PM +1100, Bruce Evans wrote: B can you please look at attached patch, that fixes problems you B describe? It B B - fixes mentioned style bugs in param.h B - adds int casts to MHLEN and MLEN B - removes extra casts from (void *) to (struct mbuf *) B

Re: svn commit: r245525 - head/etc/rc.d

2013-01-17 Thread Gleb Smirnoff
On Thu, Jan 17, 2013 at 11:07:23AM +0900, Hiroki Sato wrote: H bz Author: bz H bz Date: Thu Jan 17 01:27:39 2013 H bz New Revision: 245525 H bz URL: http://svnweb.freebsd.org/changeset/base/245525 H bz H bz Log: H bz Add a conditional sleep 1 in case we add any IPv6 addresses to interfaces. H

svn commit: r245741 - head/sys/net

2013-01-21 Thread Gleb Smirnoff
Author: glebius Date: Mon Jan 21 08:59:31 2013 New Revision: 245741 URL: http://svnweb.freebsd.org/changeset/base/245741 Log: If lagg(4) can't forward a packet due to underlying port problems, return much more meaningful ENETDOWN to the stack, instead of EBUSY. Modified:

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

2013-01-22 Thread Gleb Smirnoff
Author: glebius Date: Tue Jan 22 18:07:59 2013 New Revision: 245806 URL: http://svnweb.freebsd.org/changeset/base/245806 Log: Use pluralies() for entry/entries. Modified: head/usr.bin/netstat/inet.c Modified: head/usr.bin/netstat/inet.c

svn commit: r245841 - head/lib/libc/sys

2013-01-23 Thread Gleb Smirnoff
Author: glebius Date: Wed Jan 23 10:50:52 2013 New Revision: 245841 URL: http://svnweb.freebsd.org/changeset/base/245841 Log: posix_fadvise(2) first appeared in FreeBSD 9.1 Modified: head/lib/libc/sys/posix_fadvise.2 Modified: head/lib/libc/sys/posix_fadvise.2

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

2013-01-24 Thread Gleb Smirnoff
Author: glebius Date: Thu Jan 24 09:29:41 2013 New Revision: 245873 URL: http://svnweb.freebsd.org/changeset/base/245873 Log: - Move large functions m_getjcl() and m_get2() to kern/uipc_mbuf.c - style(9) fixes to mbuf.h Reviewed by: bde Modified: head/sys/kern/uipc_mbuf.c

svn commit: r245874 - head/sys/sys

2013-01-24 Thread Gleb Smirnoff
Author: glebius Date: Thu Jan 24 09:30:42 2013 New Revision: 245874 URL: http://svnweb.freebsd.org/changeset/base/245874 Log: style(9) Reviewed by: bde Modified: head/sys/sys/param.h Modified: head/sys/sys/param.h

svn commit: r245878 - head/sys/net

2013-01-24 Thread Gleb Smirnoff
Author: glebius Date: Thu Jan 24 14:29:31 2013 New Revision: 245878 URL: http://svnweb.freebsd.org/changeset/base/245878 Log: - Utilize m_get2(), accidentially fixing some signedness bugs. - Return EMSGSIZE in both cases if uio_resid is oversized or undersized. - No need to clear rcvif.

svn commit: r245905 - head/sys/sys

2013-01-25 Thread Gleb Smirnoff
Author: glebius Date: Fri Jan 25 11:52:56 2013 New Revision: 245905 URL: http://svnweb.freebsd.org/changeset/base/245905 Log: In mbuf(9) API length is always integer. Thus, cast mbuf length constants to be integers. Reviewed by: bde Modified: head/sys/sys/mbuf.h Modified:

svn commit: r246087 - head/sys/vm

2013-01-29 Thread Gleb Smirnoff
Author: glebius Date: Tue Jan 29 19:06:16 2013 New Revision: 246087 URL: http://svnweb.freebsd.org/changeset/base/246087 Log: Fix typo in debug printf. Modified: head/sys/vm/uma_core.c Modified: head/sys/vm/uma_core.c

svn commit: r246094 - head/lib/libstand

2013-01-29 Thread Gleb Smirnoff
Author: glebius Date: Tue Jan 29 21:37:56 2013 New Revision: 246094 URL: http://svnweb.freebsd.org/changeset/base/246094 Log: Remove unused file. Deleted: head/lib/libstand/if_ether.h ___ svn-src-head@freebsd.org mailing list

svn commit: r246095 - head/sys/net

2013-01-29 Thread Gleb Smirnoff
Author: glebius Date: Tue Jan 29 21:44:22 2013 New Revision: 246095 URL: http://svnweb.freebsd.org/changeset/base/246095 Log: route_output() always supplies info with RTAX_GATEWAY member that points to a sockaddr of AF_LINK family. Assert this instead of checking. Modified:

svn commit: r258122 - head/share/man/man4

2013-11-14 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 14 09:17:27 2013 New Revision: 258122 URL: http://svnweb.freebsd.org/changeset/base/258122 Log: Emphasize that pf(4) in FreeBSD doesn't match pf(4) in OpenBSD 4.5, but is derived from it, and got some important local changes. Wording by: cperciva

svn commit: r258128 - head/sys/kern

2013-11-14 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 14 09:45:33 2013 New Revision: 258128 URL: http://svnweb.freebsd.org/changeset/base/258128 Log: Fix a very bad typo from r248887. Submitted by: art Modified: head/sys/kern/uipc_mbuf.c Modified: head/sys/kern/uipc_mbuf.c

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

2013-11-14 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 14 14:20:35 2013 New Revision: 258133 URL: http://svnweb.freebsd.org/changeset/base/258133 Log: Some fixups to pf_get_sport after r257223: - Do not return blindly if proto isn't ICMP. - The dport is in network order, so fix comparisons. - Remove ridiculous

svn commit: r258260 - head/sys/netinet

2013-11-17 Thread Gleb Smirnoff
Author: glebius Date: Sun Nov 17 15:14:07 2013 New Revision: 258260 URL: http://svnweb.freebsd.org/changeset/base/258260 Log: In r257692 I intentionally deleted code that handled P2P interfaces with equal addresses on both sides. It appeared that OpenVPN uses such configutations.

Re: svn commit: r258336 - head/sys/vm

2013-11-19 Thread Gleb Smirnoff
Alexander, On Tue, Nov 19, 2013 at 10:05:53AM +, Alexander Motin wrote: A Author: mav A Date: Tue Nov 19 10:05:53 2013 A New Revision: 258336 A URL: http://svnweb.freebsd.org/changeset/base/258336 A A Log: A Implement soft pressure on UMA cache bucket sizes. A A Every time system

Re: svn commit: r258336 - head/sys/vm

2013-11-19 Thread Gleb Smirnoff
On Tue, Nov 19, 2013 at 04:11:09PM +0400, Gleb Smirnoff wrote: T Alexander, T T On Tue, Nov 19, 2013 at 10:05:53AM +, Alexander Motin wrote: T A Author: mav T A Date: Tue Nov 19 10:05:53 2013 T A New Revision: 258336 T A URL: http://svnweb.freebsd.org/changeset/base/258336 T A T A Log: T

svn commit: r258391 - head/sys/sys

2013-11-20 Thread Gleb Smirnoff
Author: glebius Date: Wed Nov 20 13:22:22 2013 New Revision: 258391 URL: http://svnweb.freebsd.org/changeset/base/258391 Log: Fix comment after r250551. Modified: head/sys/sys/bufobj.h Modified: head/sys/sys/bufobj.h

Re: svn commit: r258464 - head/sys/netpfil/ipfw

2013-11-22 Thread Gleb Smirnoff
Luigi, On Fri, Nov 22, 2013 at 04:59:17AM +, Luigi Rizzo wrote: L Author: luigi L Date: Fri Nov 22 04:59:17 2013 L New Revision: 258464 L URL: http://svnweb.freebsd.org/changeset/base/258464 L L Log: L more support for userspace compiling of this code: L emulate the uma_zone for

Re: svn commit: r258463 - head/sys/netpfil/ipfw

2013-11-22 Thread Gleb Smirnoff
Luigi, On Fri, Nov 22, 2013 at 04:57:51AM +, Luigi Rizzo wrote: L Author: luigi L Date: Fri Nov 22 04:57:50 2013 L New Revision: 258463 L URL: http://svnweb.freebsd.org/changeset/base/258463 L L Log: L make ipfw_check_packet() and ipfw_check_frame() public, L so they can be used in the

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

2013-11-22 Thread Gleb Smirnoff
Author: glebius Date: Fri Nov 22 18:57:27 2013 New Revision: 258477 URL: http://svnweb.freebsd.org/changeset/base/258477 Log: Fix off by ones when scanning source nodes hash. Sponsored by: Nginx, Inc. Modified: head/sys/netpfil/pf/pf_ioctl.c Modified: head/sys/netpfil/pf/pf_ioctl.c

svn commit: r258478 - head/sys/net

2013-11-22 Thread Gleb Smirnoff
Author: glebius Date: Fri Nov 22 19:02:22 2013 New Revision: 258478 URL: http://svnweb.freebsd.org/changeset/base/258478 Log: Add missing 'extern'. Modified: head/sys/net/pfvar.h Modified: head/sys/net/pfvar.h ==

svn commit: r258479 - in head/sys: net netpfil/pf

2013-11-22 Thread Gleb Smirnoff
Author: glebius Date: Fri Nov 22 19:16:34 2013 New Revision: 258479 URL: http://svnweb.freebsd.org/changeset/base/258479 Log: To support upcoming changes change internal API for source node handling: - Removed pf_remove_src_node(). - Introduce pf_unlink_src_node() and

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

2013-11-22 Thread Gleb Smirnoff
Author: glebius Date: Fri Nov 22 19:22:26 2013 New Revision: 258480 URL: http://svnweb.freebsd.org/changeset/base/258480 Log: The DIOCKILLSRCNODES operation was implemented with O(m*n) complexity, where m is number of source nodes and n is number of states. Thus, on heavy loaded router its

svn commit: r258484 - head/sbin/pfctl

2013-11-22 Thread Gleb Smirnoff
Author: glebius Date: Fri Nov 22 20:11:17 2013 New Revision: 258484 URL: http://svnweb.freebsd.org/changeset/base/258484 Log: Rewrite usage() so that its source code resembles what is printed. Modified: head/sbin/pfctl/pfctl.c Modified: head/sbin/pfctl/pfctl.c

svn commit: r258485 - head/sbin/pfctl

2013-11-22 Thread Gleb Smirnoff
Author: glebius Date: Fri Nov 22 20:13:32 2013 New Revision: 258485 URL: http://svnweb.freebsd.org/changeset/base/258485 Log: Remove __FreeBSD__ ifdefs. Modified: head/sbin/pfctl/pfctl.c Modified: head/sbin/pfctl/pfctl.c

svn commit: r258637 - head/sys/fs/nfsclient

2013-11-26 Thread Gleb Smirnoff
Author: glebius Date: Tue Nov 26 10:34:34 2013 New Revision: 258637 URL: http://svnweb.freebsd.org/changeset/base/258637 Log: Fix build. Modified: head/sys/fs/nfsclient/nfs_clkdtrace.c Modified: head/sys/fs/nfsclient/nfs_clkdtrace.c

Re: svn commit: r258668 - in head/usr.sbin: bhyve bhyveload

2013-11-26 Thread Gleb Smirnoff
On Wed, Nov 27, 2013 at 12:21:38AM +, Peter Grehan wrote: P Author: grehan P Date: Wed Nov 27 00:21:37 2013 P New Revision: 258668 P URL: http://svnweb.freebsd.org/changeset/base/258668 P P Log: P Allow bhyve and bhyveload to attach to tty devices. P P bhyveload: introduce the -c

svn commit: r258675 - head/sys/net

2013-11-26 Thread Gleb Smirnoff
Author: glebius Date: Wed Nov 27 07:21:25 2013 New Revision: 258675 URL: http://svnweb.freebsd.org/changeset/base/258675 Log: Fix build. Modified: head/sys/net/vnet.c Modified: head/sys/net/vnet.c == ---

svn commit: r258702 - in head: lib/libnetgraph share/man/man4

2013-11-27 Thread Gleb Smirnoff
Author: glebius Date: Thu Nov 28 06:45:30 2013 New Revision: 258702 URL: http://svnweb.freebsd.org/changeset/base/258702 Log: Fix some misinformation in netgraph manual pages. Submitted by: Dmitry Luhtionov dmitryluhtionov gmail.com Modified: head/lib/libnetgraph/netgraph.3

Re: svn commit: r258686 - head/sbin/fdisk

2013-11-27 Thread Gleb Smirnoff
Juli, On Wed, Nov 27, 2013 at 05:59:14PM +, Juli Mallett wrote: J Author: jmallett J Date: Wed Nov 27 17:59:13 2013 J New Revision: 258686 J URL: http://svnweb.freebsd.org/changeset/base/258686 J J Log: J Fix fdisk(8) to create 2TB partitions on disks larger than 2TB, rather than J

svn commit: r258812 - head/sys/kern

2013-12-01 Thread Gleb Smirnoff
Author: glebius Date: Sun Dec 1 20:03:00 2013 New Revision: 258812 URL: http://svnweb.freebsd.org/changeset/base/258812 Log: Remove unused variable. Modified: head/sys/kern/uipc_syscalls.c Modified: head/sys/kern/uipc_syscalls.c

Re: svn commit: r258850 - in head/lib: libcapsicum libcasper

2013-12-03 Thread Gleb Smirnoff
On Mon, Dec 02, 2013 at 09:34:30PM +0100, Pawel Jakub Dawidek wrote: P On Mon, Dec 02, 2013 at 05:07:22PM +, Pawel Jakub Dawidek wrote: P P Author: pjd P P Date: Mon Dec 2 17:07:22 2013 P P New Revision: 258850 P P URL: http://svnweb.freebsd.org/changeset/base/258850 P P P P Log: P P

Re: svn commit: r258908 - head/sbin/route

2013-12-03 Thread Gleb Smirnoff
On Wed, Dec 04, 2013 at 05:06:56AM +, Eitan Adler wrote: E Author: eadler E Date: Wed Dec 4 05:06:56 2013 E New Revision: 258908 E URL: http://svnweb.freebsd.org/changeset/base/258908 E E Log: E Avoid using a static buffer in atalk_ntoa. This will help allow users to call route(1) as a

svn commit: r259280 - head/sbin/growfs

2013-12-12 Thread Gleb Smirnoff
Author: glebius Date: Thu Dec 12 22:33:32 2013 New Revision: 259280 URL: http://svnweb.freebsd.org/changeset/base/259280 Log: Somehow stable/10 branch contains correct version, but head doesn't. Modified: head/sbin/growfs/growfs.8 Modified: head/sbin/growfs/growfs.8

Re: svn commit: r259280 - head/sbin/growfs

2013-12-13 Thread Gleb Smirnoff
On Fri, Dec 13, 2013 at 11:55:59AM +0400, Sergey Kandaurov wrote: S On 13 December 2013 02:33, Gleb Smirnoff gleb...@freebsd.org wrote: S Author: glebius S Date: Thu Dec 12 22:33:32 2013 S New Revision: 259280 S URL: http://svnweb.freebsd.org/changeset/base/259280 S S Log: SSomehow

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

2013-12-16 Thread Gleb Smirnoff
Adrian, On Mon, Dec 16, 2013 at 07:31:24PM +, Adrian Chadd wrote: A Modified: head/sys/kern/uipc_syscalls.c A == A --- head/sys/kern/uipc_syscalls.cMon Dec 16 18:53:09 2013 (r259474) A +++

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

2013-12-16 Thread Gleb Smirnoff
On Mon, Dec 16, 2013 at 04:54:15PM -0800, Adrian Chadd wrote: A Ok. I'll go find where I copy pastes thus from. The mbuf code perhaps? A A Should we do a big quick tidy up? Nope, the mbuf code is somewhat different, due to secondary zones. An item freed there isn't actually freed, that's why

svn commit: r259538 - head/sys/dev/netmap

2013-12-17 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 18 04:36:35 2013 New Revision: 259538 URL: http://svnweb.freebsd.org/changeset/base/259538 Log: Fix build. Modified: head/sys/dev/netmap/netmap.c Modified: head/sys/dev/netmap/netmap.c

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

2013-12-18 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 18 12:50:43 2013 New Revision: 259549 URL: http://svnweb.freebsd.org/changeset/base/259549 Log: - Rename tty_makedev() into tty_makedevf() and make it capable to fail and return error. - Use make_dev_p() in tty_makedevf() instead of make_dev_cred(). -

svn commit: r259550 - head/sys/dev/nmdm

2013-12-18 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 18 12:53:48 2013 New Revision: 259550 URL: http://svnweb.freebsd.org/changeset/base/259550 Log: Make nmdm(4) destroy devices when both sides of a pair are disconnected. This makes it possible to kldunload nmdm.ko when there are no users of it. Reviewed by:

Re: svn commit: r259562 - head/usr.bin/netstat

2013-12-19 Thread Gleb Smirnoff
On Wed, Dec 18, 2013 at 04:40:52PM -0500, John Baldwin wrote: J On Wednesday, December 18, 2013 3:07:58 pm Alexander V. Chernikov wrote: J On 18.12.2013 22:45, John-Mark Gurney wrote: J Alexander V. Chernikov wrote this message on Wed, Dec 18, 2013 at 18:25 +: J Author: melifaro J

Re: svn commit: r259562 - head/usr.bin/netstat

2013-12-19 Thread Gleb Smirnoff
John, On Thu, Dec 19, 2013 at 03:52:03PM -0500, John Baldwin wrote: J J Please don't gratuitiously break things that /usr/sbin/crashinfo runs. It's J J fine if kvm mode is fragile and requires the binary to be in sync with the J J kernel and is only used for crash dumps, but it is very

svn commit: r259644 - head/sys/dev/ixgbe

2013-12-20 Thread Gleb Smirnoff
Author: glebius Date: Fri Dec 20 10:57:47 2013 New Revision: 259644 URL: http://svnweb.freebsd.org/changeset/base/259644 Log: ixgbe(4) takes packet counters from hardware in ixgbe_update_stats_counters(), so we don't need to do a per packet increment, which trashes cache line. Submitted

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

2013-12-20 Thread Gleb Smirnoff
On Fri, Dec 20, 2013 at 02:12:42PM +0100, Michael Tuexen wrote: M On Dec 20, 2013, at 11:57 AM, Gleb Smirnoff gleb...@freebsd.org wrote: M M I think you need something like M M [bsd5:~/head] tuexen% svn diff M Index: sys/dev/ixgbe/ixgbe.c M

svn commit: r259646 - head/sys/dev/ixgbe

2013-12-20 Thread Gleb Smirnoff
Author: glebius Date: Fri Dec 20 13:18:50 2013 New Revision: 259646 URL: http://svnweb.freebsd.org/changeset/base/259646 Log: Fix build broken in r259644. Submitted by: tuexen Pointy hat to:glebius Modified: head/sys/dev/ixgbe/ixgbe.c Modified: head/sys/dev/ixgbe/ixgbe.c

svn commit: r259662 - head/sys/rpc

2013-12-20 Thread Gleb Smirnoff
Author: glebius Date: Fri Dec 20 19:44:29 2013 New Revision: 259662 URL: http://svnweb.freebsd.org/changeset/base/259662 Log: Fix build. Modified: head/sys/rpc/svc.c Modified: head/sys/rpc/svc.c == ---

svn commit: r259663 - head/sys/kern

2013-12-20 Thread Gleb Smirnoff
Author: glebius Date: Fri Dec 20 19:45:51 2013 New Revision: 259663 URL: http://svnweb.freebsd.org/changeset/base/259663 Log: Move list of ttys handling from the allocating procedures, to the device creation stage. A device creation can fail, and in that case an entry already on the list

svn commit: r259681 - head/sys/netgraph

2013-12-21 Thread Gleb Smirnoff
Author: glebius Date: Sat Dec 21 14:41:32 2013 New Revision: 259681 URL: http://svnweb.freebsd.org/changeset/base/259681 Log: In r248885 I have reduced size of fake uio resid that ng_ksocket(4) passes to the soreceive(). This exposed a bug. When reading from a raw socket, when our fake

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

2013-12-22 Thread Gleb Smirnoff
Author: glebius Date: Sun Dec 22 12:10:36 2013 New Revision: 259719 URL: http://svnweb.freebsd.org/changeset/base/259719 Log: Fix fallout from r258479: in pf_free_src_node() the node must already be unlinked. Reported by: Konstantin Kukushkin dark rambler-co.ru Sponsored by: Nginx,

svn commit: r259859 - head/sys/netinet/libalias

2013-12-24 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 25 03:24:20 2013 New Revision: 259859 URL: http://svnweb.freebsd.org/changeset/base/259859 Log: Cleanup alias module handler register/unregister. - Remove locking, since all module(9) events are running under Giant. - Use TAILQ for protocol handlers and fix

svn commit: r259858 - head/sys/netinet/libalias

2013-12-24 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 25 02:06:57 2013 New Revision: 259858 URL: http://svnweb.freebsd.org/changeset/base/259858 Log: Kill space at eols. Modified: head/sys/netinet/libalias/alias_cuseeme.c head/sys/netinet/libalias/alias_dummy.c head/sys/netinet/libalias/alias_irc.c

svn commit: r259857 - head/sys/netinet/libalias

2013-12-24 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 25 01:58:19 2013 New Revision: 259857 URL: http://svnweb.freebsd.org/changeset/base/259857 Log: Remove from kernel the dll code. Modified: head/sys/netinet/libalias/alias_mod.c head/sys/netinet/libalias/alias_mod.h Modified:

svn commit: r259856 - head/sys/netinet/libalias

2013-12-24 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 25 01:52:55 2013 New Revision: 259856 URL: http://svnweb.freebsd.org/changeset/base/259856 Log: Whitespace cleanup. Modified: head/sys/netinet/libalias/alias_mod.c head/sys/netinet/libalias/alias_mod.h Modified: head/sys/netinet/libalias/alias_mod.c

svn commit: r259855 - head/usr.sbin/ndiscvt

2013-12-24 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 25 01:20:14 2013 New Revision: 259855 URL: http://svnweb.freebsd.org/changeset/base/259855 Log: We have in base iconv. PR: 185135 Submitted by: Lars Engels lars 0x20.net Modified: head/usr.sbin/ndiscvt/ndisgen.sh Modified:

svn commit: r259865 - head/sys/netinet/libalias

2013-12-25 Thread Gleb Smirnoff
Author: glebius Date: Wed Dec 25 09:43:51 2013 New Revision: 259865 URL: http://svnweb.freebsd.org/changeset/base/259865 Log: It'll be okay to use LibAliasDetachHandlers() here, relying on the fact that all handlers come from modules' bss and are followed by NODIR handler. Modified:

Re: svn commit: r259859 - head/sys/netinet/libalias

2013-12-26 Thread Gleb Smirnoff
On Thu, Dec 26, 2013 at 11:04:54AM -0500, John Baldwin wrote: J On Tuesday, December 24, 2013 10:24:20 pm Gleb Smirnoff wrote: J Author: glebius J Date: Wed Dec 25 03:24:20 2013 J New Revision: 259859 J URL: http://svnweb.freebsd.org/changeset/base/259859 J J Log: JCleanup alias module

svn commit: r260046 - head/sys/netgraph

2013-12-29 Thread Gleb Smirnoff
Author: glebius Date: Sun Dec 29 18:34:29 2013 New Revision: 260046 URL: http://svnweb.freebsd.org/changeset/base/260046 Log: Fix the parse type for NGM_LISTTYPES. Actually, text versions of generic commands are not used, since ngctl(8) uses binary messages for them. And to request a

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

2013-12-29 Thread Gleb Smirnoff
== --- head/usr.bin/netstat/if.c Sun Dec 29 19:27:32 2013(r260051) +++ head/usr.bin/netstat/if.c Sun Dec 29 19:31:49 2013(r260052) @@ -1,4 +1,5 @@ /*- + * Copyright (c) 2013 Gleb Smirnoff gleb...@freebsd.org * Copyright (c) 1983

svn commit: r260060 - head/sys/netinet

2013-12-29 Thread Gleb Smirnoff
Author: glebius Date: Sun Dec 29 22:20:06 2013 New Revision: 260060 URL: http://svnweb.freebsd.org/changeset/base/260060 Log: Fix couple of bugs from r257692 related to scan of address list on an interface: - in in_control() skip over not AF_INET addresses. - in in_aifaddr_ioctl() and

Re: svn commit: r260091 - in head/sys/cddl: contrib/opensolaris/uts/common/dtrace contrib/opensolaris/uts/common/sys dev/dtrace

2013-12-30 Thread Gleb Smirnoff
On Mon, Dec 30, 2013 at 05:37:32PM +, Mark Johnston wrote: M Author: markj M Date: Mon Dec 30 17:37:32 2013 M New Revision: 260091 M URL: http://svnweb.freebsd.org/changeset/base/260091 M M Log: M Now that vmem(9) is available, use vmem arenas to allocate probe and M aggregation IDs, as

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

2014-01-01 Thread Gleb Smirnoff
Author: glebius Date: Wed Jan 1 21:48:04 2014 New Revision: 260169 URL: http://svnweb.freebsd.org/changeset/base/260169 Log: - Use counter(9) for node stats updated at a high rate. - Use simple ++ for rare events. - Use uma_zone_get_cur() to get knowledge about space left in cache. -

svn commit: r260188 - head/sys/netinet

2014-01-02 Thread Gleb Smirnoff
Author: glebius Date: Thu Jan 2 10:18:39 2014 New Revision: 260188 URL: http://svnweb.freebsd.org/changeset/base/260188 Log: Fix regression from r249894. Now we pass gw as argument to if_output method, thus for multicast case we need it to point at dst. PR: 185395 Submitted

svn commit: r260224 - head/sys/netinet

2014-01-03 Thread Gleb Smirnoff
Author: glebius Date: Fri Jan 3 11:03:12 2014 New Revision: 260224 URL: http://svnweb.freebsd.org/changeset/base/260224 Log: Make failure of ifpromisc() a non-fatal error. This makes it possible to run carp(4) on vtnet(4). Sponsored by: Nginx, Inc. Modified:

svn commit: r260225 - head/sys/netgraph

2014-01-03 Thread Gleb Smirnoff
Author: glebius Date: Fri Jan 3 12:06:54 2014 New Revision: 260225 URL: http://svnweb.freebsd.org/changeset/base/260225 Log: Fix circular math macro. Submitted by: Lutz Donnerhacke via Dmitry Luhtionov German lesson at:

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

2014-01-06 Thread Gleb Smirnoff
Author: glebius Date: Mon Jan 6 19:05:04 2014 New Revision: 260377 URL: http://svnweb.freebsd.org/changeset/base/260377 Log: When pf_get_translation() fails, it should leave *sn pointer pristine, otherwise we will panic in pf_test_rule(). PR: 182557 Modified:

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

2014-01-08 Thread Gleb Smirnoff
Bryan, On Mon, Jan 06, 2014 at 09:09:45AM -0600, Bryan Venteicher wrote: B On Fri, Jan 03, 2014 at 11:03:12AM +, Gleb Smirnoff wrote: B Author: glebius B Date: Fri Jan 3 11:03:12 2014 B New Revision: 260224 B URL: http://svnweb.freebsd.org/changeset/base/260224 B B Log: B

Re: svn commit: r260415 - head/sys/dev/bxe

2014-01-08 Thread Gleb Smirnoff
Eric, On Tue, Jan 07, 2014 at 10:26:20PM +, Eric Davis wrote: E Author: edavis E Date: Tue Jan 7 22:26:20 2014 E New Revision: 260415 E URL: http://svnweb.freebsd.org/changeset/base/260415 E E Log: E defragment mbuf chains longer than hw segment limit before dropping E E Approved

svn commit: r260462 - head/sys/dev/netmap

2014-01-08 Thread Gleb Smirnoff
Author: glebius Date: Thu Jan 9 00:59:03 2014 New Revision: 260462 URL: http://svnweb.freebsd.org/changeset/base/260462 Log: Fix build with VIMAGE. Modified: head/sys/dev/netmap/netmap.c Modified: head/sys/dev/netmap/netmap.c

Re: svn commit: r260463 - head/sys/dev/usb/wlan

2014-01-09 Thread Gleb Smirnoff
On Thu, Jan 09, 2014 at 01:48:34AM +, Kevin Lo wrote: K Author: kevlo K Date: Thu Jan 9 01:48:33 2014 K New Revision: 260463 K URL: http://svnweb.freebsd.org/changeset/base/260463 K K Log: K Replace deprecated M_DONTWAIT with M_NOWAIT. K K Modified: K head/sys/dev/usb/wlan/if_rsu.c K

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

2014-01-10 Thread Gleb Smirnoff
Alexander, some nitpicking: On Thu, Jan 09, 2014 at 06:13:25PM +, Alexander V. Chernikov wrote: A @@ -52,6 +53,7 @@ A #include sys/proc.h A #include sys/domain.h A #include sys/kernel.h A +#include sys/kdb.h A A #include net/if.h A #include net/if_var.h A @@ -86,6 +88,13 @@ A

Re: svn commit: r260501 - head/sys/dev/usb/wlan

2014-01-10 Thread Gleb Smirnoff
Kevin, On Fri, Jan 10, 2014 at 02:47:20AM +, Kevin Lo wrote: K Author: kevlo K Date: Fri Jan 10 02:47:20 2014 K New Revision: 260501 K URL: http://svnweb.freebsd.org/changeset/base/260501 K K Log: K Use m_getcl() instead of MGETHDR/MCLGET macros. K K Suggested by: glebius K K

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

2014-01-10 Thread Gleb Smirnoff
On Fri, Jan 10, 2014 at 10:21:17PM +1100, Bruce Evans wrote: B On Thu, Jan 09, 2014 at 06:13:25PM +, Alexander V. Chernikov wrote: B A @@ -52,6 +53,7 @@ B A #include sys/proc.h B A #include sys/domain.h B A #include sys/kernel.h B A +#include sys/kdb.h B B Further unsorting of an

Re: svn commit: r260463 - head/sys/dev/usb/wlan

2014-01-13 Thread Gleb Smirnoff
On Sun, Jan 12, 2014 at 07:27:18PM -0800, Rui Paulo wrote: R Replace deprecated M_DONTWAIT with M_NOWAIT. R R Argh, just remove M_DONTWAIT already! Yes, I'd like to do that in head, if no objections arise during a week. -- Totus tuus, Glebius. ___

svn commit: r260709 - head/sys/netinet

2014-01-16 Thread Gleb Smirnoff
Author: glebius Date: Thu Jan 16 12:58:03 2014 New Revision: 260709 URL: http://svnweb.freebsd.org/changeset/base/260709 Log: Cleanup comments and whitespace. No functional changes. Modified: head/sys/netinet/ip_output.c Modified: head/sys/netinet/ip_output.c

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

2014-01-16 Thread Gleb Smirnoff
Author: glebius Date: Thu Jan 16 13:42:14 2014 New Revision: 260715 URL: http://svnweb.freebsd.org/changeset/base/260715 Log: Substitute flags from historical mbuf(9) allocator with modern ones. Sponsored by: Nginx, Inc. Modified: head/sys/contrib/ipfilter/netinet/ip_compat.h

svn commit: r260716 - head/sys/kern

2014-01-16 Thread Gleb Smirnoff
Author: glebius Date: Thu Jan 16 13:42:50 2014 New Revision: 260716 URL: http://svnweb.freebsd.org/changeset/base/260716 Log: Remove historical macro. Sponsored by: Nginx, Inc. Modified: head/sys/kern/uipc_mbuf.c Modified: head/sys/kern/uipc_mbuf.c

svn commit: r260718 - in head/sys: dev/altera/atse dev/bxe dev/hyperv/netvsc dev/qlxge net80211

2014-01-16 Thread Gleb Smirnoff
Author: glebius Date: Thu Jan 16 13:44:47 2014 New Revision: 260718 URL: http://svnweb.freebsd.org/changeset/base/260718 Log: Another round of removing historical mbuf(9) allocator flags. They are breeding! New ones arouse since last round. Sponsored by: Nginx, Inc. Modified:

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

2014-01-16 Thread Gleb Smirnoff
Author: glebius Date: Thu Jan 16 13:45:41 2014 New Revision: 260719 URL: http://svnweb.freebsd.org/changeset/base/260719 Log: Simplify wait/nowait code, eventually killing last remnant of historical mbuf(9) allocator flag. Sponsored by: Nginx, Inc. Modified:

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

2014-01-16 Thread Gleb Smirnoff
On Thu, Jan 16, 2014 at 01:45:42PM +, Gleb Smirnoff wrote: T Author: glebius T Date: Thu Jan 16 13:45:41 2014 T New Revision: 260719 T URL: http://svnweb.freebsd.org/changeset/base/260719 T T Log: T Simplify wait/nowait code, eventually killing last remnant of T historical mbuf(9

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

2014-01-16 Thread Gleb Smirnoff
Author: glebius Date: Thu Jan 16 13:58:55 2014 New Revision: 260720 URL: http://svnweb.freebsd.org/changeset/base/260720 Log: Remove notes about historical mbuf(9) allocator flags from documentation. Sponsored by: Nginx, Inc. Modified: head/share/man/man9/malloc.9

svn commit: r260810 - head/usr.bin/ktrdump

2014-01-17 Thread Gleb Smirnoff
Author: glebius Date: Fri Jan 17 09:11:44 2014 New Revision: 260810 URL: http://svnweb.freebsd.org/changeset/base/260810 Log: Print the ktr(4) format line that caused a failure. Sponsored by: Nginx, Inc. Modified: head/usr.bin/ktrdump/ktrdump.c Modified: head/usr.bin/ktrdump/ktrdump.c

svn commit: r260819 - head/sys/kern

2014-01-17 Thread Gleb Smirnoff
Author: glebius Date: Fri Jan 17 11:09:05 2014 New Revision: 260819 URL: http://svnweb.freebsd.org/changeset/base/260819 Log: Fix comment. Modified: head/sys/kern/uipc_sockbuf.c Modified: head/sys/kern/uipc_sockbuf.c

svn commit: r260915 - head/sys/vm

2014-01-20 Thread Gleb Smirnoff
Author: glebius Date: Mon Jan 20 18:47:56 2014 New Revision: 260915 URL: http://svnweb.freebsd.org/changeset/base/260915 Log: ANSIfy declarations. Ok'ed by: alc Modified: head/sys/vm/vnode_pager.c Modified: head/sys/vm/vnode_pager.c

svn commit: r261024 - head/sys/netinet

2014-01-22 Thread Gleb Smirnoff
Author: glebius Date: Wed Jan 22 10:57:42 2014 New Revision: 261024 URL: http://svnweb.freebsd.org/changeset/base/261024 Log: Fix fallout from r241923. Calculate length of payload in pim_input() properly. While here, remove extra variable and incorrect condition before m_pullup().

svn commit: r261169 - head/sys/dev/e1000

2014-01-25 Thread Gleb Smirnoff
Author: glebius Date: Sat Jan 25 20:39:23 2014 New Revision: 261169 URL: http://svnweb.freebsd.org/changeset/base/261169 Log: Fix compilation with IGB_LEGACY_TX defined. PR: 185909 Submitted by: Aurelien Rougemont beorn binaries.fr Modified: head/sys/dev/e1000/if_igb.c

Re: svn commit: r261266 - in head: sys/dev/drm sys/kern sys/sys usr.sbin/jail

2014-01-29 Thread Gleb Smirnoff
On Wed, Jan 29, 2014 at 01:41:13PM +, Jamie Gritton wrote: J Author: jamie J Date: Wed Jan 29 13:41:13 2014 J New Revision: 261266 J URL: http://svnweb.freebsd.org/changeset/base/261266 J J Log: J Add a jail parameter, allow.kmem, which lets jailed processes access J /dev/kmem and related

<    5   6   7   8   9   10   11   12   13   14   >