svn commit: r276148 - in head: . sys/net sys/netinet sys/netinet6

2014-12-23 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 23 16:17:37 2014 New Revision: 276148 URL: https://svnweb.freebsd.org/changeset/base/276148 Log: Remove in_gif.h and in6_gif.h files. They only contain function declarations used by gif(4). Instead declare these functions in C files. Also make some variables static.

svn commit: r276149 - in stable/10: share/man/man4 sys/conf sys/net sys/netinet sys/netinet6

2014-12-23 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 23 16:33:44 2014 New Revision: 276149 URL: https://svnweb.freebsd.org/changeset/base/276149 Log: MFC r273087 (with modifications): Overhaul if_gif(4): o convert to if_transmit; o use rmlock to protect access to gif_softc; o use sx lock to protect from

svn commit: r276152 - in head: . sys/net

2014-12-23 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 23 20:54:59 2014 New Revision: 276152 URL: https://svnweb.freebsd.org/changeset/base/276152 Log: Remove if_stf.h. It contains only one function declaration used by if_stf(4). Also make in_stf_protosw structure static. Deleted: head/sys/net/if_stf.h Modified:

svn commit: r276188 - head/sys/netipsec

2014-12-24 Thread Andrey V. Elsukov
Author: ae Date: Wed Dec 24 18:34:56 2014 New Revision: 276188 URL: https://svnweb.freebsd.org/changeset/base/276188 Log: Rename ip4_def_policy variable to def_policy. It is used by both IPv4 and IPv6. Initialize it only once in def_policy_init(). Remove its initialization from key_init()

svn commit: r276199 - head/sys/netipsec

2014-12-25 Thread Andrey V. Elsukov
Author: ae Date: Thu Dec 25 13:38:51 2014 New Revision: 276199 URL: https://svnweb.freebsd.org/changeset/base/276199 Log: Fix VIMAGE build. Modified: head/sys/netipsec/key.c Modified: head/sys/netipsec/key.c == ---

svn commit: r276215 - in head/sys: net netinet netinet6

2014-12-25 Thread Andrey V. Elsukov
Author: ae Date: Thu Dec 25 21:32:37 2014 New Revision: 276215 URL: https://svnweb.freebsd.org/changeset/base/276215 Log: Extern declarations in C files loses compile-time checking that the functions' calls match their definitions. Move them to header files. Reviewed by: jilles

svn commit: r278268 - head/sys/netinet6

2015-02-05 Thread Andrey V. Elsukov
Author: ae Date: Thu Feb 5 16:29:26 2015 New Revision: 278268 URL: https://svnweb.freebsd.org/changeset/base/278268 Log: Print IPv6 address in log message instead of address of pointer. MFC after:1 week Modified: head/sys/netinet6/in6.c Modified: head/sys/netinet6/in6.c

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

2015-02-06 Thread Andrey V. Elsukov
need to think :) # sysctl kern.geom.confxml -- WBR, Andrey V. Elsukov ___ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to svn-src-all-unsubscr...@freebsd.org

svn commit: r277295 - head/sys/net

2015-01-17 Thread Andrey V. Elsukov
Author: ae Date: Sat Jan 17 11:32:09 2015 New Revision: 277295 URL: https://svnweb.freebsd.org/changeset/base/277295 Log: Fix condition and really sort ports. Also add comment describing the intent of this code. Reported by: sbruno MFC after:1 week Sponsored by: Yandex LLC

svn commit: r277297 - stable/10/sys/net

2015-01-17 Thread Andrey V. Elsukov
Author: ae Date: Sat Jan 17 11:43:13 2015 New Revision: 277297 URL: https://svnweb.freebsd.org/changeset/base/277297 Log: MFC r276901: Move the recursion detection code into separate function gif_check_nesting(). Also make MTAG_GIF definition private to if_gif.c. MFC r276907:

Re: svn commit: r277179 - in head/sys: dev/usb kern sys

2015-01-14 Thread Andrey V. Elsukov
its children. It is ok? -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: svn commit: r277204 - head/sys/amd64/conf

2015-01-15 Thread Andrey V. Elsukov
to modules, loader does a lot of superfluous disk access, and to remedy this we need smart(er) caching implementation. Did you try on recent FreeBSD versions? E.g. stable/9 after r243243, or just /boot/loader from head/ ? -- WBR, Andrey V. Elsukov

svn commit: r278620 - stable/10/sys/netinet6

2015-02-12 Thread Andrey V. Elsukov
Author: ae Date: Thu Feb 12 11:10:07 2015 New Revision: 278620 URL: https://svnweb.freebsd.org/changeset/base/278620 Log: MFC r278268: Print IPv6 address in log message instead of address of pointer. Modified: stable/10/sys/netinet6/in6.c Directory Properties: stable/10/ (props

Re: svn commit: r278880 - head/sys/dev/ic

2015-02-17 Thread Andrey V. Elsukov
it should be added to ObsoleteFiles.inc. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

svn commit: r277707 - stable/10/sys/net

2015-01-25 Thread Andrey V. Elsukov
Author: ae Date: Sun Jan 25 16:35:03 2015 New Revision: 277707 URL: https://svnweb.freebsd.org/changeset/base/277707 Log: MFC r277295: Fix condition and really sort ports. Also add comment describing the intent of this code. Modified: stable/10/sys/net/if_lagg.c Directory Properties:

svn commit: r277562 - head/sbin/ping

2015-01-23 Thread Andrey V. Elsukov
Author: ae Date: Fri Jan 23 13:26:35 2015 New Revision: 277562 URL: https://svnweb.freebsd.org/changeset/base/277562 Log: After r270929 RAW IP code assumes that all IP fields are in network byte order. Fix ping(8) to pass an IP header with converted ip_off and ip_len fields, when IP_HDRINCL

svn commit: r277797 - head/sys/netipsec

2015-01-27 Thread Andrey V. Elsukov
Author: ae Date: Tue Jan 27 17:46:55 2015 New Revision: 277797 URL: https://svnweb.freebsd.org/changeset/base/277797 Log: key_spdget uses key_setdumpsp() without SPTREE_RLOCK held (it uses referenced pointer to sp). Remove SPTREE_RLOCK_ASSERT from key_setdumpsp() to fix wrong assertion.

svn commit: r276901 - head/sys/net

2015-01-09 Thread Andrey V. Elsukov
Author: ae Date: Sat Jan 10 03:13:16 2015 New Revision: 276901 URL: https://svnweb.freebsd.org/changeset/base/276901 Log: Move the recursion detection code into separate function gif_check_nesting(). Also make MTAG_GIF definition private to if_gif.c. MFC after:1 week Modified:

svn commit: r276903 - head/sys/net

2015-01-09 Thread Andrey V. Elsukov
Author: ae Date: Sat Jan 10 03:29:17 2015 New Revision: 276903 URL: https://svnweb.freebsd.org/changeset/base/276903 Log: Use if_name() macro instead of ifp-if_xname. MFH: 1 week Modified: head/sys/net/if_gif.c Modified: head/sys/net/if_gif.c

svn commit: r276902 - head/sys/net

2015-01-09 Thread Andrey V. Elsukov
Author: ae Date: Sat Jan 10 03:26:46 2015 New Revision: 276902 URL: https://svnweb.freebsd.org/changeset/base/276902 Log: Fix an error introduced in r274246. Pass mtag argument into m_tag_locate() to continue the search from the last found mtag. X-MFC after: r274246 Modified:

svn commit: r276907 - head/sys/net

2015-01-10 Thread Andrey V. Elsukov
Author: ae Date: Sat Jan 10 08:28:50 2015 New Revision: 276907 URL: https://svnweb.freebsd.org/changeset/base/276907 Log: Restore Ethernet-within-IP Encapsulation support that was broken after r273087. Move all checks from gif_output() into gif_transmit(). Previously they were checked

svn commit: r280236 - head/sys/netinet6

2015-03-18 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 19 00:04:25 2015 New Revision: 280236 URL: https://svnweb.freebsd.org/changeset/base/280236 Log: To avoid a possible race, release the reference to ifa after return from nd6_dad_na_input(). Submitted by: Alexandre Martins MFC after:1 week Modified:

svn commit: r280251 - stable/10/sys/netpfil/pf

2015-03-19 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 19 12:49:55 2015 New Revision: 280251 URL: https://svnweb.freebsd.org/changeset/base/280251 Log: MFC r279910: Reset mbuf pointer to NULL in fastroute case to indicate that mbuf was consumed by filter. This fixes several panics due to accessing to mbuf after

svn commit: r280256 - stable/10/sys/net

2015-03-19 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 19 13:10:09 2015 New Revision: 280256 URL: https://svnweb.freebsd.org/changeset/base/280256 Log: MFC r279920: Add if_input_default() method, that will be used for if_input initialization, when no input method specified before if_attach(). This prevents

svn commit: r280261 - in stable/10: sbin/geom/class/part sys/geom/part sys/sys

2015-03-19 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 19 14:09:27 2015 New Revision: 280261 URL: https://svnweb.freebsd.org/changeset/base/280261 Log: MFC r269854: Remove duplicate entry. MFC r279935: Add GUID and alias for Apple Core Storage partition. PR: 196241 Modified:

svn commit: r280257 - stable/9/sys/net

2015-03-19 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 19 13:33:15 2015 New Revision: 280257 URL: https://svnweb.freebsd.org/changeset/base/280257 Log: MFC r279920: Add if_input_default() method, that will be used for if_input initialization, when no input method specified before if_attach(). This prevents

svn commit: r279911 - stable/10/sys/netinet6

2015-03-12 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 12 09:04:19 2015 New Revision: 279911 URL: https://svnweb.freebsd.org/changeset/base/279911 Log: MFC r279588: Fix deadlock in IPv6 PCB code. When several threads are trying to send datagram to the same destination, but fragmentation is disabled and

svn commit: r279912 - stable/9/sys/netinet6

2015-03-12 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 12 09:16:50 2015 New Revision: 279912 URL: https://svnweb.freebsd.org/changeset/base/279912 Log: MFC r279588: Fix deadlock in IPv6 PCB code. When several threads are trying to send datagram to the same destination, but fragmentation is disabled and

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

2015-03-12 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 12 08:57:24 2015 New Revision: 279910 URL: https://svnweb.freebsd.org/changeset/base/279910 Log: Reset mbuf pointer to NULL in fastroute case to indicate that mbuf was consumed by filter. This fixes several panics due to accessing to mbuf after free. Submitted

svn commit: r279735 - head/sys/netipsec

2015-03-07 Thread Andrey V. Elsukov
Author: ae Date: Sat Mar 7 18:44:52 2015 New Revision: 279735 URL: https://svnweb.freebsd.org/changeset/base/279735 Log: Remove extra ''. sin6 is already a pointer. PR: 195011 MFC after:1 week Modified: head/sys/netipsec/key.c Modified: head/sys/netipsec/key.c

svn commit: r279730 - head/sys/netinet

2015-03-07 Thread Andrey V. Elsukov
Author: ae Date: Sat Mar 7 18:33:08 2015 New Revision: 279730 URL: https://svnweb.freebsd.org/changeset/base/279730 Log: lla_lookup() can directly call llentry_free() for static entries and the last one requires to hold afdata's wlock. PR: 197096 MFC after:1 week

svn commit: r279920 - head/sys/net

2015-03-12 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 12 14:55:33 2015 New Revision: 279920 URL: https://svnweb.freebsd.org/changeset/base/279920 Log: Add if_input_default() method, that will be used for if_input initialization, when no input method specified before if_attach(). This prevents panics when if_input()

svn commit: r279989 - stable/10/sys/netipsec

2015-03-14 Thread Andrey V. Elsukov
Author: ae Date: Sat Mar 14 14:38:25 2015 New Revision: 279989 URL: https://svnweb.freebsd.org/changeset/base/279989 Log: MFC r279735: Remove extra ''. sin6 is already a pointer. PR: 195011 Modified: stable/10/sys/netipsec/key.c Directory Properties: stable/10/ (props

svn commit: r279988 - stable/10/sys/netinet

2015-03-14 Thread Andrey V. Elsukov
Author: ae Date: Sat Mar 14 14:35:07 2015 New Revision: 279988 URL: https://svnweb.freebsd.org/changeset/base/279988 Log: MFC r279730: lla_lookup() can directly call llentry_free() for static entries and the last one requires to hold afdata's wlock. PR: 197096 Modified:

svn commit: r279990 - stable/9/sys/netinet

2015-03-14 Thread Andrey V. Elsukov
Author: ae Date: Sat Mar 14 14:44:03 2015 New Revision: 279990 URL: https://svnweb.freebsd.org/changeset/base/279990 Log: MFC r279730: lla_lookup() can directly call llentry_free() for static entries and the last one requires to hold afdata's wlock. PR: 197096 Modified:

svn commit: r279991 - stable/9/sys/netipsec

2015-03-14 Thread Andrey V. Elsukov
Author: ae Date: Sat Mar 14 14:46:10 2015 New Revision: 279991 URL: https://svnweb.freebsd.org/changeset/base/279991 Log: MFC r279735: Remove extra ''. sin6 is already a pointer. PR: 195011 Modified: stable/9/sys/netipsec/key.c Directory Properties: stable/9/sys/

svn commit: r279948 - in head: sbin/ipfw sys/netinet sys/netpfil/ipfw

2015-03-13 Thread Andrey V. Elsukov
Author: ae Date: Fri Mar 13 09:03:25 2015 New Revision: 279948 URL: https://svnweb.freebsd.org/changeset/base/279948 Log: Fix `ipfw fwd tablearg'. Use dedicated field nh4 in struct table_value to obtain IPv4 next hop address in tablearg case. Add `fwd tablearg' support for IPv6. ipfw(8)

svn commit: r279956 - head/sbin/ipfw

2015-03-13 Thread Andrey V. Elsukov
Author: ae Date: Fri Mar 13 13:46:50 2015 New Revision: 279956 URL: https://svnweb.freebsd.org/changeset/base/279956 Log: Properly initialize scope zone id when next hop address stored directly in the O_FORWARD_IP6 opcode. Use getnameinfo(3) to formatting the IPv6 addresses of such opcodes.

svn commit: r279935 - in head: sbin/geom/class/part sys/geom/part sys/sys

2015-03-12 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 12 18:51:31 2015 New Revision: 279935 URL: https://svnweb.freebsd.org/changeset/base/279935 Log: Add GUID and alias for Apple Core Storage partition. PR: 196241 MFC after:1 week Modified: head/sbin/geom/class/part/gpart.8

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

2015-03-25 Thread Andrey V. Elsukov
and it is not related to the INET6 stack implementation. Hi, maybe it will be better just remove ip6_sprintf() and use inet_ntop() instead? -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

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

2015-03-31 Thread Andrey V. Elsukov
Author: ae Date: Tue Mar 31 14:41:29 2015 New Revision: 280910 URL: https://svnweb.freebsd.org/changeset/base/280910 Log: The offset variable has been cleared all bits except IP6F_OFF_MASK. Use ip6f_mf variable instead of checking its bits. Modified: head/sys/netpfil/ipfw/ip_fw_log.c

svn commit: r279645 - stable/9/sbin/geom/class/part

2015-03-05 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 5 10:07:09 2015 New Revision: 279645 URL: https://svnweb.freebsd.org/changeset/base/279645 Log: MFC r279324: When gpart(8) is trying automatically determine the first available block of free space after existing partition, take into account provider's

svn commit: r279588 - head/sys/netinet6

2015-03-04 Thread Andrey V. Elsukov
Author: ae Date: Wed Mar 4 11:20:01 2015 New Revision: 279588 URL: https://svnweb.freebsd.org/changeset/base/279588 Log: Fix deadlock in IPv6 PCB code. When several threads are trying to send datagram to the same destination, but fragmentation is disabled and datagram size exceeds link

svn commit: r279516 - stable/10/sys/kern

2015-03-01 Thread Andrey V. Elsukov
Author: ae Date: Mon Mar 2 07:51:14 2015 New Revision: 279516 URL: https://svnweb.freebsd.org/changeset/base/279516 Log: MFC r279206: In some cases soreceive_dgram() can return no data, but has control message. This can happen when application is sending packets too big for the

svn commit: r279517 - stable/9/sys/kern

2015-03-02 Thread Andrey V. Elsukov
Author: ae Date: Mon Mar 2 08:00:00 2015 New Revision: 279517 URL: https://svnweb.freebsd.org/changeset/base/279517 Log: MFC r279206: In some cases soreceive_dgram() can return no data, but has control message. This can happen when application is sending packets too big for the

svn commit: r279647 - stable/8/sbin/geom/class/part

2015-03-05 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 5 10:12:28 2015 New Revision: 279647 URL: https://svnweb.freebsd.org/changeset/base/279647 Log: MFC r279324: When gpart(8) is trying automatically determine the first available block of free space after existing partition, take into account provider's

svn commit: r279646 - stable/10/sbin/geom/class/part

2015-03-05 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 5 10:08:37 2015 New Revision: 279646 URL: https://svnweb.freebsd.org/changeset/base/279646 Log: MFC r279324: When gpart(8) is trying automatically determine the first available block of free space after existing partition, take into account provider's

svn commit: r279564 - head/sys/netinet6

2015-03-03 Thread Andrey V. Elsukov
Author: ae Date: Tue Mar 3 10:50:03 2015 New Revision: 279564 URL: https://svnweb.freebsd.org/changeset/base/279564 Log: Create nd6_ns_output_fib() function with extra argument fibnum. Use it to initialize mbuf's fibnum. Uninitialized fibnum value can lead to panic in the routing code.

svn commit: r279206 - head/sys/kern

2015-02-23 Thread Andrey V. Elsukov
Author: ae Date: Mon Feb 23 13:41:35 2015 New Revision: 279206 URL: https://svnweb.freebsd.org/changeset/base/279206 Log: In some cases soreceive_dgram() can return no data, but has control message. This can happen when application is sending packets too big for the path MTU and recvmsg()

svn commit: r279209 - head/sys/kern

2015-02-23 Thread Andrey V. Elsukov
Author: ae Date: Mon Feb 23 15:24:43 2015 New Revision: 279209 URL: https://svnweb.freebsd.org/changeset/base/279209 Log: soreceive_generic() still has similar KASSERT(), therefore instead of remove KASSERT(), change it to check mbuf isn't NULL. Suggested by: kib MFC after:1 week

svn commit: r279234 - head/sys/netipsec

2015-02-24 Thread Andrey V. Elsukov
Author: ae Date: Tue Feb 24 10:35:07 2015 New Revision: 279234 URL: https://svnweb.freebsd.org/changeset/base/279234 Log: Fix possible memory leak and several races in the IPsec policy management code. Resurrect the state field in the struct secpolicy, it has IPSEC_SPSTATE_ALIVE value

svn commit: r279324 - head/sbin/geom/class/part

2015-02-26 Thread Andrey V. Elsukov
Author: ae Date: Thu Feb 26 15:59:45 2015 New Revision: 279324 URL: https://svnweb.freebsd.org/changeset/base/279324 Log: When gpart(8) is trying automatically determine the first available block of free space after existing partition, take into account provider's stripeoffset, since the

svn commit: r280707 - stable/9/sys/netinet6

2015-03-26 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 26 18:51:00 2015 New Revision: 280707 URL: https://svnweb.freebsd.org/changeset/base/280707 Log: MFC r280236: To avoid a possible race, release the reference to ifa after return from nd6_dad_na_input(). Modified: stable/9/sys/netinet6/nd6_nbr.c Directory

svn commit: r280705 - stable/10/sys/netinet6

2015-03-26 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 26 18:44:59 2015 New Revision: 280705 URL: https://svnweb.freebsd.org/changeset/base/280705 Log: MFC r280236: To avoid a possible race, release the reference to ifa after return from nd6_dad_na_input(). Modified: stable/10/sys/netinet6/nd6_nbr.c Directory

svn commit: r280720 - head/sys/net

2015-03-26 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 26 23:40:22 2015 New Revision: 280720 URL: https://svnweb.freebsd.org/changeset/base/280720 Log: Fix a possible mbuf leak on interface departure. Reported by: Alexandre Martins Modified: head/sys/net/if_lagg.c Modified: head/sys/net/if_lagg.c

svn commit: r279684 - head/sys/netinet6

2015-03-05 Thread Andrey V. Elsukov
Author: ae Date: Fri Mar 6 05:50:39 2015 New Revision: 279684 URL: https://svnweb.freebsd.org/changeset/base/279684 Log: tcp6_ctlinput() doesn't pass MTU value to in6_pcbnotify(). Check cmdarg isn't NULL before dereference, this check was in the ip6_notify_pmtu() before r279588.

svn commit: r282048 - head/sys/netipsec

2015-04-26 Thread Andrey V. Elsukov
Author: ae Date: Mon Apr 27 01:12:51 2015 New Revision: 282048 URL: https://svnweb.freebsd.org/changeset/base/282048 Log: Make ipsec_in_reject() static. We use ipsec[46]_in_reject() instead. Sponsored by: Yandex LLC Modified: head/sys/netipsec/ipsec.c head/sys/netipsec/ipsec.h

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

2015-04-26 Thread Andrey V. Elsukov
Author: ae Date: Mon Apr 27 00:55:56 2015 New Revision: 282046 URL: https://svnweb.freebsd.org/changeset/base/282046 Log: Fix possible use after free due to security policy deletion. When we are passing mbuf to IPSec processing via ipsec[46]_process_packet(), we hold one reference to

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

2015-04-26 Thread Andrey V. Elsukov
Author: ae Date: Mon Apr 27 01:11:09 2015 New Revision: 282047 URL: https://svnweb.freebsd.org/changeset/base/282047 Log: Remove now unneded KEY_FREESP() for case when ipsec[46]_process_packet() returns EJUSTRETURN. Sponsored by: Yandex LLC Modified: head/sys/netinet/ip_ipsec.c

svn commit: r281866 - stable/10/sys/netinet6

2015-04-22 Thread Andrey V. Elsukov
Author: ae Date: Wed Apr 22 19:41:29 2015 New Revision: 281866 URL: https://svnweb.freebsd.org/changeset/base/281866 Log: MFC r281309: Fix the check for maximum mbuf's size needed to send ND6 NA and NS. It is acceptable that the size can be equal to MCLBYTES. In the later KAME's

svn commit: r281867 - in stable/9/sys: dev/usb/wlan netinet6

2015-04-22 Thread Andrey V. Elsukov
Author: ae Date: Wed Apr 22 19:59:08 2015 New Revision: 281867 URL: https://svnweb.freebsd.org/changeset/base/281867 Log: MFC r281309: Fix the check for maximum mbuf's size needed to send ND6 NA and NS. It is acceptable that the size can be equal to MCLBYTES. In the later KAME's

svn commit: r281869 - in stable/9/sys: dev/usb/wlan netinet6

2015-04-22 Thread Andrey V. Elsukov
Author: ae Date: Wed Apr 22 20:48:56 2015 New Revision: 281869 URL: https://svnweb.freebsd.org/changeset/base/281869 Log: MFC r274988 (with modification): Skip L2 addresses lookups for tunneling interfaces. PR: 197286 Modified: stable/9/sys/netinet6/in6.c

svn commit: r281868 - stable/10/sys/netinet6

2015-04-22 Thread Andrey V. Elsukov
Author: ae Date: Wed Apr 22 20:42:17 2015 New Revision: 281868 URL: https://svnweb.freebsd.org/changeset/base/281868 Log: MFC r274988 (with modification): Skip L2 addresses lookups for tunneling interfaces. PR: 197286 Modified: stable/10/sys/netinet6/in6.c

svn commit: r281950 - head/sys/netinet

2015-04-24 Thread Andrey V. Elsukov
Author: ae Date: Fri Apr 24 21:05:29 2015 New Revision: 281950 URL: https://svnweb.freebsd.org/changeset/base/281950 Log: Fix possible reference leak. Sponsored by: Yandex LLC Modified: head/sys/netinet/tcp_subr.c Modified: head/sys/netinet/tcp_subr.c

svn commit: r281911 - stable/10/sys/netinet6

2015-04-23 Thread Andrey V. Elsukov
Author: ae Date: Fri Apr 24 02:12:25 2015 New Revision: 281911 URL: https://svnweb.freebsd.org/changeset/base/281911 Log: MFC r281380: Fix the IPV6_MULTICAST_IF sockopt handling. RFC 3493 says when the interface index is specified as zero, the system should select the interface to

svn commit: r281914 - stable/9/sys/netinet6

2015-04-23 Thread Andrey V. Elsukov
Author: ae Date: Fri Apr 24 02:43:02 2015 New Revision: 281914 URL: https://svnweb.freebsd.org/changeset/base/281914 Log: MFC r281380: Fix the IPV6_MULTICAST_IF sockopt handling. RFC 3493 says when the interface index is specified as zero, the system should select the interface to

svn commit: r282139 - head/sys/netipsec

2015-04-28 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 28 11:03:47 2015 New Revision: 282139 URL: https://svnweb.freebsd.org/changeset/base/282139 Log: Fix the comment. We will not do SPD lookup again, because ip[6]_ipsec_output() will find PACKET_TAG_IPSEC_OUT_DONE mbuf tag. Sponsored by: Yandex LLC Modified:

svn commit: r282536 - head/sys/net

2015-05-06 Thread Andrey V. Elsukov
Author: ae Date: Wed May 6 14:02:57 2015 New Revision: 282536 URL: https://svnweb.freebsd.org/changeset/base/282536 Log: Pass mtag argument into m_tag_locate() to continue the search from the last found mtag. Modified: head/sys/net/if_me.c Modified: head/sys/net/if_me.c

svn commit: r282594 - head/sys/kern

2015-05-07 Thread Andrey V. Elsukov
Author: ae Date: Thu May 7 18:35:01 2015 New Revision: 282594 URL: https://svnweb.freebsd.org/changeset/base/282594 Log: m_dup() is supposed to give a writable copy of an mbuf chain. It uses m_dup_pkthdr(), that uses M_COPYFLAGS mask to copy m_flags field. If original mbuf chain has

svn commit: r282575 - head/sys/netinet6

2015-05-07 Thread Andrey V. Elsukov
Author: ae Date: Thu May 7 12:15:45 2015 New Revision: 282575 URL: https://svnweb.freebsd.org/changeset/base/282575 Log: Remove unneded #ifdef INET6 and IPSEC. This file compiled only when both options are defined. Include opt_sctp.h and sctp_crc32.h to enable #ifdef SCTP code block and

svn commit: r282578 - head/sys/netinet6

2015-05-07 Thread Andrey V. Elsukov
Author: ae Date: Thu May 7 14:17:43 2015 New Revision: 282578 URL: https://svnweb.freebsd.org/changeset/base/282578 Log: Mark data checksum as valid for multicast packets, that we send back to myself via simloop. Also remove duplicate check under #ifdef DIAGNOSTIC. PR:

svn commit: r282465 - in head: sbin/geom/class/part sys/geom/part sys/sys

2015-05-05 Thread Andrey V. Elsukov
Author: ae Date: Tue May 5 09:33:02 2015 New Revision: 282465 URL: https://svnweb.freebsd.org/changeset/base/282465 Log: Add apple-boot, apple-hfs and apple-ufs aliases to MBR scheme. Sort DOSPTYP_* entries in diskmbr.h by value. Document these scheme-specific types in gpart(8). MFC

svn commit: r282809 - in head: sbin/ifconfig sys/net sys/sys

2015-05-12 Thread Andrey V. Elsukov
Author: ae Date: Tue May 12 07:37:27 2015 New Revision: 282809 URL: https://svnweb.freebsd.org/changeset/base/282809 Log: Add new socket ioctls SIOC[SG]TUNFIB to set FIB number of encapsulated packets on tunnel interfaces. Add support of these ioctls to gre(4), gif(4) and me(4) interfaces.

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

2015-05-12 Thread Andrey V. Elsukov
On 12.05.2015 10:25, Ermal Luçi wrote: Hello Andrey, do you plan to MFC this one? On Tue, Apr 28, 2015 at 11:29 AM, Andrey V. Elsukov a...@freebsd.org mailto:a...@freebsd.org wrote: Author: ae Date: Tue Apr 28 09:29:28 2015 New Revision: 282132 URL: https

svn commit: r282861 - in stable/10: sbin/geom/class/part sys/geom/part sys/sys

2015-05-13 Thread Andrey V. Elsukov
Author: ae Date: Wed May 13 14:05:53 2015 New Revision: 282861 URL: https://svnweb.freebsd.org/changeset/base/282861 Log: MFC r282465: Add apple-boot, apple-hfs and apple-ufs aliases to MBR scheme. Sort DOSPTYP_* entries in diskmbr.h by value. Document these scheme-specific types in

svn commit: r282895 - stable/9/sys/netinet6

2015-05-14 Thread Andrey V. Elsukov
Author: ae Date: Thu May 14 11:52:27 2015 New Revision: 282895 URL: https://svnweb.freebsd.org/changeset/base/282895 Log: MFC r282578: Mark data checksum as valid for multicast packets, that we send back to myself via simloop. Also remove duplicate check under #ifdef DIAGNOSTIC.

svn commit: r282965 - in head: sbin/ifconfig sys/net sys/netinet sys/netinet6

2015-05-15 Thread Andrey V. Elsukov
Author: ae Date: Fri May 15 12:19:45 2015 New Revision: 282965 URL: https://svnweb.freebsd.org/changeset/base/282965 Log: Add an ability accept encapsulated packets from different sources by one gif(4) interface. Add new option ignore_source for gif(4) interface. When it is enabled, gif's

svn commit: r282894 - stable/10/sys/netinet6

2015-05-14 Thread Andrey V. Elsukov
Author: ae Date: Thu May 14 11:47:18 2015 New Revision: 282894 URL: https://svnweb.freebsd.org/changeset/base/282894 Log: MFC r282578: Mark data checksum as valid for multicast packets, that we send back to myself via simloop. Also remove duplicate check under #ifdef DIAGNOSTIC.

svn commit: r283102 - head/sys/netipsec

2015-05-19 Thread Andrey V. Elsukov
Author: ae Date: Tue May 19 08:37:03 2015 New Revision: 283102 URL: https://svnweb.freebsd.org/changeset/base/283102 Log: Change SA's state before sending SADB_EXPIRE message. This state will be reported to keying daemon. MFC after:2 weeks Modified: head/sys/netipsec/key.c

svn commit: r283104 - head/sys/geom/uncompress

2015-05-19 Thread Andrey V. Elsukov
Author: ae Date: Tue May 19 09:28:52 2015 New Revision: 283104 URL: https://svnweb.freebsd.org/changeset/base/283104 Log: Read GEOM_UNCOMPRESS metadata using several requests that fit into MAXPHYS. For large compressed images the metadata size can be bigger than MAXPHYS and this triggers

svn commit: r283101 - head/sys/netipsec

2015-05-19 Thread Andrey V. Elsukov
Author: ae Date: Tue May 19 08:30:04 2015 New Revision: 283101 URL: https://svnweb.freebsd.org/changeset/base/283101 Log: Teach key_expire() send SADB_EXPIRE message with the SADB_EXT_LIFETIME_HARD extension header type. The key_flush_sad() now will send SADB_EXPIRE message when HARD

Re: svn commit: r281649 - in head/sys: dev/cxgbe/tom netinet netinet6

2015-04-17 Thread Andrey V. Elsukov
you call in6_clearscope() twice? Just to be sure? :) -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

svn commit: r281695 - head/sys/netipsec

2015-04-18 Thread Andrey V. Elsukov
Author: ae Date: Sat Apr 18 16:58:33 2015 New Revision: 281695 URL: https://svnweb.freebsd.org/changeset/base/281695 Log: Change ipsec_address() and ipsec_logsastr() functions to take two additional arguments - buffer and size of this buffer. ipsec_address() is used to convert sockaddr

svn commit: r281692 - in head/sys: conf netipsec

2015-04-18 Thread Andrey V. Elsukov
Author: ae Date: Sat Apr 18 16:38:45 2015 New Revision: 281692 URL: https://svnweb.freebsd.org/changeset/base/281692 Log: Remove xform_ipip.c and code related to XF_IP4. The only thing is used from this code is ipip_output() function, that does IPIP encapsulation. Other parts of XF_IP4

svn commit: r281693 - head/sys/netipsec

2015-04-18 Thread Andrey V. Elsukov
Author: ae Date: Sat Apr 18 16:46:31 2015 New Revision: 281693 URL: https://svnweb.freebsd.org/changeset/base/281693 Log: Fix handling of scoped IPv6 addresses in IPSec code. * in ipsec_encap() embed scope zone ids into link-local addresses in the new IPv6 header, this helps

svn commit: r281694 - head/sys/netipsec

2015-04-18 Thread Andrey V. Elsukov
Author: ae Date: Sat Apr 18 16:51:24 2015 New Revision: 281694 URL: https://svnweb.freebsd.org/changeset/base/281694 Log: Requeue mbuf via netisr when we use IPSec tunnel mode and IPv6. ipsec6_common_input_cb() uses partial copy of ip6_input() to parse headers. But this isn't correct,

svn commit: r281309 - head/sys/netinet6

2015-04-09 Thread Andrey V. Elsukov
Author: ae Date: Thu Apr 9 12:57:58 2015 New Revision: 281309 URL: https://svnweb.freebsd.org/changeset/base/281309 Log: Fix the check for maximum mbuf's size needed to send ND6 NA and NS. It is acceptable that the size can be equal to MCLBYTES. In the later KAME's code this check has been

svn commit: r283146 - head/sys/netipsec

2015-05-20 Thread Andrey V. Elsukov
Author: ae Date: Wed May 20 11:59:53 2015 New Revision: 283146 URL: https://svnweb.freebsd.org/changeset/base/283146 Log: In the reply to SADB_X_SPDGET message use the same sequence number that was in the request. Some IKE deamons expect it will the same. Linux and NetBSD also follow this

svn commit: r283117 - head/sys/netipsec

2015-05-19 Thread Andrey V. Elsukov
Author: ae Date: Tue May 19 17:14:27 2015 New Revision: 283117 URL: https://svnweb.freebsd.org/changeset/base/283117 Log: Remove unneded mbuf length adjustment, M_PREPEND() already did that. PR: 139387 MFC after:1 week Modified: head/sys/netipsec/keysock.c Modified:

svn commit: r283198 - stable/10/sys/kern

2015-05-21 Thread Andrey V. Elsukov
Author: ae Date: Thu May 21 08:28:35 2015 New Revision: 283198 URL: https://svnweb.freebsd.org/changeset/base/283198 Log: MFC r282594: m_dup() is supposed to give a writable copy of an mbuf chain. It uses m_dup_pkthdr(), that uses M_COPYFLAGS mask to copy m_flags field. If original

svn commit: r283200 - stable/9/sys/kern

2015-05-21 Thread Andrey V. Elsukov
Author: ae Date: Thu May 21 08:32:52 2015 New Revision: 283200 URL: https://svnweb.freebsd.org/changeset/base/283200 Log: MFC r282594: m_dup() is supposed to give a writable copy of an mbuf chain. It uses m_dup_pkthdr(), that uses M_COPYFLAGS mask to copy m_flags field. If original

svn commit: r284016 - stable/10/sys/netinet6

2015-06-05 Thread Andrey V. Elsukov
Author: ae Date: Fri Jun 5 07:23:32 2015 New Revision: 284016 URL: https://svnweb.freebsd.org/changeset/base/284016 Log: Rework r281868 to not skip RTM announces for tunneling interfaces. This is direct commit to stable/10. Tested by:tuexen@ Modified: stable/10/sys/netinet6/in6.c

svn commit: r284017 - stable/9/sys/netinet6

2015-06-05 Thread Andrey V. Elsukov
Author: ae Date: Fri Jun 5 07:34:52 2015 New Revision: 284017 URL: https://svnweb.freebsd.org/changeset/base/284017 Log: Rework r281869 to not skip RTM announces for tunneling interfaces. This is direct commit to stable/9. Modified: stable/9/sys/netinet6/in6.c Modified:

svn commit: r284018 - in stable/10/sys: net netinet

2015-06-05 Thread Andrey V. Elsukov
Author: ae Date: Fri Jun 5 08:10:08 2015 New Revision: 284018 URL: https://svnweb.freebsd.org/changeset/base/284018 Log: MFC r271918 (by hrs): - Virtualize interface cloner for gre(4). This fixes a panic when destroying a vnet jail which has a gre(4) interface. - Make

svn commit: r284072 - in stable/10: . sys/net sys/netinet sys/netinet6

2015-06-06 Thread Andrey V. Elsukov
Author: ae Date: Sat Jun 6 13:26:13 2015 New Revision: 284072 URL: https://svnweb.freebsd.org/changeset/base/284072 Log: MFC r276148: Remove in_gif.h and in6_gif.h files. They only contain function declarations used by gif(4). Instead declare these functions in C files. Also make

svn commit: r284066 - in stable/10: . sbin/ifconfig share/man/man4 sys/conf sys/modules sys/modules/if_gif sys/modules/if_gre sys/modules/if_me sys/net sys/netinet sys/netinet6

2015-06-06 Thread Andrey V. Elsukov
be found in RFC 2004. +A description of GRE encapsulation can be found in RFC 2784 and RFC 2890. .Sh AUTHORS -.An Heiko W.Rupp Aq h...@pilhuhn.de +.An Andrey V. Elsukov Aq Mt a...@freebsd.org +.An Heiko W.Rupp Aq Mt h...@pilhuhn.de .Sh BUGS -The -.Fn compute_route -code in -.Pa if_gre.c -toggles

svn commit: r284074 - in stable/10: sbin/ifconfig sys/net sys/sys

2015-06-06 Thread Andrey V. Elsukov
Author: ae Date: Sat Jun 6 13:37:11 2015 New Revision: 284074 URL: https://svnweb.freebsd.org/changeset/base/284074 Log: MFC r282809: Add new socket ioctls SIOC[SG]TUNFIB to set FIB number of encapsulated packets on tunnel interfaces. Add support of these ioctls to gre(4), gif(4)

svn commit: r284073 - stable/10/sys/net

2015-06-06 Thread Andrey V. Elsukov
Author: ae Date: Sat Jun 6 13:29:41 2015 New Revision: 284073 URL: https://svnweb.freebsd.org/changeset/base/284073 Log: MFC r276902,282536: Pass mtag argument into m_tag_locate() to continue the search from the last found mtag. Modified: stable/10/sys/net/if_me.c Directory

svn commit: r284075 - stable/10/share/man/man4

2015-06-06 Thread Andrey V. Elsukov
Author: ae Date: Sat Jun 6 13:39:20 2015 New Revision: 284075 URL: https://svnweb.freebsd.org/changeset/base/284075 Log: MFC r283897: Add example how to configure gre(4) tunnel with the same inner and outer addresses using multiple FIBs. Modified: stable/10/share/man/man4/gre.4

svn commit: r284152 - in head: share/man/man4 sys/conf sys/modules/geom/geom_map

2015-06-08 Thread Andrey V. Elsukov
Author: ae Date: Mon Jun 8 13:23:56 2015 New Revision: 284152 URL: https://svnweb.freebsd.org/changeset/base/284152 Log: Add makefile to build geom_map kld. Document some GEOM_* options in NOTES and geom(4). Added: head/sys/modules/geom/geom_map/ head/sys/modules/geom/geom_map/Makefile

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