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: 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: 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: 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: 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: 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: 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: 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: 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: 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: 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: r284565 - stable/10/sys/geom/part

2015-06-18 Thread Andrey V. Elsukov
Author: ae Date: Thu Jun 18 17:42:24 2015 New Revision: 284565 URL: https://svnweb.freebsd.org/changeset/base/284565 Log: MFC r284151: Teach G_PART_GPT class handle g_resize_provider event. Modified: stable/10/sys/geom/part/g_part_gpt.c Directory Properties: stable/10/ (props

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

2015-06-02 Thread Andrey V. Elsukov
Author: ae Date: Wed Jun 3 02:50:58 2015 New Revision: 283937 URL: https://svnweb.freebsd.org/changeset/base/283937 Log: MFC r283146: 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

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

2015-06-01 Thread Andrey V. Elsukov
Author: ae Date: Tue Jun 2 03:43:36 2015 New Revision: 283902 URL: https://svnweb.freebsd.org/changeset/base/283902 Log: MFC r275390: Remove unused declartations. MFC r275437: ANSIfy function declarations. MFC r275438: Remove __P() macro. Sponsored by: Yandex LLC

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

2015-06-01 Thread Andrey V. Elsukov
Author: ae Date: Tue Jun 2 03:51:33 2015 New Revision: 283903 URL: https://svnweb.freebsd.org/changeset/base/283903 Log: MFC r283101: 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

svn commit: r283901 - in stable/10/sys: netinet netinet6 netipsec

2015-06-01 Thread Andrey V. Elsukov
Author: ae Date: Tue Jun 2 03:14:42 2015 New Revision: 283901 URL: https://svnweb.freebsd.org/changeset/base/283901 Log: MFC r275392: Remove route chaching support from ipsec code. It isn't used for some time. * remove sa_route_union declaration and route_cache member from struct

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

2015-07-28 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 28 08:22:50 2015 New Revision: 285936 URL: https://svnweb.freebsd.org/changeset/base/285936 Log: MFC r285735: lseek() allows an offset to be set beyond the end of file. Using it to check that partition has enough space to write bootcode doesn't work. Use the

svn commit: r286207 - stable/10/sys/geom/part

2015-08-02 Thread Andrey V. Elsukov
Author: ae Date: Sun Aug 2 16:25:21 2015 New Revision: 286207 URL: https://svnweb.freebsd.org/changeset/base/286207 Log: MFC r285889: Report the scheme and provider names in warning message about unaligned partition. PR: 201873 Modified:

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

2015-08-05 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 5 11:24:40 2015 New Revision: 286316 URL: https://svnweb.freebsd.org/changeset/base/286316 Log: MFC r285710: Invoke LLE event handler when entry is deleted. Modified: stable/10/sys/netinet6/in6.c Directory Properties: stable/10/ (props changed) Modified:

Re: svn commit: r285731 - stable/10/sys/dev/ixgbe

2015-07-21 Thread Andrey V. Elsukov
violation. -- WBR, Andrey V. Elsukov ___ svn-src-stable-10@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-stable-10 To unsubscribe, send any mail to svn-src-stable-10-unsubscr...@freebsd.org

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

2015-11-04 Thread Andrey V. Elsukov
Author: ae Date: Wed Nov 4 10:42:51 2015 New Revision: 290360 URL: https://svnweb.freebsd.org/changeset/base/290360 Log: MFC r290116: Check the size of data available in mbuf before using it. PR: 202667 Modified: stable/10/sys/net/if_gre.c Directory Properties:

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

2015-10-12 Thread Andrey V. Elsukov
Author: ae Date: Mon Oct 12 07:49:07 2015 New Revision: 289169 URL: https://svnweb.freebsd.org/changeset/base/289169 Log: MFC r288529: Always detach encap handler when reconfiguring tunnel. Modified: stable/10/sys/net/if_gre.c Directory Properties: stable/10/ (props changed)

svn commit: r289170 - stable/10/sbin/ipfw

2015-10-12 Thread Andrey V. Elsukov
Author: ae Date: Mon Oct 12 07:50:27 2015 New Revision: 289170 URL: https://svnweb.freebsd.org/changeset/base/289170 Log: MFC r288528: Fix possible segmentation fault. PR: 203494 Modified: stable/10/sbin/ipfw/ipfw2.c Directory Properties: stable/10/ (props changed)

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

2015-12-07 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 8 07:26:16 2015 New Revision: 291986 URL: https://svnweb.freebsd.org/changeset/base/291986 Log: MFC r291578: mld_v2_dispatch_general_query() is used by mld_fasttimo_vnet() to send a reply to the MLDv2 General Query. In case when router has a lot of

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

2015-12-07 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 8 07:43:12 2015 New Revision: 291990 URL: https://svnweb.freebsd.org/changeset/base/291990 Log: MFC r291579: In the same way fix the problem described in r291578 for IGMPv3. In case when router has a lot of multicast groups, the reply can take several

svn commit: r293634 - in stable/10: sbin/geom/class/part sys/boot/common sys/geom/part

2016-01-10 Thread Andrey V. Elsukov
Author: ae Date: Sun Jan 10 13:53:57 2016 New Revision: 293634 URL: https://svnweb.freebsd.org/changeset/base/293634 Log: MFC r292057: Make detection of GPT a bit more reliable. When we are detecting a partition table and didn't find PMBR, try to read backup GPT header from the

svn commit: r297211 - stable/10/sys/compat/linux

2016-03-23 Thread Andrey V. Elsukov
Author: ae Date: Wed Mar 23 18:21:26 2016 New Revision: 297211 URL: https://svnweb.freebsd.org/changeset/base/297211 Log: MFC r296557: Add support for IPPROTO_IPV6 socket layer for getsockopt/setsockopt calls. Also add mapping for several options from RFC 3493 and 3542. Modified:

svn commit: r296311 - in stable/10: sbin/ipfw sys/netpfil/ipfw

2016-03-02 Thread Andrey V. Elsukov
Author: ae Date: Wed Mar 2 13:38:21 2016 New Revision: 296311 URL: https://svnweb.freebsd.org/changeset/base/296311 Log: MFC r295969: Fix bug in filling and handling ipfw's O_DSCP opcode. Due to integer overflow CS4 token was handled as BE. PR: 207459 Approved by: re

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

2016-03-09 Thread Andrey V. Elsukov
Author: ae Date: Wed Mar 9 10:01:28 2016 New Revision: 296558 URL: https://svnweb.freebsd.org/changeset/base/296558 Log: MFC r295967: Fix useless check. m_pkthdr.len should be equal to orglen. Modified: stable/10/sys/netipsec/key.c Directory Properties: stable/10/ (props changed)

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

2016-03-31 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 31 09:55:21 2016 New Revision: 297445 URL: https://svnweb.freebsd.org/changeset/base/297445 Log: MFC r296984: Change in6_selectsrc() to allow usage of non-local IPv6 addresses in IPV6_PKTINFO ancillary data when IPV6_BINDANY socket option is set. Modified:

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

2016-04-26 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 26 11:55:28 2016 New Revision: 298628 URL: https://svnweb.freebsd.org/changeset/base/298628 Log: MFC r297820: Fix the problem, when gpart(8) can't write both bootcode and partcode in one command due to wrong file size limit. Do not use bootcode size to

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

2017-03-20 Thread Andrey V. Elsukov
Author: ae Date: Mon Mar 20 08:16:05 2017 New Revision: 315625 URL: https://svnweb.freebsd.org/changeset/base/315625 Log: MFC r315192: Ignore ifnet renaming in the bpf ifnet departure handler. PR: 213015 Modified: stable/10/sys/net/bpf.c Directory Properties: stable/10/

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

2017-04-18 Thread Andrey V. Elsukov
Author: ae Date: Tue Apr 18 09:22:06 2017 New Revision: 317082 URL: https://svnweb.freebsd.org/changeset/base/317082 Log: MFC r316716: Inherit IPv6 checksum offloading flags to vlan interfaces. if_vlan(4) interfaces inherit IPv4 checksum offloading flags from the parent when

svn commit: r321516 - stable/10/sys/dev/bxe

2017-07-26 Thread Andrey V. Elsukov
Author: ae Date: Wed Jul 26 11:03:13 2017 New Revision: 321516 URL: https://svnweb.freebsd.org/changeset/base/321516 Log: MFC r321203: Add HPE FlexFabric 10Gb 4-port 536FLR-T device id to the bxe(4) driver. Modified: stable/10/sys/dev/bxe/bxe.c stable/10/sys/dev/bxe/bxe.h Directory

svn commit: r322744 - in stable/10: share/man/man4 sys/conf sys/modules/geom/geom_map

2017-08-21 Thread Andrey V. Elsukov
Author: ae Date: Mon Aug 21 10:07:12 2017 New Revision: 322744 URL: https://svnweb.freebsd.org/changeset/base/322744 Log: MFC r284152: Add makefile to build geom_map kld. Document some GEOM_* options in NOTES and geom(4). PR: 197766 Approved by: re (kib) Added:

svn commit: r325230 - stable/10/sys/netpfil/ipfw

2017-10-31 Thread Andrey V. Elsukov
Author: ae Date: Tue Oct 31 11:09:39 2017 New Revision: 325230 URL: https://svnweb.freebsd.org/changeset/base/325230 Log: MFC r324947: Add IPv6 support for O_TCPDATALEN opcode. PR: 222746 Modified: stable/10/sys/netpfil/ipfw/ip_fw2.c Directory Properties: stable/10/

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

2017-12-23 Thread Andrey V. Elsukov
Author: ae Date: Sun Dec 24 02:06:16 2017 New Revision: 327142 URL: https://svnweb.freebsd.org/changeset/base/327142 Log: MFC r326898: Fix possible memory leak. vxlan_ftable entries are sorted in descending order, due to wrong arguments order it is possible to stop search before

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

2018-01-31 Thread Andrey V. Elsukov
Author: ae Date: Wed Jan 31 09:26:28 2018 New Revision: 328621 URL: https://svnweb.freebsd.org/changeset/base/328621 Log: MFC r328350: Merge revision 1.35 from NetBSD: fix pointer/offset mistakes in handling of IPv4 options Reported by: Maxime Villard MFC r328352:

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

2018-02-05 Thread Andrey V. Elsukov
Author: ae Date: Mon Feb 5 09:25:53 2018 New Revision: 328878 URL: https://svnweb.freebsd.org/changeset/base/328878 Log: MFC r328770: Merge r1.120 from NetBSD: Fix a pretty simple, yet pretty tragic typo: we should return IPPROTO_DONE, not IPPROTO_NONE. With IPPROTO_NONE we

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

2018-02-12 Thread Andrey V. Elsukov
Author: ae Date: Mon Feb 12 13:52:58 2018 New Revision: 329158 URL: https://svnweb.freebsd.org/changeset/base/329158 Log: MFC r328876: Modify ip6_get_prevhdr() to be able use it safely. Instead of returning pointer to the previous header, return its offset. In frag6_input() use

svn commit: r335474 - stable/10/sys/netinet/libalias

2018-06-21 Thread Andrey V. Elsukov
Author: ae Date: Thu Jun 21 11:24:20 2018 New Revision: 335474 URL: https://svnweb.freebsd.org/changeset/base/335474 Log: MFC r335133: In m_megapullup() use m_getjcl() to allocate 9k or 16k mbuf when requested. It is better to try allocate a big mbuf, than just silently drop a big

svn commit: r331202 - in stable/10: sbin/ipfw sys/netpfil/ipfw

2018-03-19 Thread Andrey V. Elsukov
Author: ae Date: Mon Mar 19 09:54:16 2018 New Revision: 331202 URL: https://svnweb.freebsd.org/changeset/base/331202 Log: MFC r330792: Do not try to reassemble IPv6 fragments in "reass" rule. ip_reass() expects IPv4 packet and will just corrupt any IPv6 packets that it gets.