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

2015-06-08 Thread Andrey V. Elsukov
Author: ae Date: Mon Jun 8 12:52:41 2015 New Revision: 284151 URL: https://svnweb.freebsd.org/changeset/base/284151 Log: Teach G_PART_GPT class to handle g_resize_provider event. MFC after:10 days Modified: head/sys/geom/part/g_part_gpt.c Modified: head/sys/geom/part/g_part_gpt.c

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: r284566 - head/sys/netinet

2015-06-18 Thread Andrey V. Elsukov
Author: ae Date: Thu Jun 18 18:28:38 2015 New Revision: 284566 URL: https://svnweb.freebsd.org/changeset/base/284566 Log: Fix possible use after free in encap[46]_input(). There is small window, when encap_detach() can free matched entry directly after we release encapmtx. Instead of use

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: r283696 - head/sys/netinet6

2015-05-29 Thread Andrey V. Elsukov
Author: ae Date: Fri May 29 10:24:16 2015 New Revision: 283696 URL: https://svnweb.freebsd.org/changeset/base/283696 Log: Move RTM announces into generic code to be independent from Layer2 code. This fixes bug introduced in 274988, when announces about new addresses don't sent for tunneling

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

2015-05-31 Thread Andrey V. Elsukov
Author: ae Date: Sun May 31 22:49:32 2015 New Revision: 283849 URL: https://svnweb.freebsd.org/changeset/base/283849 Log: MFC r283117: Remove unneded mbuf length adjustment, M_PREPEND() already did that. PR: 139387 Modified: stable/10/sys/netipsec/keysock.c Directory

svn commit: r283855 - stable/10/sys/net80211

2015-05-31 Thread Andrey V. Elsukov
Author: ae Date: Sun May 31 23:29:04 2015 New Revision: 283855 URL: https://svnweb.freebsd.org/changeset/base/283855 Log: MFC r283313: Properly update TX statistics for wlan(4). ieee80211_pwrsave() can fail due to queue overflow, check its return code and increment oerrors counter

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

2015-05-31 Thread Andrey V. Elsukov
Author: ae Date: Sun May 31 22:51:16 2015 New Revision: 283850 URL: https://svnweb.freebsd.org/changeset/base/283850 Log: MFC r283117: Remove unneded mbuf length adjustment, M_PREPEND() already did that. PR: 139387 Modified: stable/9/sys/netipsec/keysock.c Directory

svn commit: r283852 - in stable/10: sbin/ifconfig sys/net sys/netinet sys/netinet6

2015-05-31 Thread Andrey V. Elsukov
Author: ae Date: Sun May 31 22:58:41 2015 New Revision: 283852 URL: https://svnweb.freebsd.org/changeset/base/283852 Log: MFC r282965: Add an ability accept encapsulated packets from different sources by one gif(4) interface. Add new option ignore_source for gif(4) interface. When

svn commit: r283900 - stable/10/sys/geom/uncompress

2015-06-01 Thread Andrey V. Elsukov
Author: ae Date: Tue Jun 2 02:05:32 2015 New Revision: 283900 URL: https://svnweb.freebsd.org/changeset/base/283900 Log: MFC r283104: Read GEOM_UNCOMPRESS metadata using several requests that fit into MAXPHYS. For large compressed images the metadata size can be bigger than MAXPHYS

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: r283897 - head/share/man/man4

2015-06-01 Thread Andrey V. Elsukov
Author: ae Date: Tue Jun 2 00:47:38 2015 New Revision: 283897 URL: https://svnweb.freebsd.org/changeset/base/283897 Log: Add example howto configure gre(4) tunnel with the same inner and outer addresses using multiple FIBs. X-MFC after: r282809 Modified: head/share/man/man4/gre.4

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: r283899 - stable/10/sbin/dumpfs

2015-06-01 Thread Andrey V. Elsukov
Author: ae Date: Tue Jun 2 01:55:54 2015 New Revision: 283899 URL: https://svnweb.freebsd.org/changeset/base/283899 Log: MFC r283577: Print leading zeroes of UFS2 fs_id like we do for UFS1. PR: 156908 Modified: stable/10/sbin/dumpfs/dumpfs.c Directory Properties:

svn commit: r285107 - head/sys/netinet6

2015-07-03 Thread Andrey V. Elsukov
Author: ae Date: Fri Jul 3 19:01:38 2015 New Revision: 285107 URL: https://svnweb.freebsd.org/changeset/base/285107 Log: Keep IPv6 address specified by IPV6_PKTINFO socket option in kernel internal form to be able handle link-local IPv6 addresses. Reported by: kp Tested by:kp

svn commit: r285204 - head/sys/netipsec

2015-07-06 Thread Andrey V. Elsukov
Author: ae Date: Mon Jul 6 12:40:31 2015 New Revision: 285204 URL: https://svnweb.freebsd.org/changeset/base/285204 Log: Fill the port and protocol information in the SADB_ACQUIRE message in case when security policy has it as required by RFC 2367. PR: 192774 Differential

svn commit: r283313 - head/sys/net80211

2015-05-23 Thread Andrey V. Elsukov
Author: ae Date: Sat May 23 09:49:40 2015 New Revision: 283313 URL: https://svnweb.freebsd.org/changeset/base/283313 Log: Properly update TX statistics for wlan(4). ieee80211_pwrsave() can fail due to queue overflow, check its return code and increment oerrors counter when it fails. Also

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

2015-05-19 Thread Andrey V. Elsukov
the code, why it used i = total_offsets when it filled sc-offsets, it looks like a bug for me. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

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

2015-05-19 Thread Andrey V. Elsukov
as before. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

svn commit: r283577 - head/sbin/dumpfs

2015-05-26 Thread Andrey V. Elsukov
Author: ae Date: Tue May 26 18:27:38 2015 New Revision: 283577 URL: https://svnweb.freebsd.org/changeset/base/283577 Log: Print leading zeroes of UFS2 fs_id like we do for UFS1. PR: 156908 MFC after:1 week Modified: head/sbin/dumpfs/dumpfs.c Modified:

svn commit: r286720 - head/sys/dev/md

2015-08-13 Thread Andrey V. Elsukov
Author: ae Date: Thu Aug 13 13:20:29 2015 New Revision: 286720 URL: https://svnweb.freebsd.org/changeset/base/286720 Log: Use g_conf_printf_escaped() to escape illegal symbols in file name. PR: 202289 MFC after:1 week Modified: head/sys/dev/md/md.c Modified:

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: r285937 - stable/9/sbin/geom/class/part

2015-07-28 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 28 08:25:49 2015 New Revision: 285937 URL: https://svnweb.freebsd.org/changeset/base/285937 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: r286194 - head/sys/netinet6

2015-08-02 Thread Andrey V. Elsukov
Author: ae Date: Sun Aug 2 11:58:24 2015 New Revision: 286194 URL: https://svnweb.freebsd.org/changeset/base/286194 Log: Remove redundant check. Modified: head/sys/netinet6/in6_src.c Modified: head/sys/netinet6/in6_src.c

svn commit: r286195 - head/sys/netinet6

2015-08-02 Thread Andrey V. Elsukov
Author: ae Date: Sun Aug 2 12:40:56 2015 New Revision: 286195 URL: https://svnweb.freebsd.org/changeset/base/286195 Log: Properly handle IPV6_NEXTHOP socket option in selectroute(). o remove disabled code; o if nexthop address is link-local, use embedded scope zone id to

svn commit: r286209 - stable/9/sys/geom/part

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

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: r286001 - in head/sys: dev/cxgbe/tom net netinet netinet6

2015-07-29 Thread Andrey V. Elsukov
Author: ae Date: Wed Jul 29 08:12:05 2015 New Revision: 286001 URL: https://svnweb.freebsd.org/changeset/base/286001 Log: Convert in_ifaddr_lock and in6_ifaddr_lock to rmlock. Both are used to protect access to IP addresses lists and they can be acquired for reading several times per

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

2015-07-29 Thread Andrey V. Elsukov
Author: ae Date: Wed Jul 29 10:53:42 2015 New Revision: 286003 URL: https://svnweb.freebsd.org/changeset/base/286003 Log: Reduce overhead of ipfw's me6 opcode. Skip checks for IPv6 multicast addresses. Use in6_localip() for global unicast. And for IPv6 link-local addresses do search in

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

2015-08-05 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 5 10:59:59 2015 New Revision: 286315 URL: https://svnweb.freebsd.org/changeset/base/286315 Log: MFC r285888: Build debug version of rmlock's methods only when LOCK_DEBUG 0. Currently LOCK_DEBUG is always defined in sys/lock.h (0 or 1). This means that

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:

svn commit: r286112 - head/sys/netinet

2015-07-31 Thread Andrey V. Elsukov
Author: ae Date: Fri Jul 31 09:02:28 2015 New Revision: 286112 URL: https://svnweb.freebsd.org/changeset/base/286112 Log: Remove unneded #include opt_inet.h. Modified: head/sys/netinet/ip_ecn.h Modified: head/sys/netinet/ip_ecn.h

svn commit: r286114 - head/sys/net

2015-07-31 Thread Andrey V. Elsukov
Author: ae Date: Fri Jul 31 09:04:22 2015 New Revision: 286114 URL: https://svnweb.freebsd.org/changeset/base/286114 Log: Ansify if_stf.c Modified: head/sys/net/if_stf.c Modified: head/sys/net/if_stf.c == ---

svn commit: r286069 - in head/sys: modules modules/if_stf net

2015-07-30 Thread Andrey V. Elsukov
Author: ae Date: Thu Jul 30 10:26:43 2015 New Revision: 286069 URL: https://svnweb.freebsd.org/changeset/base/286069 Log: Build if_stf(4) module only when both INET and INET6 support are enabled. Modified: head/sys/modules/Makefile head/sys/modules/if_stf/Makefile head/sys/net/if_stf.c

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

2015-07-29 Thread Andrey V. Elsukov
Author: ae Date: Wed Jul 29 14:07:43 2015 New Revision: 286013 URL: https://svnweb.freebsd.org/changeset/base/286013 Log: Eliminate the use of m_copydata() in gif_encapcheck(). ip_encap already has inspected mbuf's data, at least an IP header. And it is safe to use mtod() and do direct

svn commit: r285888 - head/sys/kern

2015-07-26 Thread Andrey V. Elsukov
Author: ae Date: Sun Jul 26 10:53:32 2015 New Revision: 285888 URL: https://svnweb.freebsd.org/changeset/base/285888 Log: Build debug version of rmlock's methods only when LOCK_DEBUG 0. Currently LOCK_DEBUG is always defined in sys/lock.h (0 or 1). This means that debugging code always

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

2015-07-26 Thread Andrey V. Elsukov
Author: ae Date: Sun Jul 26 11:16:48 2015 New Revision: 285889 URL: https://svnweb.freebsd.org/changeset/base/285889 Log: Report the scheme and provider names in warning message about unaligned partition. PR: 201873 MFC after:1 week Modified:

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

2015-07-15 Thread Andrey V. Elsukov
Author: ae Date: Wed Jul 15 21:09:38 2015 New Revision: 285614 URL: https://svnweb.freebsd.org/changeset/base/285614 Log: MFC r285204: Fill the port and protocol information in the SADB_ACQUIRE message in case when security policy has it as required by RFC 2367. PR:

svn commit: r285710 - head/sys/netinet6

2015-07-20 Thread Andrey V. Elsukov
Author: ae Date: Mon Jul 20 06:54:50 2015 New Revision: 285710 URL: https://svnweb.freebsd.org/changeset/base/285710 Log: Invoke LLE event handler when entry is deleted. MFC after:2 weeks Sponsored by: Yandex LLC Modified: head/sys/netinet6/in6.c Modified: head/sys/netinet6/in6.c

svn commit: r285711 - head/sys/netinet6

2015-07-20 Thread Andrey V. Elsukov
Author: ae Date: Mon Jul 20 06:58:32 2015 New Revision: 285711 URL: https://svnweb.freebsd.org/changeset/base/285711 Log: Add LLE event handler to report ND6 events to userland via rtsock. Obtained from:Yandex LLC MFC after:2 weeks Sponsored by: Yandex LLC Modified:

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

2015-07-20 Thread Andrey V. Elsukov
Author: ae Date: Mon Jul 20 07:26:31 2015 New Revision: 285712 URL: https://svnweb.freebsd.org/changeset/base/285712 Log: Add helper functions for IP checksum adjusting. Use these functions in dummynet code and for setdscp. This fixes wrong checksums in some cases. Obtained from:

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

2015-07-21 Thread Andrey V. Elsukov
violation. -- 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: r285735 - head/sbin/geom/class/part

2015-07-21 Thread Andrey V. Elsukov
Author: ae Date: Tue Jul 21 06:18:42 2015 New Revision: 285735 URL: https://svnweb.freebsd.org/changeset/base/285735 Log: 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 known size of

svn commit: r290116 - head/sys/net

2015-10-28 Thread Andrey V. Elsukov
Author: ae Date: Wed Oct 28 17:55:37 2015 New Revision: 290116 URL: https://svnweb.freebsd.org/changeset/base/290116 Log: Check the size of data available in mbuf, before using them. PR: 202667 MFC after:1 week Modified: head/sys/net/if_gre.c Modified:

svn commit: r290924 - in head/sys: netipsec opencrypto

2015-11-15 Thread Andrey V. Elsukov
Author: ae Date: Mon Nov 16 07:10:42 2015 New Revision: 290924 URL: https://svnweb.freebsd.org/changeset/base/290924 Log: Use explicitly specified ivsize instead of blocksize when we mean IV size. Set zero ivsize for enc_xform_null and remove special handling from xform_esp.c. Reviewed

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

2015-11-03 Thread Andrey V. Elsukov
Author: ae Date: Tue Nov 3 10:21:53 2015 New Revision: 290330 URL: https://svnweb.freebsd.org/changeset/base/290330 Log: Implement `ipfw internal olist` command to list named objects. Reviewed by: melifaro Obtained from:Yandex LLC Sponsored by: Yandex LLC Modified:

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

2015-11-03 Thread Andrey V. Elsukov
Author: ae Date: Tue Nov 3 10:29:46 2015 New Revision: 290332 URL: https://svnweb.freebsd.org/changeset/base/290332 Log: Add ipfw_check_object_name_generic() function to do basic checks for an object name correctness. Each type of object can do more strict checking in own implementation.

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

2015-11-03 Thread Andrey V. Elsukov
Author: ae Date: Tue Nov 3 22:23:09 2015 New Revision: 290345 URL: https://svnweb.freebsd.org/changeset/base/290345 Log: Remove now obsolete KASSERT. Actually, object classify callbacks can skip some opcodes, that could be rewritten. We will deteremine real numbed of rewritten opcodes a

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: r290334 - head/sys/netpfil/ipfw

2015-11-03 Thread Andrey V. Elsukov
Author: ae Date: Tue Nov 3 10:34:26 2015 New Revision: 290334 URL: https://svnweb.freebsd.org/changeset/base/290334 Log: Eliminate any conditional increments of object_opcodes in the check_ipfw_rule_body() function. This function is intended to just determine that rule has some opcodes

svn commit: r289171 - stable/9/sbin/ipfw

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

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: r287252 - stable/9/sys/dev/md

2015-08-28 Thread Andrey V. Elsukov
Author: ae Date: Fri Aug 28 12:02:40 2015 New Revision: 287252 URL: https://svnweb.freebsd.org/changeset/base/287252 Log: MFC r286720: Use g_conf_printf_escaped() to escape illegal symbols in file name. PR: 202289 Modified: stable/9/sys/dev/md/md.c Directory Properties:

svn commit: r287859 - head/sys/net

2015-09-16 Thread Andrey V. Elsukov
Author: ae Date: Wed Sep 16 13:17:00 2015 New Revision: 287859 URL: https://svnweb.freebsd.org/changeset/base/287859 Log: Use KASSERT for some checks, that are late to do. Discussed with: melifaro, glebius Modified: head/sys/net/if_ethersubr.c Modified:

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

2015-09-30 Thread Andrey V. Elsukov
Author: ae Date: Wed Sep 30 08:16:33 2015 New Revision: 288418 URL: https://svnweb.freebsd.org/changeset/base/288418 Log: Take extra reference to security policy before calling crypto_dispatch(). Currently we perform crypto requests for IPSEC synchronous for most of crypto providers

svn commit: r288528 - head/sbin/ipfw

2015-10-02 Thread Andrey V. Elsukov
Author: ae Date: Sat Oct 3 03:12:57 2015 New Revision: 288528 URL: https://svnweb.freebsd.org/changeset/base/288528 Log: Fix possible segmentation fault. PR: 203494 MFC after:1 week Modified: head/sbin/ipfw/ipfw2.c Modified: head/sbin/ipfw/ipfw2.c

svn commit: r288529 - head/sys/net

2015-10-02 Thread Andrey V. Elsukov
Author: ae Date: Sat Oct 3 03:57:58 2015 New Revision: 288529 URL: https://svnweb.freebsd.org/changeset/base/288529 Log: Always detach encap handler when reconfiguring tunnel. Reported by: hrs MFC after:1 week Modified: head/sys/net/if_gre.c Modified: head/sys/net/if_gre.c

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

2015-12-07 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 8 07:36:26 2015 New Revision: 291988 URL: https://svnweb.freebsd.org/changeset/base/291988 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: r291991 - stable/9/sys/netinet

2015-12-07 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 8 07:47:01 2015 New Revision: 291991 URL: https://svnweb.freebsd.org/changeset/base/291991 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: 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: r291987 - stable/10/sys/netinet6

2015-12-07 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 8 07:31:26 2015 New Revision: 291987 URL: https://svnweb.freebsd.org/changeset/base/291987 Log: Fix typo in r291986. (this is derect commit to stable/10) Modified: stable/10/sys/netinet6/mld6.c Modified: stable/10/sys/netinet6/mld6.c

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

Re: svn commit: r292058 - head/sbin/geom/class/part

2015-12-12 Thread Andrey V. Elsukov
imary GPT. In this case seems all will looks good. I think we should report about such corruption. Thanks. -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

Re: svn commit: r292058 - head/sbin/geom/class/part

2015-12-12 Thread Andrey V. Elsukov
contains > uncommitted nested geoms. Or maybe commit should have a -R flag to > recurse automatically as well (but that would have to be implemented on > the kernel side, unless there's some way to query from userland about > whether a geom is committed or not). You can determine what ge

Re: svn commit: r292058 - head/sbin/geom/class/part

2015-12-12 Thread Andrey V. Elsukov
f them are documented in bugzilla. You also may add to the list: * GPT labels don't updated in devfs after gpart modify -l * GMIRROR failed to appears after upgrade when GRAID find stale metadata; * unable to stop some GEOM class due to retasting on the same device via GEOM label; -- W

Re: svn commit: r292058 - head/sbin/geom/class/part

2015-12-12 Thread Andrey V. Elsukov
On 12.12.15 21:26, Ian Lepore wrote: > On Sat, 2015-12-12 at 21:10 +0300, Andrey V. Elsukov wrote: >> On 12.12.15 20:20, Ian Lepore wrote: >>> I spent much of the last week fighting with "geom destroy" and >>> trying >>> to prevent the ressurection of

svn commit: r292057 - in head/sys: boot/common geom/part

2015-12-10 Thread Andrey V. Elsukov
Author: ae Date: Thu Dec 10 10:35:07 2015 New Revision: 292057 URL: https://svnweb.freebsd.org/changeset/base/292057 Log: 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 last sector and if it

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

2015-12-10 Thread Andrey V. Elsukov
Author: ae Date: Thu Dec 10 10:37:12 2015 New Revision: 292058 URL: https://svnweb.freebsd.org/changeset/base/292058 Log: Remove a note about damaged PMBR. Now GPT will be detected automatically with such corruption. MFC after:1 month Modified: head/sbin/geom/class/part/gpart.8

Re: svn commit: r292057 - in head/sys: boot/common geom/part

2015-12-10 Thread Andrey V. Elsukov
On 10.12.15 18:07, John Baldwin wrote: > On Thursday, December 10, 2015 10:35:07 AM Andrey V. Elsukov wrote: >> Author: ae >> Date: Thu Dec 10 10:35:07 2015 >> New Revision: 292057 >> URL: https://svnweb.freebsd.org/changeset/base/292057 >> >> Log: >>

Re: svn commit: r292058 - head/sbin/geom/class/part

2015-12-10 Thread Andrey V. Elsukov
On 10.12.15 20:05, Ian Lepore wrote: > On Thu, 2015-12-10 at 10:37 +0000, Andrey V. Elsukov wrote: >> Author: ae >> Date: Thu Dec 10 10:37:12 2015 >> New Revision: 292058 >> URL: https://svnweb.freebsd.org/changeset/base/292058 >> >> Log: >>

svn commit: r293467 - head/lib/libstand

2016-01-09 Thread Andrey V. Elsukov
Author: ae Date: Sat Jan 9 08:02:35 2016 New Revision: 293467 URL: https://svnweb.freebsd.org/changeset/base/293467 Log: Fix a typo. PR: 205722 Modified: head/lib/libstand/uuid_to_string.c Modified: head/lib/libstand/uuid_to_string.c

svn commit: r293468 - head/lib/libstand

2016-01-09 Thread Andrey V. Elsukov
Author: ae Date: Sat Jan 9 08:04:29 2016 New Revision: 293468 URL: https://svnweb.freebsd.org/changeset/base/293468 Log: Make tohex() work as expected. Modified: head/lib/libstand/uuid_to_string.c Modified: head/lib/libstand/uuid_to_string.c

Re: svn commit: r292788 - in head/sys: geom/part sys

2015-12-28 Thread Andrey V. Elsukov
e used by third-party kernel module and in general it is not good to change the order of elements here. This can break `gpart show` output for such modules. Just for the future. :) -- WBR, Andrey V. Elsukov signature.asc Description: OpenPGP digital signature

svn commit: r291292 - in head/sys: conf modules modules/if_enc net netinet netinet6 netipsec sys

2015-11-24 Thread Andrey V. Elsukov
- head/sys/net/if_enc.c Wed Nov 25 07:14:58 2015(r291291) +++ head/sys/net/if_enc.c Wed Nov 25 07:31:59 2015(r291292) @@ -1,5 +1,6 @@ /*- * Copyright (c) 2006 The FreeBSD Project. + * Copyright (c) 2015 Andrey V. Elsukov <a...@freebsd.org> * All

svn commit: r291291 - head/sys/kern

2015-11-24 Thread Andrey V. Elsukov
Author: ae Date: Wed Nov 25 07:14:58 2015 New Revision: 291291 URL: https://svnweb.freebsd.org/changeset/base/291291 Log: Check that hhk_helper pointer isn't NULL before access. It isn't forbidden to use NULL pointer for hook_helper in hookinfo structure when hhook_add_hook() adds new

svn commit: r291299 - head/sys/net

2015-11-25 Thread Andrey V. Elsukov
Author: ae Date: Wed Nov 25 11:31:07 2015 New Revision: 291299 URL: https://svnweb.freebsd.org/changeset/base/291299 Log: Fix the build. Modified: head/sys/net/if_enc.c Modified: head/sys/net/if_enc.c == ---

svn commit: r291578 - head/sys/netinet6

2015-12-01 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 1 11:17:41 2015 New Revision: 291578 URL: https://svnweb.freebsd.org/changeset/base/291578 Log: 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 multicast groups, the reply

svn commit: r291579 - head/sys/netinet

2015-12-01 Thread Andrey V. Elsukov
Author: ae Date: Tue Dec 1 11:24:30 2015 New Revision: 291579 URL: https://svnweb.freebsd.org/changeset/base/291579 Log: 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 packets due to MTU

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

2015-11-23 Thread Andrey V. Elsukov
Author: ae Date: Mon Nov 23 22:06:55 2015 New Revision: 291222 URL: https://svnweb.freebsd.org/changeset/base/291222 Log: Add destroy_object callback to object rewriting framework. It is called when last reference to named object is going to be released and allows to do additional cleanup

Re: svn commit: r292788 - in head/sys: geom/part sys

2016-01-11 Thread Andrey V. Elsukov
rom the ports in the /boot/modules. When you rebuild the kernel after merging r292788 your module will use old values of g_part_alias and thus it will get not the same aliases. You will need rebuild your module to fix this. -- WBR, Andrey V. Elsukov ___

svn commit: r301717 - in head/sys: modules/tcp/fastpath netinet netinet/tcp_stacks netinet6

2016-06-08 Thread Andrey V. Elsukov
Author: ae Date: Thu Jun 9 05:48:34 2016 New Revision: 301717 URL: https://svnweb.freebsd.org/changeset/base/301717 Log: Cleanup unneded include "opt_ipfw.h". It was used for conditional build IPFIREWALL_FORWARD support. But IPFIREWALL_FORWARD option was removed a long time ago.

svn commit: r302081 - head/sys/netinet6

2016-06-22 Thread Andrey V. Elsukov
Author: ae Date: Wed Jun 22 11:29:21 2016 New Revision: 302081 URL: https://svnweb.freebsd.org/changeset/base/302081 Log: Fix the NULL pointer dereference for unresolved link layer entries in the netinet6 code. Copy link layer address only when corresponding entry has LLE_VALID flag.

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

2016-06-23 Thread Andrey V. Elsukov
gt;> Approved by: re (kib) >> >> Modified: >> head/sys/netinet6/in6.c > > Cursory look tells me that this bug is also present in 10. Is that true? > If so, is it possible for you to mfc this? The patch is applicable, but due to the difference in the LLE code stable

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: r293679 - head/sys/fs/smbfs

2016-01-11 Thread Andrey V. Elsukov
Author: ae Date: Mon Jan 11 18:11:06 2016 New Revision: 293679 URL: https://svnweb.freebsd.org/changeset/base/293679 Log: Change the type of newsize argument in the smbfs_smb_setfsize() function from int to int64. MSDN says that SMB_SET_FILE_END_OF_FILE_INFO uses signed 64-bit integer to

svn commit: r294263 - stable/10/sys/fs/smbfs

2016-01-18 Thread Andrey V. Elsukov
Author: ae Date: Mon Jan 18 11:47:03 2016 New Revision: 294263 URL: https://svnweb.freebsd.org/changeset/base/294263 Log: MFC r293679: Change the type of newsize argument in the smbfs_smb_setfsize() function from int to int64. MSDN says that SMB_SET_FILE_END_OF_FILE_INFO uses signed

svn commit: r294264 - stable/9/sys/fs/smbfs

2016-01-18 Thread Andrey V. Elsukov
Author: ae Date: Mon Jan 18 11:51:41 2016 New Revision: 294264 URL: https://svnweb.freebsd.org/changeset/base/294264 Log: MFC r293679: Change the type of newsize argument in the smbfs_smb_setfsize() function from int to int64. MSDN says that SMB_SET_FILE_END_OF_FILE_INFO uses signed

svn commit: r295967 - head/sys/netipsec

2016-02-24 Thread Andrey V. Elsukov
Author: ae Date: Wed Feb 24 12:28:49 2016 New Revision: 295967 URL: https://svnweb.freebsd.org/changeset/base/295967 Log: Fix useless check. m_pkthdr.len should be equal to orglen. MFC after:2 weeks Modified: head/sys/netipsec/key.c Modified: head/sys/netipsec/key.c

svn commit: r295969 - in head: sbin/ipfw sys/netpfil/ipfw

2016-02-24 Thread Andrey V. Elsukov
Author: ae Date: Wed Feb 24 13:16:03 2016 New Revision: 295969 URL: https://svnweb.freebsd.org/changeset/base/295969 Log: Fix bug in filling and handling ipfw's O_DSCP opcode. Due to integer overflow CS4 token was handled as BE. PR: 207459 MFC after:1 week Modified:

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

2016-03-11 Thread Andrey V. Elsukov
Author: ae Date: Fri Mar 11 09:41:46 2016 New Revision: 296649 URL: https://svnweb.freebsd.org/changeset/base/296649 Log: MFC r296348: Use correct size for malloc. Modified: stable/10/sys/netpfil/ipfw/ip_fw_dynamic.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r296650 - stable/9/sys/netpfil/ipfw

2016-03-11 Thread Andrey V. Elsukov
Author: ae Date: Fri Mar 11 09:55:24 2016 New Revision: 296650 URL: https://svnweb.freebsd.org/changeset/base/296650 Log: MFC r296348: Use correct size for malloc. Modified: stable/9/sys/netpfil/ipfw/ip_fw_dynamic.c Directory Properties: stable/9/sys/ (props changed)

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

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

svn commit: r296984 - head/sys/netinet6

2016-03-19 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 17 10:59:30 2016 New Revision: 296984 URL: https://svnweb.freebsd.org/changeset/base/296984 Log: Change in6_selectsrc() to allow usage of non-local IPv6 addresses in IPV6_PKTINFO ancillary data when IPV6_BINDANY socket option is set. Submitted by: n_hibma MFC

svn commit: r297014 - head/sys/netipsec

2016-03-19 Thread Andrey V. Elsukov
Author: ae Date: Fri Mar 18 09:03:00 2016 New Revision: 297014 URL: https://svnweb.freebsd.org/changeset/base/297014 Log: Fix handling of net.inet.ipsec.dfbit=2 variable. IP_DF macro is in host bytes order, but ip_off field is in network bytes order. So, use htons() for correct check.

svn commit: r296986 - head/sys/netinet6

2016-03-19 Thread Andrey V. Elsukov
Author: ae Date: Thu Mar 17 11:10:44 2016 New Revision: 296986 URL: https://svnweb.freebsd.org/changeset/base/296986 Log: Reduce the number of local variables. Remove redundant check that inp pointer isn't NULL, it is safe, because we are handling IPV6_PKTINFO socket option in this block of

svn commit: r296566 - head/sbin/ipfw

2016-03-09 Thread Andrey V. Elsukov
Author: ae Date: Wed Mar 9 14:47:05 2016 New Revision: 296566 URL: https://svnweb.freebsd.org/changeset/base/296566 Log: Set buffer to empty string to prevent duplicated output in some cases. PR: 193888 Modified: head/sbin/ipfw/ipfw2.c Modified: head/sbin/ipfw/ipfw2.c

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

2016-04-11 Thread Andrey V. Elsukov
Author: ae Date: Mon Apr 11 13:44:31 2016 New Revision: 297820 URL: https://svnweb.freebsd.org/changeset/base/297820 Log: 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 calculate partsize limit.

svn commit: r297705 - head/sys/netinet6

2016-04-08 Thread Andrey V. Elsukov
Author: ae Date: Fri Apr 8 11:13:24 2016 New Revision: 297705 URL: https://svnweb.freebsd.org/changeset/base/297705 Log: Fix regression introduced in r296986. Currently we don't keep zoneid in in6_ifaddr structure, because there is still some code, that doesn't properly initialize

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