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

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: 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: 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: 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: 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:

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

2013-04-22 Thread Andrey V. Elsukov
Author: ae Date: Mon Apr 22 06:47:05 2013 New Revision: 249760 URL: http://svnweb.freebsd.org/changeset/base/249760 Log: MFC r249398: Free memory after deleting an address policy entry. Modified: stable/9/sys/netinet6/in6_src.c Directory Properties: stable/9/sys/ (props changed)

svn commit: r249761 - stable/8/sys/netinet6

2013-04-22 Thread Andrey V. Elsukov
Author: ae Date: Mon Apr 22 06:47:27 2013 New Revision: 249761 URL: http://svnweb.freebsd.org/changeset/base/249761 Log: MFC r249398: Free memory after deleting an address policy entry. Modified: stable/8/sys/netinet6/in6_src.c Directory Properties: stable/8/sys/ (props changed)

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: r250043 - stable/9/sys/boot/common

2013-04-29 Thread Andrey V. Elsukov
Author: ae Date: Mon Apr 29 10:20:46 2013 New Revision: 250043 URL: http://svnweb.freebsd.org/changeset/base/250043 Log: MFC r249719: Since we didn't break the loop, we should set i to -1 to start from the beginning. Submitted by: Steven Hartland Modified:

svn commit: r250044 - in stable/9: sys/net sys/netinet sys/netinet6 sys/netipsec usr.bin/netstat

2013-04-29 Thread Andrey V. Elsukov
Author: ae Date: Mon Apr 29 10:52:45 2013 New Revision: 250044 URL: http://svnweb.freebsd.org/changeset/base/250044 Log: MFC r249294: Use IP6STAT_INC/IP6STAT_DEC macros to update ip6 stats. MFC r249528,249546: Add accounting to the source address selection algorithm for cases, when

svn commit: r240272 - head/sys/boot/uboot/lib

2012-09-09 Thread Andrey V. Elsukov
Author: ae Date: Sun Sep 9 11:30:45 2012 New Revision: 240272 URL: http://svn.freebsd.org/changeset/base/240272 Log: Make struct uboot_devdesc compatible with struct disk_devdesc. Modified: head/sys/boot/uboot/lib/libuboot.h Modified: head/sys/boot/uboot/lib/libuboot.h

svn commit: r240273 - head/sys/boot/uboot/lib

2012-09-09 Thread Andrey V. Elsukov
Author: ae Date: Sun Sep 9 11:32:06 2012 New Revision: 240273 URL: http://svn.freebsd.org/changeset/base/240273 Log: Use disk_fmtdev() and disk_parsedev() functions from the new DISK API. Modified: head/sys/boot/uboot/lib/devicename.c Modified: head/sys/boot/uboot/lib/devicename.c

svn commit: r240274 - head/sys/boot/uboot/lib

2012-09-09 Thread Andrey V. Elsukov
Semihalf, Piotr Ziecik + * Copyright (c) 2012 Andrey V. Elsukov a...@freebsd.org * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -34,20 +35,13 @@ __FBSDID($FreeBSD$); #include sys/param.h -#include sys/endian.h -#include sys/queue.h -#include

svn commit: r240275 - head/sys/boot/uboot/lib

2012-09-09 Thread Andrey V. Elsukov
Author: ae Date: Sun Sep 9 11:34:27 2012 New Revision: 240275 URL: http://svn.freebsd.org/changeset/base/240275 Log: Build disk.c only when DISK_SUPPORT is enabled. Modified: head/sys/boot/uboot/lib/Makefile Modified: head/sys/boot/uboot/lib/Makefile

svn commit: r240276 - head/sys/boot/uboot/common

2012-09-09 Thread Andrey V. Elsukov
Author: ae Date: Sun Sep 9 11:37:17 2012 New Revision: 240276 URL: http://svn.freebsd.org/changeset/base/240276 Log: Update according to the change of struct uboot_devdesc. Modified: head/sys/boot/uboot/common/main.c Modified: head/sys/boot/uboot/common/main.c

svn commit: r240277 - in head/sys/boot: arm/uboot powerpc/uboot

2012-09-09 Thread Andrey V. Elsukov
Author: ae Date: Sun Sep 9 11:40:37 2012 New Revision: 240277 URL: http://svn.freebsd.org/changeset/base/240277 Log: Handle LOADER_NO_DISK_SUPPORT knob in the arm and powerpc ubldr. Modified: head/sys/boot/arm/uboot/Makefile head/sys/boot/powerpc/uboot/Makefile Modified:

svn commit: r240335 - in head/sys/boot: i386/loader sparc64/loader

2012-09-10 Thread Andrey V. Elsukov
Author: ae Date: Tue Sep 11 04:54:44 2012 New Revision: 240335 URL: http://svn.freebsd.org/changeset/base/240335 Log: Slightly reduce an overhead for the open() call in the zfsloader. libstand(3) tries to detect file system in the predefined order, but zfsloader usually is used for the

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

2012-09-28 Thread Andrey V. Elsukov
Author: ae Date: Fri Sep 28 10:49:41 2012 New Revision: 241023 URL: http://svn.freebsd.org/changeset/base/241023 Log: Make the loader a bit smarter, when it tries to open disk and the slice number is not exactly specified. When the disk has MBR, also try to read BSD label after

svn commit: r241047 - head/sys/boot/i386/loader

2012-09-29 Thread Andrey V. Elsukov
Author: ae Date: Sat Sep 29 15:08:55 2012 New Revision: 241047 URL: http://svn.freebsd.org/changeset/base/241047 Log: Disable splitfs support, since we aren't support floppies for a long time. This slightly reduces an overhead, when loader tries to open file that doesn't exist. Modified:

svn commit: r241053 - in head/sys/boot: common i386/libi386 uboot/lib userboot/userboot

2012-09-29 Thread Andrey V. Elsukov
Author: ae Date: Sat Sep 29 16:47:56 2012 New Revision: 241053 URL: http://svn.freebsd.org/changeset/base/241053 Log: Almost each time when loader opens a file, this leads to calling disk_open(). Very often this is called several times for one file. This leads to reading partition table

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

2012-09-30 Thread Andrey V. Elsukov
Author: ae Date: Sun Sep 30 07:52:40 2012 New Revision: 241065 URL: http://svn.freebsd.org/changeset/base/241065 Log: Fix disk_cleanup() to work without DISK_DEBUG too. Modified: head/sys/boot/common/disk.c Modified: head/sys/boot/common/disk.c

svn commit: r241068 - head/sys/boot/i386/loader

2012-09-30 Thread Andrey V. Elsukov
Author: ae Date: Sun Sep 30 12:24:15 2012 New Revision: 241068 URL: http://svn.freebsd.org/changeset/base/241068 Log: Reduce the number of attempts to detect proper kld format for the amd64 loader. Modified: head/sys/boot/i386/loader/Makefile head/sys/boot/i386/loader/conf.c Modified:

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

2012-09-30 Thread Andrey V. Elsukov
Author: ae Date: Sun Sep 30 13:14:37 2012 New Revision: 241069 URL: http://svn.freebsd.org/changeset/base/241069 Log: Remember the file format of the last loaded module and try to use it for next files. Modified: head/sys/boot/common/module.c Modified: head/sys/boot/common/module.c

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

2012-09-30 Thread Andrey V. Elsukov
Author: ae Date: Sun Sep 30 13:17:33 2012 New Revision: 241070 URL: http://svn.freebsd.org/changeset/base/241070 Log: Fix the style. Modified: head/sys/boot/common/module.c Modified: head/sys/boot/common/module.c ==

Re: svn commit: r241053 - in head/sys/boot: common i386/libi386 uboot/lib userboot/userboot

2012-10-01 Thread Andrey V. Elsukov
are: UFS+GPT ZFS+GPT ZFS+GPT+several disks new_loader 7,203s 20,584s 26,079s old_loader 4,334s 9,422s 11,245s -- WBR, Andrey V. Elsukov ___ svn-src-all@freebsd.org mailing list http

Re: svn commit: r241053 - in head/sys/boot: common i386/libi386 uboot/lib userboot/userboot

2012-10-01 Thread Andrey V. Elsukov
On 01.10.2012 19:22, Andrey V. Elsukov wrote: UFS+GPT ZFS+GPT ZFS+GPT+several disks new_loader7,203s 20,584s 26,079s old_loader4,334s 9,422s 11,245s Of course, new_loader and old_loader should switch places :) -- WBR

svn commit: r241164 - in head/sys/boot/userboot: . test userboot

2012-10-03 Thread Andrey V. Elsukov
Author: ae Date: Wed Oct 3 17:20:34 2012 New Revision: 241164 URL: http://svn.freebsd.org/changeset/base/241164 Log: Replace all references to loader_callbacks_v1 with loader_callbacks. Suggested by: grehan@ Modified: head/sys/boot/userboot/test/test.c

svn commit: r241809 - in head/sys/boot: common i386/libi386 uboot/lib userboot/userboot

2012-10-21 Thread Andrey V. Elsukov
Author: ae Date: Sun Oct 21 12:14:58 2012 New Revision: 241809 URL: http://svn.freebsd.org/changeset/base/241809 Log: Add the flags parameter to the disk_open() function and DISK_F_NOCACHE flag, that disables the caching of partition tables metadata. Use this flag for floppies in the

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

2012-10-22 Thread Andrey V. Elsukov
Author: ae Date: Mon Oct 22 11:01:43 2012 New Revision: 241876 URL: http://svn.freebsd.org/changeset/base/241876 Log: When loader tries to open GPT partition, but partition table is not GPT, then try automatically detect an appropriate partition type. PR: kern/172550 Tested

svn commit: r238281 - head/usr.sbin/newsyslog

2012-07-09 Thread Andrey V. Elsukov
Author: ae Date: Mon Jul 9 07:37:10 2012 New Revision: 238281 URL: http://svn.freebsd.org/changeset/base/238281 Log: We don't need to check the result of sending signal when -R option is specified. Submitted by: Ilya A. Arkhipov MFC after:1 week Modified:

svn commit: r238520 - stable/9/usr.sbin/newsyslog

2012-07-16 Thread Andrey V. Elsukov
Author: ae Date: Mon Jul 16 08:16:41 2012 New Revision: 238520 URL: http://svn.freebsd.org/changeset/base/238520 Log: MFC r238281: We don't need to check the result of sending signal when R flag is specified. Submitted by: Ilya A. Arkhipov Approved by: re (kib)

svn commit: r238521 - stable/8/usr.sbin/newsyslog

2012-07-16 Thread Andrey V. Elsukov
Author: ae Date: Mon Jul 16 08:17:30 2012 New Revision: 238521 URL: http://svn.freebsd.org/changeset/base/238521 Log: MFC r238281: We don't need to check the result of sending signal when R flag is specified. Submitted by: Ilya A. Arkhipov Modified:

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

2012-08-05 Thread Andrey V. Elsukov
) +++ head/sys/boot/common/part.c Sun Aug 5 11:29:44 2012(r239054) @@ -0,0 +1,839 @@ +/*- + * Copyright (c) 2012 Andrey V. Elsukov a...@freebsd.org + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided

svn commit: r239057 - head/sys/boot/userboot/userboot

2012-08-05 Thread Andrey V. Elsukov
Author: ae Date: Sun Aug 5 11:59:46 2012 New Revision: 239057 URL: http://svn.freebsd.org/changeset/base/239057 Log: Remove unused variables. Modified: head/sys/boot/userboot/userboot/bootinfo32.c head/sys/boot/userboot/userboot/copy.c Modified:

svn commit: r239058 - in head/sys/boot: common userboot userboot/test userboot/userboot

2012-08-05 Thread Andrey V. Elsukov
) +++ head/sys/boot/common/disk.c Sun Aug 5 12:15:15 2012(r239058) @@ -1,5 +1,6 @@ /*- * Copyright (c) 1998 Michael Smith msm...@freebsd.org + * Copyright (c) 2012 Andrey V. Elsukov a...@freebsd.org * All rights reserved. * * Redistribution and use in source and binary forms

svn commit: r239060 - head/sys/boot/i386/pmbr

2012-08-05 Thread Andrey V. Elsukov
Author: ae Date: Sun Aug 5 12:57:38 2012 New Revision: 239060 URL: http://svn.freebsd.org/changeset/base/239060 Log: When GPT signature is invalid in the primary GPT header, then try to read backup GPT header. Submitted by: hrs (previous version) Modified:

svn commit: r239066 - head/sys/boot/i386/libi386

2012-08-05 Thread Andrey V. Elsukov
/i386/libi386/biosdisk.c Sun Aug 5 14:37:48 2012 (r239066) @@ -1,5 +1,6 @@ /*- * Copyright (c) 1998 Michael Smith msm...@freebsd.org + * Copyright (c) 2012 Andrey V. Elsukov a...@freebsd.org * All rights reserved. * * Redistribution and use in source and binary forms

svn commit: r239067 - head/sys/boot/i386/loader

2012-08-05 Thread Andrey V. Elsukov
Author: ae Date: Sun Aug 5 14:38:53 2012 New Revision: 239067 URL: http://svn.freebsd.org/changeset/base/239067 Log: Remove unneeded flag. Modified: head/sys/boot/i386/loader/Makefile Modified: head/sys/boot/i386/loader/Makefile

svn commit: r239068 - in head/sys/boot: i386/loader zfs

2012-08-05 Thread Andrey V. Elsukov
Author: ae Date: Sun Aug 5 14:48:28 2012 New Revision: 239068 URL: http://svn.freebsd.org/changeset/base/239068 Log: Teach the ZFS use new partitions API when probing. Note: now ZFS does probe only for partitions with type freebsd-zfs and freebsd. Modified:

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

2012-08-05 Thread Andrey V. Elsukov
is newly added) +++ head/tools/tools/bootparttest/bootparttest.cSun Aug 5 15:40:16 2012(r239070) @@ -0,0 +1,172 @@ +/*- + * Copyright (c) 2012 Andrey V. Elsukov a...@freebsd.org + * All rights reserved. + * + * Redistribution and use in source and binary forms, with or without

svn commit: r239073 - in head/sys/boot/userboot: . test userboot

2012-08-05 Thread Andrey V. Elsukov
Author: ae Date: Sun Aug 5 17:04:58 2012 New Revision: 239073 URL: http://svn.freebsd.org/changeset/base/239073 Log: Bump USERBOOT_VERSION. Requested by: dfr Modified: head/sys/boot/userboot/test/test.c head/sys/boot/userboot/userboot.h head/sys/boot/userboot/userboot/main.c

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

2012-08-06 Thread Andrey V. Elsukov
Author: ae Date: Mon Aug 6 08:39:29 2012 New Revision: 239087 URL: http://svn.freebsd.org/changeset/base/239087 Log: Add to the debug output the offset from the parent partitioning scheme. Modified: head/tools/tools/bootparttest/bootparttest.c Modified:

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

2012-08-06 Thread Andrey V. Elsukov
Author: ae Date: Mon Aug 6 08:54:06 2012 New Revision: 239088 URL: http://svn.freebsd.org/changeset/base/239088 Log: Fix start offset calculation for the EBR partitions. Modified: head/sys/boot/common/part.c Modified: head/sys/boot/common/part.c

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

2012-08-07 Thread Andrey V. Elsukov
Author: ae Date: Tue Aug 7 09:22:46 2012 New Revision: 239127 URL: http://svn.freebsd.org/changeset/base/239127 Log: As it turned out, there are some installations, where BSD label contains partitions with type zero. And it has worked. So, allow detect these partitions. Reported by:

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

2012-08-12 Thread Andrey V. Elsukov
Author: ae Date: Sun Aug 12 14:16:21 2012 New Revision: 239210 URL: http://svn.freebsd.org/changeset/base/239210 Log: Add more debug messages. Modified: head/sys/boot/common/disk.c Modified: head/sys/boot/common/disk.c

svn commit: r239211 - head/sys/boot/i386/libi386

2012-08-12 Thread Andrey V. Elsukov
Author: ae Date: Sun Aug 12 14:32:30 2012 New Revision: 239211 URL: http://svn.freebsd.org/changeset/base/239211 Log: Add another debug message. Modified: head/sys/boot/i386/libi386/biosdisk.c Modified: head/sys/boot/i386/libi386/biosdisk.c

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

2012-08-13 Thread Andrey V. Elsukov
Author: ae Date: Mon Aug 13 13:08:30 2012 New Revision: 239230 URL: http://svn.freebsd.org/changeset/base/239230 Log: Unbreak booting from the true dedicated disks. When we open the disk, check the type of partition table, that has been detected. If this is BSD label, then we assume this is

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

2012-08-13 Thread Andrey V. Elsukov
Author: ae Date: Mon Aug 13 13:10:50 2012 New Revision: 239231 URL: http://svn.freebsd.org/changeset/base/239231 Log: Remove colons from the debug message, device name returned by the disk_fmtdev() already has the colons. Modified: head/sys/boot/common/disk.c Modified:

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

2012-08-13 Thread Andrey V. Elsukov
Author: ae Date: Mon Aug 13 13:33:21 2012 New Revision: 239232 URL: http://svn.freebsd.org/changeset/base/239232 Log: Restore the old behaviour. If requested partition is a BSD slice, but d_partition isn't explicitly set, then try to open BSD label and its first partition. Modified:

svn commit: r239292 - head/sys/boot/zfs

2012-08-15 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 15 09:18:49 2012 New Revision: 239292 URL: http://svn.freebsd.org/changeset/base/239292 Log: Explicitly terminate the string after strncpy(3). Modified: head/sys/boot/zfs/zfs.c Modified: head/sys/boot/zfs/zfs.c

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

2012-08-15 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 15 10:11:29 2012 New Revision: 239293 URL: http://svn.freebsd.org/changeset/base/239293 Log: Rework r239232 to unbreak ZFS detection on MBR slices. Modified: head/sys/boot/common/disk.c Modified: head/sys/boot/common/disk.c

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

2012-08-15 Thread Andrey V. Elsukov
Author: ae Date: Wed Aug 15 12:01:13 2012 New Revision: 239294 URL: http://svn.freebsd.org/changeset/base/239294 Log: Some BIOSes return incorrect number of sectors, make checks less strictly, to do not lost some partitions. Reported by: swills@ Modified: head/sys/boot/common/part.c

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

2012-08-16 Thread Andrey V. Elsukov
Author: ae Date: Thu Aug 16 06:45:58 2012 New Revision: 239325 URL: http://svn.freebsd.org/changeset/base/239325 Log: Add comment why the code has been disabled. Requested by: rpaulo Modified: head/sys/boot/common/part.c Modified: head/sys/boot/common/part.c

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: 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: 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

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

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:

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: 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

svn commit: r244483 - in stable/9/sys: netinet netinet6

2012-12-20 Thread Andrey V. Elsukov
Author: ae Date: Thu Dec 20 11:10:23 2012 New Revision: 244483 URL: http://svnweb.freebsd.org/changeset/base/244483 Log: MFC r244360: Use M_PROTO7 flag for M_IP6_NEXTHOP, because M_PROTO2 was used for M_AUTHIPHDR. MFC r244365: Since we use different flags to detect tcp

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:

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: r245067 - stable/9/sys/netinet6

2013-01-05 Thread Andrey V. Elsukov
Author: ae Date: Sat Jan 5 20:07:28 2013 New Revision: 245067 URL: http://svnweb.freebsd.org/changeset/base/245067 Log: MFC r244439: The selectroute function does own account of EHOSTUNREACH errors, no need to do it twice. MFC r20: Make dst_sa initialization only when it

Re: svn commit: r245118 - stable/9/sys/conf

2013-01-06 Thread Andrey V. Elsukov
when releng/9.2 will be created. -- 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: 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

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: 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: 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

svn commit: r245258 - in stable/9: share/man/man4 sys/net

2013-01-10 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 10 17:06:24 2013 New Revision: 245258 URL: http://svnweb.freebsd.org/changeset/base/245258 Log: MFC r244750: Add net.link.stf.permit_rfc1918 sysctl variable. It can be used to allow the use of private IPv4 addresses with stf(4). MFC r244752: Add an

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:

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

2012-01-25 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 26 06:57:47 2012 New Revision: 230563 URL: http://svn.freebsd.org/changeset/base/230563 Log: MFC r229916 (by eadler): Fix warning when compiling with gcc46: error: variable 'secsz' set but not used Modified: stable/9/sbin/geom/class/part/geom_part.c

svn commit: r230565 - stable/8/sys/geom/part

2012-01-25 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 26 07:42:54 2012 New Revision: 230565 URL: http://svn.freebsd.org/changeset/base/230565 Log: MFC r215118: Move code for search of existing geom into g_part_find_geom function and use this function instead of g_part_parm_geom in g_part_ctl_create. Modified:

svn commit: r230566 - stable/8/sys/geom/part

2012-01-25 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 26 07:51:51 2012 New Revision: 230566 URL: http://svn.freebsd.org/changeset/base/230566 Log: MFC r226880 (modified version): Our geom withering function could take some time before geom with its providers and consumers will be destroyed. Before take some

svn commit: r230567 - stable/8/sys/geom/part

2012-01-26 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 26 08:47:29 2012 New Revision: 230567 URL: http://svn.freebsd.org/changeset/base/230567 Log: MFC r221788: Add basic metadata integrity check. In case when partition table was probed and read successfull, but it contains invalid values (e.g. overlapped

svn commit: r230568 - stable/8/sys/geom/part

2012-01-26 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 26 08:51:23 2012 New Revision: 230568 URL: http://svn.freebsd.org/changeset/base/230568 Log: Disable integrity checks by default. It will warn users about found problems, but will not reject partition tables. This is direct commit to stable/8. Modified:

Re: svn commit: r230568 - stable/8/sys/geom/part

2012-01-26 Thread Andrey V. Elsukov
On 26.01.2012 12:51, Andrey V. Elsukov wrote: Author: ae Date: Thu Jan 26 08:51:23 2012 New Revision: 230568 URL: http://svn.freebsd.org/changeset/base/230568 Log: Disable integrity checks by default. It will warn users about found problems, but will not reject partition tables

svn commit: r230569 - stable/8/sys/geom/part

2012-01-26 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 26 09:14:51 2012 New Revision: 230569 URL: http://svn.freebsd.org/changeset/base/230569 Log: MFC r216132 (by ivoras): Add a note about the magic number 20. Actually, 22.75 entries fit in a 512 byte sector but when choosing magic numbers, 20 looks nicer. MFC

svn commit: r230570 - stable/8/sys/geom/part

2012-01-26 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 26 09:28:09 2012 New Revision: 230570 URL: http://svn.freebsd.org/changeset/base/230570 Log: MFC r79: Do not truncate available disk space to the closest track boundary. MFC r222341: Some partitioning tools may have a different opinion about disk

svn commit: r230573 - stable/8/sys/geom/part

2012-01-26 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 26 09:56:29 2012 New Revision: 230573 URL: http://svn.freebsd.org/changeset/base/230573 Log: MFC r81: Do not truncate available disk space to the closest track boundary. Modified: stable/8/sys/geom/part/g_part_pc98.c Directory Properties: stable/8/sys/

svn commit: r230575 - in stable/8: sbin/ipfw sys/netinet sys/netinet/ipfw

2012-01-26 Thread Andrey V. Elsukov
Author: ae Date: Thu Jan 26 10:33:19 2012 New Revision: 230575 URL: http://svn.freebsd.org/changeset/base/230575 Log: MFC r223666: Add new rule actions call and return to ipfw. They make possible to organize subroutines with rules. The call action saves the current rule number in

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

2012-02-01 Thread Andrey V. Elsukov
Author: ae Date: Wed Feb 1 09:28:16 2012 New Revision: 230861 URL: http://svn.freebsd.org/changeset/base/230861 Log: The scheme code may not know about some inconsistency in the metadata. So, add an integrity check after recovery attempt. MFC after:1 week Modified:

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

2012-02-09 Thread Andrey V. Elsukov
Author: ae Date: Fri Feb 10 06:34:21 2012 New Revision: 231342 URL: http://svn.freebsd.org/changeset/base/231342 Log: MFC r228061: The size of APM could be bigger than number of already allocated entries. And the first usable sector should not start from the inside of APM area. MFC

svn commit: r231343 - stable/8/sys/geom/part

2012-02-09 Thread Andrey V. Elsukov
Author: ae Date: Fri Feb 10 06:35:14 2012 New Revision: 231343 URL: http://svn.freebsd.org/changeset/base/231343 Log: MFC r228061: The size of APM could be bigger than number of already allocated entries. And the first usable sector should not start from the inside of APM area. MFC

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

2012-02-09 Thread Andrey V. Elsukov
Author: ae Date: Fri Feb 10 06:38:03 2012 New Revision: 231344 URL: http://svn.freebsd.org/changeset/base/231344 Log: MFC r230861: The scheme code may not know about some inconsistency in the metadata. So, add an integrity check after recovery attempt. Modified:

svn commit: r231345 - stable/8/sys/geom/part

2012-02-09 Thread Andrey V. Elsukov
Author: ae Date: Fri Feb 10 06:38:57 2012 New Revision: 231345 URL: http://svn.freebsd.org/changeset/base/231345 Log: MFC r230861: The scheme code may not know about some inconsistency in the metadata. So, add an integrity check after recovery attempt. Modified:

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

2012-02-09 Thread Andrey V. Elsukov
Author: ae Date: Fri Feb 10 06:44:30 2012 New Revision: 231349 URL: http://svn.freebsd.org/changeset/base/231349 Log: Let's be more realistic and limit maximum number of partition to 4k. MFC after:1 week Modified: head/sys/geom/part/g_part_apm.c Modified:

svn commit: r231367 - in head/sys: geom/part sys

2012-02-10 Thread Andrey V. Elsukov
Author: ae Date: Fri Feb 10 09:55:18 2012 New Revision: 231367 URL: http://svn.freebsd.org/changeset/base/231367 Log: Add alias for the partition with type 0x42 to the MBR scheme. MFC after:1 week Modified: head/sys/geom/part/g_part_mbr.c head/sys/sys/diskmbr.h Modified:

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

2012-02-13 Thread Andrey V. Elsukov
Author: ae Date: Tue Feb 14 07:12:46 2012 New Revision: 231640 URL: http://svn.freebsd.org/changeset/base/231640 Log: MFC r231349: Let's be more realistic and limit maximum number of partition to 4k. Modified: stable/9/sys/geom/part/g_part_apm.c Directory Properties: stable/9/sys/

svn commit: r231641 - stable/8/sys/geom/part

2012-02-13 Thread Andrey V. Elsukov
Author: ae Date: Tue Feb 14 07:13:09 2012 New Revision: 231641 URL: http://svn.freebsd.org/changeset/base/231641 Log: MFC r231349: Let's be more realistic and limit maximum number of partition to 4k. Modified: stable/8/sys/geom/part/g_part_apm.c Directory Properties: stable/8/sys/

svn commit: r231643 - in stable/9/sys: geom/part sys

2012-02-13 Thread Andrey V. Elsukov
Author: ae Date: Tue Feb 14 07:24:22 2012 New Revision: 231643 URL: http://svn.freebsd.org/changeset/base/231643 Log: MFC r231367: Add alias for the partition with type 0x42 to the MBR scheme. Modified: stable/9/sys/geom/part/g_part_mbr.c stable/9/sys/sys/diskmbr.h Directory

svn commit: r231644 - in stable/8/sys: geom/part sys

2012-02-13 Thread Andrey V. Elsukov
Author: ae Date: Tue Feb 14 07:24:44 2012 New Revision: 231644 URL: http://svn.freebsd.org/changeset/base/231644 Log: MFC r231367: Add alias for the partition with type 0x42 to the MBR scheme. Modified: stable/8/sys/geom/part/g_part_mbr.c stable/8/sys/sys/diskmbr.h Directory

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

2012-02-15 Thread Andrey V. Elsukov
Author: ae Date: Wed Feb 15 10:33:29 2012 New Revision: 231754 URL: http://svn.freebsd.org/changeset/base/231754 Log: Add additional check to EBR probe and create methods: don't try probe and create EBR scheme when parent partition type is not ebr. This fixes error messages about corrupted

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

2012-02-19 Thread Andrey V. Elsukov
Author: ae Date: Mon Feb 20 06:35:52 2012 New Revision: 231929 URL: http://svn.freebsd.org/changeset/base/231929 Log: If nested scheme allows dump kernel to its partition, we may allow dump for the parent partition too. MFC after:2 weeks Modified: head/sys/geom/part/g_part.c

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

2010-09-25 Thread Andrey V. Elsukov
Author: ae Date: Sat Sep 25 18:27:29 2010 New Revision: 213174 URL: http://svn.freebsd.org/changeset/base/213174 Log: Some schemes can allocate memory for internal purposes but when GEOM does withering this memory doesn't freed. Add G_PART_DESTROY call to g_part_wither. Also add missed

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

2010-09-26 Thread Andrey V. Elsukov
Author: ae Date: Sun Sep 26 21:48:32 2010 New Revision: 213187 URL: http://svn.freebsd.org/changeset/base/213187 Log: Remove superfluous word from gpart bootcode usage message. Approved by: kib (mentor) Modified: head/sbin/geom/class/part/geom_part.c Modified:

svn commit: r213369 - stable/8/sys/geom/part

2010-10-02 Thread Andrey V. Elsukov
Author: ae Date: Sat Oct 2 22:06:07 2010 New Revision: 213369 URL: http://svn.freebsd.org/changeset/base/213369 Log: MFC r202977 (by trasz): Remove unneeded variables. Approved by: kib (mentor) Modified: stable/8/sys/geom/part/g_part_bsd.c stable/8/sys/geom/part/g_part_vtoc8.c

svn commit: r213370 - stable/8/sys/geom/part

2010-10-02 Thread Andrey V. Elsukov
Author: ae Date: Sat Oct 2 22:08:17 2010 New Revision: 213370 URL: http://svn.freebsd.org/changeset/base/213370 Log: MFC r203261 (by marcel): Export the UUID of the partition in the XML. The partition UUID is used by EFI's device path to identify a partition. In order for FreeBSD to

svn commit: r213371 - in stable/8/sys: geom/part sys

2010-10-02 Thread Andrey V. Elsukov
Author: ae Date: Sat Oct 2 22:12:04 2010 New Revision: 213371 URL: http://svn.freebsd.org/changeset/base/213371 Log: MFC r209536 (by rpaulo): Add NTFS partition type to GEOM_MBR. Approved by: kib (mentor) Modified: stable/8/sys/geom/part/g_part.c stable/8/sys/geom/part/g_part.h

<    1   2   3   4   5   6   7   8   9   10   >