svn commit: r261835 - head/sys/netinet6

2014-02-13 Thread Andrey V. Elsukov
Author: ae Date: Thu Feb 13 14:10:44 2014 New Revision: 261835 URL: http://svnweb.freebsd.org/changeset/base/261835 Log: Drop packets to multicast address whose scop field contains the reserved value 0. MFC after:1 week Sponsored by: Yandex LLC Modified: head/sys/netinet6/ip6_inp

svn commit: r261583 - head/sys/netinet6

2014-02-07 Thread Andrey V. Elsukov
Author: ae Date: Fri Feb 7 10:58:46 2014 New Revision: 261583 URL: http://svnweb.freebsd.org/changeset/base/261583 Log: Unlock entry before retry. Submitted by: melifaro MFC after:1 week Modified: head/sys/netinet6/nd6.c Modified: head/sys/netinet6/nd6.c =

svn commit: r261400 - head/sys/netinet6

2014-02-01 Thread Andrey V. Elsukov
Author: ae Date: Sun Feb 2 07:28:04 2014 New Revision: 261400 URL: http://svnweb.freebsd.org/changeset/base/261400 Log: Take exclusive lock only when lle isn't NULL. We don't need write access to lle in most cases. MFC after:1 week Sponsored by: Yandex LLC Modified: head/sys/net

svn commit: r261091 - head/sys/geom

2014-01-23 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 23 21:30:31 2014 New Revision: 261091 URL: http://svnweb.freebsd.org/changeset/base/261091 Log: Always free sbuf in gctl_free(). MFC after:1 week Modified: head/sys/geom/geom_ctl.c Modified: head/sys/geom/geom_ctl.c ==

svn commit: r261089 - head/sys/geom

2014-01-23 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 23 20:25:38 2014 New Revision: 261089 URL: http://svnweb.freebsd.org/changeset/base/261089 Log: Remove another unneeded NULL check from geom_alloc_copyin(). Do copyout in case of gctl version mismatch and fix sbuf leak in g_ctl_ioctl_ctl(). MFC after:1 week

svn commit: r261086 - head/sys/geom

2014-01-23 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 23 19:55:02 2014 New Revision: 261086 URL: http://svnweb.freebsd.org/changeset/base/261086 Log: In gctl_copyin() remove unused error variable. geom_alloc_copyin() can't return ENOMEM, so describe its fail as bad control request. Add check for NULL pointer in gctl_dum

svn commit: r261085 - head/sys/geom

2014-01-23 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 23 19:31:17 2014 New Revision: 261085 URL: http://svnweb.freebsd.org/changeset/base/261085 Log: Fix typo in r261084. Add to the gctl_error() an ability to specify error description even if numeric error code is already specified. Also by default set error code to E

svn commit: r261084 - head/sys/geom

2014-01-23 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 23 19:07:22 2014 New Revision: 261084 URL: http://svnweb.freebsd.org/changeset/base/261084 Log: malloc() with M_WAITOK doesn't return NULL. MFC after:1 week Modified: head/sys/geom/geom_ctl.c Modified: head/sys/geom/geom_ctl.c ===

svn commit: r260511 - head/sys/netinet6

2014-01-10 Thread Andrey V. Elsukov
Author: ae Date: Fri Jan 10 12:33:28 2014 New Revision: 260511 URL: http://svnweb.freebsd.org/changeset/base/260511 Log: Mechanically replace direct accessing to if_xname to using if_name() macro. Modified: head/sys/netinet6/in6_mcast.c head/sys/netinet6/mld6.c Modified: head/sys/netinet6/

svn commit: r260485 - head/sys/netinet6

2014-01-09 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 9 15:38:28 2014 New Revision: 260485 URL: http://svnweb.freebsd.org/changeset/base/260485 Log: Remove extra nesting from X_ip6_mforward() function. Also remove disabled definitions from ip6_mroute.h. PR: 185148 Sponsored by: Yandex LLC Modified: he

svn commit: r260481 - head/sys/netinet6

2014-01-09 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 9 14:58:06 2014 New Revision: 260481 URL: http://svnweb.freebsd.org/changeset/base/260481 Log: Add MRT6_DLOG() macro for debugging. Reduce number of MRT6DEBUG ifdefs and fix some broken format strings. MFC after:1 week Sponsored by: Yandex LLC Modified:

svn commit: r260218 - head/sys/netinet6

2014-01-02 Thread Andrey V. Elsukov
Author: ae Date: Fri Jan 3 02:40:56 2014 New Revision: 260218 URL: http://svnweb.freebsd.org/changeset/base/260218 Log: Use pointer to struct sockaddr_in6 in lla_lookup() call. This prevents from triggering KASSERT in in6_lltable_lookup. Modified: head/sys/netinet6/in6_src.c Modified: hea

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

2014-01-02 Thread Andrey V. Elsukov
Author: ae Date: Fri Jan 3 02:32:05 2014 New Revision: 260217 URL: http://svnweb.freebsd.org/changeset/base/260217 Log: Add IF_AFDATA_WLOCK_ASSERT() in case lla_lookup() is called with LLE_CREATE flag. MFC after:1 week Modified: head/sys/netinet/in.c head/sys/netinet6/in6.c Mod

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

2014-01-02 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 2 08:40:37 2014 New Revision: 260187 URL: http://svnweb.freebsd.org/changeset/base/260187 Log: lla_lookup() does modification only when LLE_CREATE is specified. Thus we can use IF_AFDATA_RLOCK() instead of IF_AFDATA_LOCK() when doing lla_lookup() without LLE_CREATE

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

2014-01-01 Thread Andrey V. Elsukov
On 02.01.2014 06:51, Adrian Chadd wrote: > Why not? Hi, Adrian, now, after a deeper look I think it is ok. Sorry. Also there are several places where wlock can be changed to rlock. -- WBR, Andrey V. Elsukov ___ svn-src-head@freebsd.org mailing l

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

2014-01-01 Thread Andrey V. Elsukov
_lookup(). > > This drastically reduces the very high lock contention when doing parallel > TCP throughput tests (> 1024 sockets) with IPv6. This is very hackish and not correct. -- WBR, Andrey V. Elsukov ___ svn-src-head@freebsd.org mailing l

svn commit: r259929 - in head: sbin/geom/class/mirror sys/geom/mirror

2013-12-26 Thread Andrey V. Elsukov
Author: ae Date: Fri Dec 27 02:43:53 2013 New Revision: 259929 URL: http://svnweb.freebsd.org/changeset/base/259929 Log: Add an ability to stop gmirror and clear its metadata in one command. This fixes the problem, when gmirror starts again just after stop. The problem occurs when gmirror

svn commit: r259634 - head/sys/geom/mirror

2013-12-19 Thread Andrey V. Elsukov
Author: ae Date: Thu Dec 19 22:13:12 2013 New Revision: 259634 URL: http://svnweb.freebsd.org/changeset/base/259634 Log: Prevent users from deactivating the last component of a mirror. PR: 184985 MFC after:1 week Modified: head/sys/geom/mirror/g_mirror_ctl.c Modified: he

svn commit: r259520 - head/sys/kern

2013-12-17 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 17 16:45:19 2013 New Revision: 259520 URL: http://svnweb.freebsd.org/changeset/base/259520 Log: Fix copy/paste typo. MFC after:1 week Modified: head/sys/kern/kern_jail.c Modified: head/sys/kern/kern_jail.c

svn commit: r259503 - head/sys/netinet6

2013-12-17 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 17 10:53:17 2013 New Revision: 259503 URL: http://svnweb.freebsd.org/changeset/base/259503 Log: Free mbuf in case of error. MFC after:1 week Modified: head/sys/netinet6/send.c Modified: head/sys/netinet6/send.c ===

svn commit: r259176 - head/usr.sbin/ndp

2013-12-10 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 10 14:17:07 2013 New Revision: 259176 URL: http://svnweb.freebsd.org/changeset/base/259176 Log: Change the type of addr argument in dump() function to be able disambiguate link-local addresses from different zones. Modified: head/usr.sbin/ndp/ndp.c Modified: head/u

svn commit: r259171 - head/usr.sbin/ndp

2013-12-10 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 10 13:34:28 2013 New Revision: 259171 URL: http://svnweb.freebsd.org/changeset/base/259171 Log: Remove unused macro ADVANCE() and replace ROUNDUP() macro with ALIGN(). They aren't the same, but in our use cases ALIGN gives the same results. Modified: head/usr.sbin/n

svn commit: r259169 - head/usr.sbin/ndp

2013-12-10 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 10 13:14:54 2013 New Revision: 259169 URL: http://svnweb.freebsd.org/changeset/base/259169 Log: Ansify function definitions. Modified: head/usr.sbin/ndp/ndp.c Modified: head/usr.sbin/ndp/ndp.c ==

svn commit: r258357 - in head: sbin/geom/class/mirror sys/geom/mirror

2013-11-19 Thread Andrey V. Elsukov
Author: ae Date: Tue Nov 19 22:55:17 2013 New Revision: 258357 URL: http://svnweb.freebsd.org/changeset/base/258357 Log: Add "resize" verb to gmirror(8) and such functionality to geom_mirror(4). Now it is easy to expand the size of the mirror when all its components are replaced. Also add g_

svn commit: r258167 - head/sys/net

2013-11-15 Thread Andrey V. Elsukov
Author: ae Date: Fri Nov 15 12:12:50 2013 New Revision: 258167 URL: http://svnweb.freebsd.org/changeset/base/258167 Log: ANSIfy function defintions. Modified: head/sys/net/if_gif.c Modified: head/sys/net/if_gif.c ==

svn commit: r257987 - head/sys/netipsec

2013-11-11 Thread Andrey V. Elsukov
Author: ae Date: Mon Nov 11 13:19:55 2013 New Revision: 257987 URL: http://svnweb.freebsd.org/changeset/base/257987 Log: Initialize prot variable. PR: 177417 MFC after:1 week Modified: head/sys/netipsec/ipsec_input.c Modified: head/sys/netipsec/ipsec_input.c

svn commit: r257985 - head/sys/netinet6

2013-11-11 Thread Andrey V. Elsukov
Author: ae Date: Mon Nov 11 12:49:00 2013 New Revision: 257985 URL: http://svnweb.freebsd.org/changeset/base/257985 Log: Fix panic with RADIX_MPATH, when RTFREE_LOCKED() called for already unlocked route. Use in6_rtalloc() instead of in6_rtalloc1. This helps simplify the code and remove seve

svn commit: r257965 - head/sys/geom/eli

2013-11-11 Thread Andrey V. Elsukov
Author: ae Date: Mon Nov 11 11:13:12 2013 New Revision: 257965 URL: http://svnweb.freebsd.org/changeset/base/257965 Log: Add missing line breaks. PR: 181900 MFC after:1 week Modified: head/sys/geom/eli/g_eli.c Modified: head/sys/geom/eli/g_eli.c =

svn commit: r257084 - head/sys/netinet6

2013-10-24 Thread Andrey V. Elsukov
Author: ae Date: Fri Oct 25 01:02:25 2013 New Revision: 257084 URL: http://svnweb.freebsd.org/changeset/base/257084 Log: Initialize inc_fibnum for properly handling ICMP6_PACKET_TOO_BIG errors in multifib environment. PR: 183265 MFC after:1 week Modified: head/sys/netin

svn commit: r256832 - head/sys/net

2013-10-21 Thread Andrey V. Elsukov
Author: ae Date: Mon Oct 21 07:49:36 2013 New Revision: 256832 URL: http://svnweb.freebsd.org/changeset/base/256832 Log: Add a note that lacp_compose_key() should be updated, when new media types will be added. Submitted by: melifaro X-MFC after: r256689 Modified: head/sys/net/if_me

svn commit: r256690 - head/sys/geom/part

2013-10-17 Thread Andrey V. Elsukov
Author: ae Date: Thu Oct 17 16:18:43 2013 New Revision: 256690 URL: http://svnweb.freebsd.org/changeset/base/256690 Log: Add an automatic resize support to the GEOM_PART class. When parent provider has been resized, the scheme specific G_PART_RESIZE method does an update of scheme's metad

svn commit: r256689 - head/sys/net

2013-10-17 Thread Andrey V. Elsukov
Author: ae Date: Thu Oct 17 15:14:58 2013 New Revision: 256689 URL: http://svnweb.freebsd.org/changeset/base/256689 Log: Use the same actor key for media types of the same speed. PR: 176097 MFC after:2 weeks Modified: head/sys/net/ieee8023ad_lacp.c Modified: head/sys/net

svn commit: r255237 - head/sys/geom/part

2013-09-05 Thread Andrey V. Elsukov
Author: ae Date: Thu Sep 5 09:44:09 2013 New Revision: 255237 URL: http://svnweb.freebsd.org/changeset/base/255237 Log: Remove stub implementation. MFC after:1 week Modified: head/sys/geom/part/g_part_ldm.c Modified: head/sys/geom/part/g_part_ldm.c =

svn commit: r255235 - head/sys/netinet

2013-09-05 Thread Andrey V. Elsukov
Author: ae Date: Thu Sep 5 08:12:36 2013 New Revision: 255235 URL: http://svnweb.freebsd.org/changeset/base/255235 Log: Remove unused code and sort variables declarations. PR: kern/181822 MFC after:1 week Modified: head/sys/netinet/ip_mroute.c Modified: head/sys/netinet

svn commit: r254654 - head/share/mk

2013-08-22 Thread Andrey V. Elsukov
Author: ae Date: Thu Aug 22 12:49:28 2013 New Revision: 254654 URL: http://svnweb.freebsd.org/changeset/base/254654 Log: Really disconnect pkg_install from the build. Reported by: Mikhail Timofeyev Modified: head/share/mk/bsd.own.mk Modified: head/share/mk/bsd.own.mk ==

svn commit: r254095 - head/sys/geom/part

2013-08-08 Thread Andrey V. Elsukov
Author: ae Date: Thu Aug 8 16:09:20 2013 New Revision: 254095 URL: http://svnweb.freebsd.org/changeset/base/254095 Log: gpt_entries is used as limit for the number of partition entries in the GEOM_PART. Instead of just using number of entries from the GPT header, calculate this limit based

svn commit: r254092 - head/sys/boot/common

2013-08-08 Thread Andrey V. Elsukov
Author: ae Date: Thu Aug 8 11:24:25 2013 New Revision: 254092 URL: http://svnweb.freebsd.org/changeset/base/254092 Log: Make the check for number of entries less strict. Some partitioning tools can create GPT with number of entries less than 128. MFC after:1 week Modified: head/

svn commit: r253986 - head/tools/tools/bootparttest

2013-08-06 Thread Andrey V. Elsukov
Author: ae Date: Tue Aug 6 10:35:05 2013 New Revision: 253986 URL: http://svnweb.freebsd.org/changeset/base/253986 Log: Fix formatting warning. MFC after:1 week Modified: head/tools/tools/bootparttest/bootparttest.c Modified: head/tools/tools/bootparttest/bootparttest.c ===

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

2013-07-29 Thread Andrey V. Elsukov
Author: ae Date: Mon Jul 29 13:17:18 2013 New Revision: 253769 URL: http://svnweb.freebsd.org/changeset/base/253769 Log: Fix a possible NULL-pointer dereference on the pfsync(4) reconfiguration. Reported by: Eugene M. Zheganin Modified: head/sys/netpfil/pf/if_pfsync.c Modified: head/sy

svn commit: r253767 - head/tools/tools/crypto

2013-07-29 Thread Andrey V. Elsukov
Author: ae Date: Mon Jul 29 12:49:32 2013 New Revision: 253767 URL: http://svnweb.freebsd.org/changeset/base/253767 Log: Include stdint.h to fix build. Pointed by: Olivier Cochard-Labbé Modified: head/tools/tools/crypto/ipsecstats.c Modified: head/tools/tools/crypto/ipsecstats.c =

svn commit: r253571 - in head: sys/netinet sys/netinet6 sys/netipsec usr.bin/netstat

2013-07-23 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 23 14:14:24 2013 New Revision: 253571 URL: http://svnweb.freebsd.org/changeset/base/253571 Log: Remove the large part of struct ipsecstat. Only few fields of this structure is used, but they already have equal fields in the struct newipsecstat, that was introduced wi

svn commit: r253367 - in head/sys: i386/i386 mips/mips powerpc/powerpc sparc64/sparc64

2013-07-15 Thread Andrey V. Elsukov
Author: ae Date: Mon Jul 15 15:40:57 2013 New Revision: 253367 URL: http://svnweb.freebsd.org/changeset/base/253367 Log: Include sys/systm.h after sys/param.h. Suggested by: pluknet Modified: head/sys/i386/i386/uio_machdep.c head/sys/mips/mips/uio_machdep.c head/sys/powerpc/powerpc/u

svn commit: r253351 - in head: sys/arm/arm sys/i386/i386 sys/kern sys/mips/mips sys/powerpc/aim sys/powerpc/booke sys/sparc64/sparc64 sys/sys usr.bin/netstat

2013-07-14 Thread Andrey V. Elsukov
Author: ae Date: Mon Jul 15 06:16:57 2013 New Revision: 253351 URL: http://svnweb.freebsd.org/changeset/base/253351 Log: Introduce new structure sfstat for collecting sendfile's statistics and remove corresponding fields from struct mbstat. Use PCPU counters and SFSTAT_INC() macro for update

svn commit: r253100 - head/sys/net

2013-07-09 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 9 15:10:27 2013 New Revision: 253100 URL: http://svnweb.freebsd.org/changeset/base/253100 Log: Correct CTASSERT condition. Modified: head/sys/net/vnet.h Modified: head/sys/net/vnet.h == ---

svn commit: r253101 - head/sys/netinet6

2013-07-09 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 9 15:20:46 2013 New Revision: 253101 URL: http://svnweb.freebsd.org/changeset/base/253101 Log: Correct the size of allocated memory to store array of counters. Modified: head/sys/netinet6/in6.c Modified: head/sys/netinet6/in6.c ==

svn commit: r253089 - in head: . sys/sys

2013-07-09 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 9 10:20:27 2013 New Revision: 253089 URL: http://svnweb.freebsd.org/changeset/base/253089 Log: Bump __FreeBSD_version to reflect changes in statistics structures. Modified: head/UPDATING head/sys/sys/param.h Modified: head/UPDATING

svn commit: r253088 - in head: sys/netipsec usr.bin/netstat

2013-07-09 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 9 10:08:13 2013 New Revision: 253088 URL: http://svnweb.freebsd.org/changeset/base/253088 Log: Migrate structs ahstat, espstat, ipcompstat, ipipstat, pfkeystat, ipsec4stat, ipsec6stat to PCPU counters. Modified: head/sys/netipsec/ah_var.h head/sys/netipsec/esp_va

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

2013-07-09 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 9 10:02:51 2013 New Revision: 253087 URL: http://svnweb.freebsd.org/changeset/base/253087 Log: Migrate struct carpstats to PCPU counters. Modified: head/sys/netinet/ip_carp.c head/sys/netinet/ip_carp.h head/usr.bin/netstat/inet.c Modified: head/sys/netinet/ip_ca

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

2013-07-09 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 9 09:59:46 2013 New Revision: 253086 URL: http://svnweb.freebsd.org/changeset/base/253086 Log: Migrate structs in6_ifstat and icmp6_ifstat to PCPU counters. Modified: head/sys/netinet/icmp6.h head/sys/netinet6/in6.c head/sys/netinet6/in6_var.h Modified: head/sys

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

2013-07-09 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 9 09:54:54 2013 New Revision: 253085 URL: http://svnweb.freebsd.org/changeset/base/253085 Log: Migrate structs ip6stat, icmp6stat and rip6stat to PCPU counters. Modified: head/sys/netinet/icmp6.h head/sys/netinet6/icmp6.c head/sys/netinet6/in6_proto.c head/sys/

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

2013-07-09 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 9 09:50:15 2013 New Revision: 253084 URL: http://svnweb.freebsd.org/changeset/base/253084 Log: Migrate structs arpstat, icmpstat, mrtstat, pimstat and udpstat to PCPU counters. Modified: head/sys/net/if_arp.h head/sys/netinet/icmp_var.h head/sys/netinet/if_ethe

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

2013-07-09 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 9 09:43:03 2013 New Revision: 253083 URL: http://svnweb.freebsd.org/changeset/base/253083 Log: Use new macros to implement ipstat and tcpstat using PCPU counters. Change interface of kread_counters() similar ot kread() in the netstat(1). Modified: head/sys/netinet/

svn commit: r253082 - in head/sys: net sys

2013-07-09 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 9 09:37:21 2013 New Revision: 253082 URL: http://svnweb.freebsd.org/changeset/base/253082 Log: Add several macros to help migrate statistics structures to PCPU counters. Modified: head/sys/net/vnet.h head/sys/sys/counter.h Modified: head/sys/net/vnet.h ===

svn commit: r253081 - in head: sys/net sys/netinet sys/netinet6 sys/netipsec tools/tools/crypto usr.bin/netstat

2013-07-09 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 9 09:32:06 2013 New Revision: 253081 URL: http://svnweb.freebsd.org/changeset/base/253081 Log: Prepare network statistics structures for migration to PCPU counters. Use uint64_t as type for all fields of structures. Changed structures: ahstat, arpstat, espstat, i

svn commit: r252028 - head/sys/netipsec

2013-06-20 Thread Andrey V. Elsukov
Author: ae Date: Thu Jun 20 11:44:16 2013 New Revision: 252028 URL: http://svnweb.freebsd.org/changeset/base/252028 Log: Use corresponding macros to update statistics for AH, ESP, IPIP, IPCOMP, PFKEY. MFC after:2 weeks Modified: head/sys/netipsec/ah_var.h head/sys/netipsec/esp_va

svn commit: r252026 - in head/sys: netinet netinet6 netipsec

2013-06-20 Thread Andrey V. Elsukov
Author: ae Date: Thu Jun 20 09:55:53 2013 New Revision: 252026 URL: http://svnweb.freebsd.org/changeset/base/252026 Log: Use IPSECSTAT_INC() and IPSEC6STAT_INC() macros for ipsec statistics accounting. MFC after:2 weeks Modified: head/sys/netinet/tcp_input.c head/sys/netinet/udp_

svn commit: r252009 - head/sys/netinet6

2013-06-19 Thread Andrey V. Elsukov
Author: ae Date: Wed Jun 19 21:50:17 2013 New Revision: 252009 URL: http://svnweb.freebsd.org/changeset/base/252009 Log: Use PIM6STAT_INC() and MRT6STAT_INC() macros for IPv6 multicast statistics accounting. MFC after:2 weeks Modified: head/sys/netinet6/ip6_mroute.c Modified: head

svn commit: r252007 - head/sys/netinet6

2013-06-19 Thread Andrey V. Elsukov
Author: ae Date: Wed Jun 19 20:48:34 2013 New Revision: 252007 URL: http://svnweb.freebsd.org/changeset/base/252007 Log: Use RIP6STAT_INC() macro for raw ip6 statistics accounting. MFC after:2 weeks Modified: head/sys/netinet6/raw_ip6.c head/sys/netinet6/raw_ip6.h Modified: head/s

svn commit: r251995 - head/sys/netinet6

2013-06-19 Thread Andrey V. Elsukov
Author: ae Date: Wed Jun 19 15:59:21 2013 New Revision: 251995 URL: http://svnweb.freebsd.org/changeset/base/251995 Log: Use ICMP6STAT_INC() macro for ICMPv6 errors accounting. MFC after:2 weeks Modified: head/sys/netinet6/icmp6.c Modified: head/sys/netinet6/icmp6.c

svn commit: r251486 - head/usr.bin/kdump

2013-06-07 Thread Andrey V. Elsukov
Author: ae Date: Fri Jun 7 08:06:48 2013 New Revision: 251486 URL: http://svnweb.freebsd.org/changeset/base/251486 Log: Use getnameinfo(3) instead of inet_ntop(3) to make printable versions of sockaddr_in6 structures. getnameinfo(3) does the same thing, but it is also able to represent a sc

svn commit: r249837 - head/sys/netinet6

2013-04-24 Thread Andrey V. Elsukov
Author: ae Date: Wed Apr 24 10:24:01 2013 New Revision: 249837 URL: http://svnweb.freebsd.org/changeset/base/249837 Log: Remove unused variable. MFC after:1 week Modified: head/sys/netinet6/in6_pcb.c head/sys/netinet6/in6_var.h Modified: head/sys/netinet6/in6_pcb.c ===

svn commit: r249719 - head/sys/boot/common

2013-04-21 Thread Andrey V. Elsukov
Author: ae Date: Sun Apr 21 09:10:35 2013 New Revision: 249719 URL: http://svnweb.freebsd.org/changeset/base/249719 Log: Since we didn't break the loop, we should set i to -1 to start from the beginning. Submitted by: Steven Hartland MFC after:1 week Modified: head/sys/boot/commo

svn commit: r249546 - head/sys/netinet6

2013-04-16 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 16 11:31:26 2013 New Revision: 249546 URL: http://svnweb.freebsd.org/changeset/base/249546 Log: Fix accounting after the r249528, also add several another counters to the statistics. Modified: head/sys/netinet6/in6_src.c Modified: head/sys/netinet6/in6_src.c ==

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

2013-04-16 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 16 11:25:45 2013 New Revision: 249545 URL: http://svnweb.freebsd.org/changeset/base/249545 Log: Replace hardcoded numbers. Also use interface-local scope name instead of node-local. Modified: head/usr.bin/netstat/inet6.c Modified: head/usr.bin/netstat/inet6.c =

svn commit: r249544 - head/sys/netinet6

2013-04-16 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 16 11:19:13 2013 New Revision: 249544 URL: http://svnweb.freebsd.org/changeset/base/249544 Log: Use IP6S_M2MMAX macro. Modified: head/sys/netinet6/ip6_input.c Modified: head/sys/netinet6/ip6_input.c

svn commit: r249543 - head/sys/netinet6

2013-04-16 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 16 11:12:58 2013 New Revision: 249543 URL: http://svnweb.freebsd.org/changeset/base/249543 Log: Replace hardcoded numbers. Modified: head/sys/netinet6/ip6_var.h Modified: head/sys/netinet6/ip6_var.h

svn commit: r249528 - head/sys/netinet6

2013-04-15 Thread Andrey V. Elsukov
Author: ae Date: Mon Apr 15 21:02:40 2013 New Revision: 249528 URL: http://svnweb.freebsd.org/changeset/base/249528 Log: The source address selection algorithm tries to apply several rules for the set of IPv6 addresses. Now each attempt goes into IPv6 statistics, even if given rule did not w

svn commit: r249411 - head/sys/netinet

2013-04-12 Thread Andrey V. Elsukov
Author: ae Date: Fri Apr 12 16:29:15 2013 New Revision: 249411 URL: http://svnweb.freebsd.org/changeset/base/249411 Log: Reflect removing of the counter_u64_subtract() function in the macro. Modified: head/sys/netinet/ip_var.h Modified: head/sys/netinet/ip_var.h =

svn commit: r249398 - head/sys/netinet6

2013-04-12 Thread Andrey V. Elsukov
Author: ae Date: Fri Apr 12 07:59:54 2013 New Revision: 249398 URL: http://svnweb.freebsd.org/changeset/base/249398 Log: Free memory after deleting an address policy entry. MFC after:1 week Modified: head/sys/netinet6/in6_src.c Modified: head/sys/netinet6/in6_src.c =

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

2013-04-09 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 9 07:11:22 2013 New Revision: 249294 URL: http://svnweb.freebsd.org/changeset/base/249294 Log: Use IP6STAT_INC/IP6STAT_DEC macros to update ip6 stats. MFC after:1 week Modified: head/sys/net/if_bridge.c head/sys/netinet/ip6.h head/sys/netinet6/dest6.c

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

2013-04-08 Thread Andrey V. Elsukov
Author: ae Date: Mon Apr 8 10:14:50 2013 New Revision: 249252 URL: http://svnweb.freebsd.org/changeset/base/249252 Log: Remove reference to the nonexistent sysctl node net.inet6.mld.stats. Also add cross reference to the icmp6(4). PR: 177696 MFC after:1 week Modified:

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

2013-03-25 Thread Andrey V. Elsukov
Author: ae Date: Mon Mar 25 07:43:46 2013 New Revision: 248697 URL: http://svnweb.freebsd.org/changeset/base/248697 Log: When we are removing a specific set, call ipfw_expire_dyn_rules only once. Obtained from:Yandex LLC MFC after:1 week Modified: head/sys/netpfil/ipfw/ip_f

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

2013-03-18 Thread Andrey V. Elsukov
Author: ae Date: Tue Mar 19 06:04:17 2013 New Revision: 248491 URL: http://svnweb.freebsd.org/changeset/base/248491 Log: Separate the locking macros that are used in the packet flow path from others. This helps easy switch to use pfil(4) lock. Modified: head/sys/netpfil/ipfw/ip_fw2.c head

svn commit: r248490 - head/sys/net

2013-03-18 Thread Andrey V. Elsukov
Author: ae Date: Tue Mar 19 05:51:47 2013 New Revision: 248490 URL: http://svnweb.freebsd.org/changeset/base/248490 Log: Fix style and comments. Modified: head/sys/net/pfil.c head/sys/net/pfil.h Modified: head/sys/net/pfil.c =

svn commit: r248180 - head/sys/netinet6

2013-03-11 Thread Andrey V. Elsukov
Author: ae Date: Tue Mar 12 02:20:20 2013 New Revision: 248180 URL: http://svnweb.freebsd.org/changeset/base/248180 Log: Take the inpcb rlock before calculating checksum, it was accidentally moved in r191672. Obtained from:Yandex LLC MFC after:1 week Modified: head/sys/ne

svn commit: r246630 - in head/sys: boot/common sys

2013-02-10 Thread Andrey V. Elsukov
Author: ae Date: Sun Feb 10 19:27:17 2013 New Revision: 246630 URL: http://svnweb.freebsd.org/changeset/base/246630 Log: Add bootcamp support to the loader. Tested by:dchagin MFC after:1 week Modified: head/sys/boot/common/part.c head/sys/sys/diskmbr.h Modified: head/sys/boo

svn commit: r245244 - head/sys/netinet6

2013-01-09 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 10 00:10:24 2013 New Revision: 245244 URL: http://svnweb.freebsd.org/changeset/base/245244 Log: Simplify in6_setscope() function to get better performance. Currently we use interface indeces as zone IDs for link-local and interface-local scopes, and since we don't ha

svn commit: r245234 - head/lib/libradius

2013-01-09 Thread Andrey V. Elsukov
Author: ae Date: Wed Jan 9 19:49:35 2013 New Revision: 245234 URL: http://svnweb.freebsd.org/changeset/base/245234 Log: Fix the bindto parameter declaration. Submitted by: sem Modified: head/lib/libradius/libradius.3 Modified: head/lib/libradius/libradius.3

svn commit: r245233 - head/sys/netinet6

2013-01-09 Thread Andrey V. Elsukov
Author: ae Date: Wed Jan 9 18:54:58 2013 New Revision: 245233 URL: http://svnweb.freebsd.org/changeset/base/245233 Log: Remove unneeded variable. MFC after:1 week Modified: head/sys/netinet6/scope6.c Modified: head/sys/netinet6/scope6.c =

svn commit: r245199 - head/sys/netinet6

2013-01-08 Thread Andrey V. Elsukov
Author: ae Date: Wed Jan 9 00:36:06 2013 New Revision: 245199 URL: http://svnweb.freebsd.org/changeset/base/245199 Log: The in6_setscope() function determines the scope zone id of an address and embeds it into address. Inside the kernel we keep addresses with embedded zone id only for two s

svn commit: r244752 - head/sys/net

2012-12-27 Thread Andrey V. Elsukov
Author: ae Date: Thu Dec 27 21:26:08 2012 New Revision: 244752 URL: http://svnweb.freebsd.org/changeset/base/244752 Log: Add an ability to set net.link.stf.permit_rfc1918 from the loader. MFC after:2 weeks Modified: head/sys/net/if_stf.c Modified: head/sys/net/if_stf.c =

svn commit: r244750 - in head: share/man/man4 sys/net

2012-12-27 Thread Andrey V. Elsukov
Author: ae Date: Thu Dec 27 20:59:22 2012 New Revision: 244750 URL: http://svnweb.freebsd.org/changeset/base/244750 Log: Add net.link.stf.permit_rfc1918 sysctl variable. It can be used to allow the use of private IPv4 addresses with stf(4). MFC after:2 weeks Modified: head/share/ma

svn commit: r244441 - head/sys/netinet6

2012-12-19 Thread Andrey V. Elsukov
Author: ae Date: Wed Dec 19 17:28:17 2012 New Revision: 21 URL: http://svnweb.freebsd.org/changeset/base/21 Log: When we have some address to forward (e.g. it was specified with ipfw fwd), we should pass it as first argument into in6_selectroute_fib function to initiate new route loo

svn commit: r244440 - head/sys/netinet6

2012-12-19 Thread Andrey V. Elsukov
Author: ae Date: Wed Dec 19 17:08:49 2012 New Revision: 20 URL: http://svnweb.freebsd.org/changeset/base/20 Log: Make dst_sa initialization only when it is actually needed. MFC after:1 week Modified: head/sys/netinet6/ip6_output.c Modified: head/sys/netinet6/ip6_output.c ===

svn commit: r244439 - head/sys/netinet6

2012-12-19 Thread Andrey V. Elsukov
Author: ae Date: Wed Dec 19 17:02:07 2012 New Revision: 244439 URL: http://svnweb.freebsd.org/changeset/base/244439 Log: The selectroute functions does own account of EHOSTUNREACH errors, no need to do it twice. MFC after:1 week Modified: head/sys/netinet6/ip6_output.c Modified: h

svn commit: r244365 - head/sys/netinet

2012-12-17 Thread Andrey V. Elsukov
Author: ae Date: Mon Dec 17 20:55:33 2012 New Revision: 244365 URL: http://svnweb.freebsd.org/changeset/base/244365 Log: Since we use different flags to detect tcp forwarding, and we share the same code for IPv4 and IPv6 in tcp_input, we should check both M_IP_NEXTHOP and M_IP6_NEXTHOP flags

svn commit: r244360 - head/sys/netinet6

2012-12-17 Thread Andrey V. Elsukov
Author: ae Date: Mon Dec 17 14:36:56 2012 New Revision: 244360 URL: http://svnweb.freebsd.org/changeset/base/244360 Log: Use M_PROTO7 flag for M_IP6_NEXTHOP, because M_PROTO2 was used for M_AUTHIPHDR. Pointy hat to:ae Reported by: Vadim Goncharov MFC after:3 days Modifie

svn commit: r244272 - head/sys/netinet6

2012-12-15 Thread Andrey V. Elsukov
Author: ae Date: Sat Dec 15 20:04:24 2012 New Revision: 244272 URL: http://svnweb.freebsd.org/changeset/base/244272 Log: In additional to the tailq of IPv6 addresses add the hash table. For now use 256 buckets and fnv_hash function. Use xor'ed 32-bit s6_addr32 parts of in6_addr structure as

svn commit: r244209 - head/sys/sys

2012-12-14 Thread Andrey V. Elsukov
Author: ae Date: Fri Dec 14 12:37:35 2012 New Revision: 244209 URL: http://svnweb.freebsd.org/changeset/base/244209 Log: Add an #include guard to the sys/fnv_hash.h. MFC after:3 days Modified: head/sys/sys/fnv_hash.h Modified: head/sys/sys/fnv_hash.h

svn commit: r243337 - head/sys/modules

2012-11-20 Thread Andrey V. Elsukov
Author: ae Date: Tue Nov 20 14:11:27 2012 New Revision: 243337 URL: http://svnweb.freebsd.org/changeset/base/243337 Log: Connect ip6_mroute kernel module to the build. MFC after:1 week Modified: head/sys/modules/Makefile Modified: head/sys/modules/Makefile ==

svn commit: r243336 - head/sys/netinet6

2012-11-20 Thread Andrey V. Elsukov
Author: ae Date: Tue Nov 20 14:09:37 2012 New Revision: 243336 URL: http://svnweb.freebsd.org/changeset/base/243336 Log: Remove opt_inet.h, it isn't required here. MFC after:1 week Modified: head/sys/netinet6/ip6_mroute.c Modified: head/sys/netinet6/ip6_mroute.c

svn commit: r243148 - head/sys/netinet6

2012-11-16 Thread Andrey V. Elsukov
Author: ae Date: Fri Nov 16 12:12:02 2012 New Revision: 243148 URL: http://svnweb.freebsd.org/changeset/base/243148 Log: Reduce the overhead of locking, use IF_AFDATA_RLOCK() when we are doing simple lookups. Sponsored by: Yandex LLC MFC after:1 week Modified: head/sys/netinet6/i

svn commit: r243031 - head/sys/netinet6

2012-11-14 Thread Andrey V. Elsukov
Author: ae Date: Wed Nov 14 17:36:06 2012 New Revision: 243031 URL: http://svnweb.freebsd.org/changeset/base/243031 Log: if_afdata lock was converted from mutex to rwlock a long ago, so we can replace IF_AFDATA_LOCK() macro depending to the access type. Sponsored by: Yandex LLC MFC afte

svn commit: r243029 - head/sys/netinet6

2012-11-14 Thread Andrey V. Elsukov
Author: ae Date: Wed Nov 14 17:23:48 2012 New Revision: 243029 URL: http://svnweb.freebsd.org/changeset/base/243029 Log: SCOPE6_LOCK protects V_sid_default, no need to acquire it without any access to V_sid_default. Sponsored by: Yandex LLC MFC after:1 week Modified: head/sys/net

svn commit: r243028 - head/sys/netinet6

2012-11-14 Thread Andrey V. Elsukov
Author: ae Date: Wed Nov 14 17:14:03 2012 New Revision: 243028 URL: http://svnweb.freebsd.org/changeset/base/243028 Log: zoneid has unsigned type. MFC after:1 week Modified: head/sys/netinet6/scope6.c Modified: head/sys/netinet6/scope6.c =

svn commit: r242463 - in head: . sbin/ipfw sys/net sys/netinet sys/netinet6 sys/netpfil/ipfw

2012-11-01 Thread Andrey V. Elsukov
Author: ae Date: Fri Nov 2 01:20:55 2012 New Revision: 242463 URL: http://svn.freebsd.org/changeset/base/242463 Log: Remove the recently added sysctl variable net.pfil.forward. Instead, add protocol specific mbuf flags M_IP_NEXTHOP and M_IP6_NEXTHOP. Use them to indicate that the mbuf's cha

Re: svn commit: r242079 - in head: sbin/ipfw share/man/man4 sys/conf sys/net sys/netinet sys/netinet6 sys/netpfil/ipfw

2012-10-26 Thread Andrey V. Elsukov
and the feature is always available. The overlay > definition is in ip_var.h. It seems we have only one bit in the m_flags that can be used, so, maybe we left it to some things that can appear in the future? -- WBR, Andrey V. Elsukov ___ svn-src-head@f

Re: svn commit: r242079 - in head: sbin/ipfw share/man/man4 sys/conf sys/net sys/netinet sys/netinet6 sys/netpfil/ipfw

2012-10-25 Thread Andrey V. Elsukov
ree. So, if not, what you think about the name net.pfil.ipforward? > Also an MFC's after 2 weeks must ensure that compiling with IPFIREWALL_ > FORWARD enabled the sysctl at the same time to keep kernel configs > within 9-stable working. Yes, it wil

Re: svn commit: r242079 - in head: sbin/ipfw share/man/man4 sys/conf sys/net sys/netinet sys/netinet6 sys/netpfil/ipfw

2012-10-25 Thread Andrey V. Elsukov
hink it makes sense to retain the option, but > make the option simply change the default from off to on. That avoids > breaking existing kernel configurations. Yes, this is exactly what i plan to do. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

svn commit: r242082 - head

2012-10-25 Thread Andrey V. Elsukov
Author: ae Date: Thu Oct 25 10:35:08 2012 New Revision: 242082 URL: http://svn.freebsd.org/changeset/base/242082 Log: Note the removal of the IPFIREWALL_FORWARD kernel option. Modified: head/UPDATING Modified: head/UPDATING

<    3   4   5   6   7   8   9   10   11   >