ƒ³246357 190 1981 170 116 112 160 120 240 133 133 133 200 1053 273 230 331 161 125 125 163 184 184 124 127 141 123 225 137 470 153 140 456 315 244 257 271 273 354 251 181 181 317 99 120 135 135 225 225 341 399 126 178 241 99 297 120 311 369 185 183 135 1432 123 110 268 214 139 206 162 162 232 171 175 174 382 710 710 136 143 190 119 532 323 167 1789 219 328 99 120 175 246 112 227 138 208 204 331 246 225 220 99 120 437 189 145 112 137 523 119 126 168 130 133 120 181 185 465 102 114 124 208 171 161 120 99 120 1402 134 1062 177 132 179 149 560 123 115 122 227 141 191 156 1070 387 296 311 624 558 485 269 172 1288 114 701 369 594 663 967 423 450 186 275 296 387 459 292 105 869 119 121 109 358 111 267 464 337 183 357 136 141 140 1016 319 184 156 148 171 207 288 175 148 334 K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-05T09:53:32.992798Z K 7 svn:log V 1883 MFC r243779 (marcel): Protect against DoS attacks, such as being described in CVE-2010-2632. The changes were derived from what has been committed to NetBSD, with modifications. These are: 1. Preserve the existsing GLOB_LIMIT behaviour by including the number of matches to the set of parameters to limit. 2. Change some of the limits to avoid impacting normal use cases: GLOB_LIMIT_STRING - change from 65536 to ARG_MAX so that glob(3) can still provide a full command line of expanded names. GLOB_LIMIT_STAT - change from 128 to 1024 for no other reason than that 128 feels too low (it's not a limit that impacts the behaviour of the test program listed in CVE-2010-2632). GLOB_LIMIT_PATH - change from 1024 to 65536 so that glob(3) can still provide a fill command line of expanded names. 3. Protect against buffer overruns when we hit the GLOB_LIMIT_STAT or GLOB_LIMIT_READDIR limits. We append SEP and EOS to pathend in those cases. Return GLOB_ABORTED instead of GLOB_NOSPACE when we would otherwise overrun the buffer. This change also modifies the existing behaviour of glob(3) in case GLOB_LIMIT is specifies by limiting the *new* matches and not all matches. This is an important distinction when GLOB_APPEND is set or when the caller uses a non-zero gl_offs. Previously pre-existing matches or the value of gl_offs would be counted in the number of matches even though the man page states that glob(3) would return GLOB_NOSPACE when gl_matchc or more matches were found. The limits that cannot be circumvented are GLOB_LIMIT_STRING and GLOB_LIMIT_PATH all others can be crossed by simply calling glob(3) again and with GLOB_APPEND set. The entire description above applies only when GLOB_LIMIT has been specified of course. No limits apply when this flag isn't set! Obtained from: Juniper Networks, Inc END K 10 svn:author V 3 des K 8 svn:date V 27 2013-02-05T12:18:39.176543Z K 7 svn:log V 78 Load the pfsync module if necessary. Reviewed by: glebius@ MFC after: 1 week END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-05T12:37:50.884373Z K 7 svn:log V 19 Fix depend target. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-05T13:30:07.406744Z K 7 svn:log V 15 Fix some nits. END K 10 svn:author V 7 zeising K 8 svn:date V 27 2013-02-05T14:29:37.160186Z K 7 svn:log V 64 Bump .Dd for the change in r246121. Approved by: joel (mentor) END K 10 svn:author V 3 des K 8 svn:date V 27 2013-02-05T14:39:37.618521Z K 7 svn:log V 28 Remove political propaganda END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-05T14:44:25.178274Z K 7 svn:log V 142 Add defines to more easily allow a single threaded version of the FreeBSD USB stack. This is useful for non-kernel purposes, like the loader. END K 10 svn:author V 3 des K 8 svn:date V 27 2013-02-05T14:53:05.517975Z K 7 svn:log V 41 MFH r246362: remove political propaganda END K 10 svn:author V 3 des K 8 svn:date V 27 2013-02-05T14:53:16.804399Z K 7 svn:log V 41 MFH r246362: remove political propaganda END K 10 svn:author V 3 des K 8 svn:date V 27 2013-02-05T14:55:33.523555Z K 7 svn:log V 41 MFH r246362: remove political propaganda END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-05T18:55:09.958047Z K 7 svn:log V 107 Install and as userland headers in /usr/include. MFC after: 2 weeks END K 10 svn:author V 3 dim K 8 svn:date V 27 2013-02-05T19:10:50.113285Z K 7 svn:log V 960 MFC r246028 (by theraven): Fix some symbol version mismatches between libstdc++ and libsupc++/libcxxrt that were causing the runtime and STL libraries to see different versions of various classes and functions when libstdc++ is used as a filter. Note: This changes the ABI for libcxxrt, but libcxxrt is currently only in -STABLE for testing and is not used by anything unless explicitly enabled by the end user. No default compiler configurations use it. libc++ will need to be recompiled after this change. make buildworld will do this automatically, but make in lib/libc++ will not necessarily work unless the new libcxxrt is installed first. PR: kern/171610, stand/175453 Reviewed by: kib MFC r246297: Add several missing symbols to libcxxrt's symbol version map, and remove a few duplicates. This should fix building world with -stdlib=libc++ after r246028. Submitted by: Yamaya Takashi END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-02-05T20:03:58.053556Z K 7 svn:log V 177 * Add the integer div & mod functions and ARM EABI support functions to libstand. * Stop linking the ARM U-Boot loader against libgcc now libstand has the required symbols. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-02-05T20:08:33.690291Z K 7 svn:log V 133 Remove reference to the rlist code from comments, and fix a typo visible in the resulted change. Reviewed by: kib MFC after: 1 week END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-02-05T22:54:09.898520Z K 7 svn:log V 235 sh: Do not test for digit_contig in mksyntax. ISO/IEC 9899:1999 (E) 5.2.1p3 guarantees that the values of the characters 0123456789 are contiguous. The generated syntax.c and syntax.h remain the same. Submitted by: Christoph Mallon END K 10 svn:author V 6 andrew K 8 svn:date V 27 2013-02-06T00:01:28.057164Z K 7 svn:log V 66 Add the __aeabi_mem* functions to compiler-rt as clang uses them. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-06T00:42:23.092050Z K 7 svn:log V 29 MFC: one-true-awk 20121220. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-06T00:43:10.297395Z K 7 svn:log V 29 MFC: one-true-awk 20121220. END K 10 svn:author V 7 ganbold K 8 svn:date V 27 2013-02-06T01:03:13.395886Z K 7 svn:log V 67 Use and set gpio pin to high to power up usb. Approved by: gonzo@ END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-06T02:51:25.672408Z K 7 svn:log V 92 MFC r246299; UFS: Remove dead assignment. PR: kern/175794 Submitted by: Christoph Mallon END K 10 svn:author V 3 pfg K 8 svn:date V 27 2013-02-06T03:00:18.298441Z K 7 svn:log V 92 MFC r246299; UFS: Remove dead assignment. PR: kern/175794 Submitted by: Christoph Mallon END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-02-06T04:19:14.587574Z K 7 svn:log V 29 Cross build FreeBSD on OS X. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-02-06T04:34:27.000812Z K 7 svn:log V 32 Script to bootstrap buildworld. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-02-06T04:36:57.578285Z K 7 svn:log V 46 Add headers needed to compile on OS X 10.7.5. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-02-06T04:37:53.129497Z K 7 svn:log V 28 Fix RLIMIT_NOFILE for OS X. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-02-06T04:39:03.467945Z K 7 svn:log V 129 Hack to avoid adding libc.a to .depend. OS X has no such file, we will be building things shared on the platform for bootstrap. END K 10 svn:author V 6 alfred K 8 svn:date V 27 2013-02-06T04:40:02.758472Z K 7 svn:log V 42 Hook to not build make(1) static on OS X. END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-02-06T04:53:00.722886Z K 7 svn:log V 376 Compute the number of initial kernel page table pages (NKPT) dynamically. This eliminates the need to recompile the kernel when the default value of NKPT is not big enough - for e.g. when loading large kernel modules or memory disk images from the loader. If NKPT is defined in the kernel configuration file then it overrides the dynamic calculation. Reviewed by: alc, kib END K 10 svn:author V 2 np K 8 svn:date V 27 2013-02-06T06:44:42.145073Z K 7 svn:log V 62 Busy-wait when cold. Reported by: gnn, jhb MFC after: 3 days END K 10 svn:author V 3 hrs K 8 svn:date V 27 2013-02-06T07:20:09.339208Z K 7 svn:log V 48 MFC: Remove firewire devices missed in r244992. END K 10 svn:author V 7 glebius K 8 svn:date V 27 2013-02-06T07:27:25.681831Z K 7 svn:log V 359 Fixes to QUEUE_MACRO_DEBUG support: - Add const quilifiers to fields that store value of __FILE__. - Use long type for fields that store value of __LINE__. - Sort and style(9) debugging fields. - Add initializer for debugging fields into TAILQ_INITIALIZER macro. PR: 175759 Submitted by: Andrey Simonenko Reviewed by: bde END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-02-06T07:54:46.490252Z K 7 svn:log V 223 Update vendor/illumos/dist and vendor-sys/illumos/dist to illumos-gate 13934:9e23a7f7b812 Illumos ZFS issues: 3422 zpool create/syseventd race yield non-importable pool 3425 first write to a new zvol can fail with EFBIG END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-02-06T07:59:14.199151Z K 7 svn:log V 152 Update vendor/illumos/dist to illumos-gate version 13936:60077db1e2cc Illumos ZFS issues: 3380 zfs man page: documentation for zfs allow is confusing END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-02-06T08:14:58.191218Z K 7 svn:log V 165 Update vendor-sys/illumos/dist to illumos-gate version 13937:6b4f289e7094 Illumos ZFS issues: 3468 mdb enhancements for zfs development (not relevant for FreeBSD) END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-02-06T08:17:29.220917Z K 7 svn:log V 179 Update vendor/illumos/dist and vendor-sys/illumos/dist to illumos-gate 13939:20e4d8d8da6d illumos dtrace issues: 3511 dtrace.c erroneously checks for memory alignment on amd64 END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-02-06T08:21:40.735206Z K 7 svn:log V 181 Update vendor/illumos/dist and vendor-sys/illumos/dist to illumos-gate 13941:d48547176ab4 Illumos ZFS issues: 3498 panic in arc_read(): !refcount_is_zero(&pbuf->b_hdr->b_refcnt) END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-02-06T08:26:55.668714Z K 7 svn:log V 262 Update vendor/illumos/dist to illumos-gate version 13944:bbcbb468dc37 Illumos dtrace issues: 3519 DTrace fails to resolve const types from fbt 3520 dtrace internal error -- token type 316 is not a valid D compilation token 3521 clean up dtrace unit tests END K 10 svn:author V 2 mm K 8 svn:date V 27 2013-02-06T08:29:00.416115Z K 7 svn:log V 159 Update vendor-sys/illumos/dist to illumos-gate version 13945:7a9c1d41dfbe Illumos ZFS issues: 3507 Tunable to allow block allocation even on degraded vdevs END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-06T11:08:11.309528Z K 7 svn:log V 84 MFC r246113 and r246126: Add missing NULL pointer check. Reported by: Lars Engels END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-06T11:10:41.677658Z K 7 svn:log V 84 MFC r246113 and r246126: Add missing NULL pointer check. Reported by: Lars Engels END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-06T11:16:18.733886Z K 7 svn:log V 219 Make sure that all mouse buttons are released when clients using /dev/consolectl close. This fixes a problem where if a USB mouse is detached while a button is pressed, that button is never released. MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-06T11:49:43.889191Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-06T11:59:32.076759Z K 7 svn:log V 24 Merge from vmcontention END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-02-06T13:13:15.700950Z K 7 svn:log V 42 MFC r245457: - Detect when we are in KVM. END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-02-06T13:14:30.759806Z K 7 svn:log V 42 MFC r245457: - Detect when we are in KVM. END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-02-06T13:16:43.408100Z K 7 svn:log V 131 MFC r245696: - Force inetd to have listen queue size to be set to the value of kern.ipc.somaxconn instead of hardcoded value 64. END K 10 svn:author V 4 zont K 8 svn:date V 27 2013-02-06T13:17:41.931620Z K 7 svn:log V 131 MFC r245696: - Force inetd to have listen queue size to be set to the value of kern.ipc.somaxconn instead of hardcoded value 64. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-06T13:49:56.310525Z K 7 svn:log V 248 MFC r246118: The case of pid == WAIT_MYPGRP for the kern_wait() is already handled in kern_wait6(), which is called by kern_wait(). Remove the redundand check, introduced in r243136, and add a comment noting this, to make the code less confusing. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-06T13:53:59.172729Z K 7 svn:log V 306 MFC r246119: Rework the handling of the children for the pthread_vfork_test. The trivial handler for SIGCHLD is installed, and SIGCHLD is blocked, to not abandon our zombies to init(8). This way, the zombies are around slightly longer, allowing to actually exercise the logic for p_pwait use by the test. END K 10 svn:author V 4 nyan K 8 svn:date V 27 2013-02-06T13:55:02.513256Z K 7 svn:log V 33 MFi386: Remove firewire devices. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-06T14:29:05.078766Z K 7 svn:log V 82 Reduce diffs against HEAD: Reimplement vm_page_cache_free() as a range operation. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-06T14:50:34.765733Z K 7 svn:log V 144 Now that vm_page_cache_free() and vm_page_cache_transfer() are reimplemented as ranged operations, sync vm_page_is_cached() semantic with HEAD. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-06T14:54:26.330336Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-06T15:06:26.033252Z K 7 svn:log V 200 Revert previously added locking to tmpfs_mapped{read, write}. This part needs to be overhauled anyway and this will be done in a separate branch. Just cope with changes to let the radix trie compile. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-06T15:08:41.247853Z K 7 svn:log V 24 Merge from vmcontention END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-02-06T15:18:46.057516Z K 7 svn:log V 214 Prezero the acl structure which is to be copied to usermode, to avoid leakage of the previous content of padding and unitialized fields. Reported by: Ilia Noskov Reviewed by: kib MFC after: 1 week END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-02-06T15:23:55.931039Z K 7 svn:log V 273 Move callout(9) from struct bintime to a new 64-bit type, sbintime_t. There are quite a few advantages in using sbintime_t over struct bintime, they've been widely discussed on -current. See archives for more informations on the topic. Suggested by: phk Reviewed by: mav END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-02-06T15:55:41.699346Z K 7 svn:log V 90 Don't ask callout to align with hardclock() calls when there's no need. Reported by: mav END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-02-06T16:25:42.427685Z K 7 svn:log V 88 Remove a stale comment, introduced in r238424. Now we can deal with sub-tick precision. END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-02-06T16:43:35.191342Z K 7 svn:log V 40 Fix build if NO_EVENTTIMERS is defined. END K 10 svn:author V 3 jhb K 8 svn:date V 27 2013-02-06T17:06:51.775285Z K 7 svn:log V 1338 Rework the handling of stop signals in the NFS client. The changes in 195702, 195703, and 195821 prevented a thread from suspending while holding locks inside of NFS by forcing the thread to fail sleeps with EINTR or ERESTART but defer the thread suspension to the user boundary. However, this had the effect that stopping a process during an NFS request could abort the request and trigger EINTR errors that were visible to userland processes (previously the thread would have suspended and completed the request once it was resumed). This change instead effectively masks stop signals while in the NFS client. It uses the existing TDF_SBDRY flag to effect this since SIGSTOP cannot be masked directly. Also, instead of setting PBDRY on individual sleeps, the NFS client now sets the TDF_SBDRY flag around each NFS request and stop signals are masked for all sleeps during that region (the previous change missed sleeps in lockmgr locks). The end result is that stop signals sent to threads performing an NFS request are completely ignored until after the NFS request has finished processing and the thread prepares to return to userland. This restores the behavior of stop signals being transparent to userland processes while still preventing threads from suspending while holding NFS locks. Reviewed by: kib MFC after: 1 month END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-06T17:17:11.892403Z K 7 svn:log V 27 Reduce diffs against HEAD. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-06T17:22:16.816469Z K 7 svn:log V 14 Fix mismerge. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-06T17:27:41.523402Z K 7 svn:log V 171 - Move the vm_object_cache_is_empty() prototype to be sorted alphabetically. - Change the return type to be boolean_t in order to match what vm_page_is_cached() does. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-06T17:43:05.578580Z K 7 svn:log V 116 Add support for buttons on USB audio devices, like Volume Up and Volume Down. Reviewed by: mav @ MFC after: 1 week END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-06T17:47:24.195689Z K 7 svn:log V 43 Enrich comments on newly added assertions. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-06T18:04:28.244484Z K 7 svn:log V 109 Avoid a namespace pollution in vm_object.h by defining separately the structure for vm_radix implementation. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-06T18:21:36.368048Z K 7 svn:log V 70 MFC r238595, r238596: Add bunch of new ASC/ASCQ values from T10 site. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-06T18:22:52.348885Z K 7 svn:log V 70 MFC r238595, r238596: Add bunch of new ASC/ASCQ values from T10 site. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-06T18:30:53.717575Z K 7 svn:log V 139 MFC r240948 (by trasz): Fix panic in CTL caused by trying to free invalid pointers passed by the userland process via the IOCTL interface. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-06T18:32:12.829614Z K 7 svn:log V 79 MFC r240993 (by trasz): Remove useless NULL checks after M_WAITOK allocations. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-06T18:33:32.139309Z K 7 svn:log V 79 Fixup r246423 by adding vm_radix.h includes where it is not present currently. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-06T18:36:26.890750Z K 7 svn:log V 82 MFC r242174: Remove several uses of numeric priorities from immediate CCB setups. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-06T18:37:46.068634Z K 7 svn:log V 285 Cleanup vm_radix KPI: - Avoid the return value for vm_radix_insert() - Name the functions argument per-style(9) - Avoid to get and return opaque objects but use vm_page_t as vm_radix is thought to not really be general code but to cater specifically page cache and resident cache. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-06T18:40:07.517682Z K 7 svn:log V 617 MFC r242175: Remove priority enforcement from xpt_ation(). It is not good and even not safe in some cases to reduce CCB priority after it was scheduled with high priority. This fixes reproducible deadlock when command sent through the pass interface while ATA XPT recovers from command timeout. Instead of that enforce priority at passioctl(). libcam provides no obvious interface to specify CCB priority and so much (all?) code specifies zero (highest) priority. This change limits pass CCBs priority to NORMAL run level, allowing XPT to complete bus and device recovery after reset before running any payload. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-06T18:41:12.753890Z K 7 svn:log V 617 MFC r242175: Remove priority enforcement from xpt_ation(). It is not good and even not safe in some cases to reduce CCB priority after it was scheduled with high priority. This fixes reproducible deadlock when command sent through the pass interface while ATA XPT recovers from command timeout. Instead of that enforce priority at passioctl(). libcam provides no obvious interface to specify CCB priority and so much (all?) code specifies zero (highest) priority. This change limits pass CCBs priority to NORMAL run level, allowing XPT to complete bus and device recovery after reset before running any payload. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-06T18:59:34.840017Z K 7 svn:log V 40 Make vm_object_cache_is_empty() inline. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-06T19:02:46.959266Z K 7 svn:log V 47 Tweak comment to remove splay tree references. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-06T19:03:48.228609Z K 7 svn:log V 94 Do not assume the lock to be held so that this can be used also in safe cases as a short-cut. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-06T19:16:25.356096Z K 7 svn:log V 27 Fix 32-bit build. My bad. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-06T22:07:38.798154Z K 7 svn:log V 439 MFC r235911, r235980, r238739, r238740, r238894, r239213, r241488, r241952, r242173, r242621, r242634, r242638, r242647, r242720, r244418, r244508, r245891: Revamp the CAM enclosure services driver. This updated driver uses an in-kernel daemon to track state changes and publishes physical path location information for disk elements into the CAM device database. Sponsored by: Spectra Logic Corporation Sponsored by: iXsystems, Inc. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-06T22:22:15.249503Z K 7 svn:log V 230 MFC r241503: XPT_DEV_MATCH is probably the only xpt_action() method that is called without holding SIM lock. It really doesn't need that lock, but adding it removes that specific exception, allowing to assert locking there later. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-06T22:25:28.173084Z K 7 svn:log V 75 MFC r242358 (by trasz): Use M_ZERO instead of explicit memsets and bzeros. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-06T22:30:40.224567Z K 7 svn:log V 1695 MFC r244001 (by ken): Fix a panic during CAM EDT traversal. The problem was a race condition between the EDT traversal used by things like 'camcontrol devlist', and CAM peripheral driver removal. The EDT traversal code holds the CAM topology lock, and wants to show devices that have been invalidated. It acquires a reference to the peripheral to make sure the peripheral it is examining doesn't go away. However, because the peripheral removal code in camperiphfree() drops the CAM topology lock to call the peripheral's destructor routine, we can run into a situation where the EDT traversal increments the peripheral reference count after free process is already in progress. At that point, the reference count is ignored, because it was 0 when we started the process. Fix this race by setting a flag, CAM_PERIPH_FREE, that I previously added and checked in xptperiphtraverse() and xptpdperiphtravsere(), but failed to use. If the EDT traversal code sees that flag, it will know that the peripheral free process has already started, and that it should not access that peripheral. Also, fix an inconsistency in the locking between xptpdperiphtraverse() and xptperiphtraverse(). They now both hold the CAM topology lock while calling the peripheral traversal function. cam_xpt.c: Change xptperiphtraverse() to hold the CAM topology lock across calls to the traversal function. Take out the comment in xptpdperiphtraverse() that referenced the locking inconsistency. cam_periph.c: Set the CAM_PERIPH_FREE flag when we are in the process of freeing a peripheral driver. Sponsored by: Spectra Logic Corporation END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-06T22:32:45.622977Z K 7 svn:log V 126 MFC r244016 (by ken): Make sure we hold the SIM lock when calling xpt_free_path(). Sponsored by: Spectra Logic Corporation END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-06T22:39:45.414086Z K 7 svn:log V 235 MFC r236426 (by mjacob): Print FC PortID as a hex number. This makes it easy to figure out domain, etc.. Zero ATIO and INOTify allocations. It makes for much less guesswork when looking at the structure and seeing 'deadc0de' present. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-06T23:30:36.132496Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-06T23:42:04.987515Z K 7 svn:log V 24 Merge from vmcontention END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-06T23:48:04.988747Z K 7 svn:log V 79 Reformat comments to follow original version and re-add correct locking flags. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-02-07T00:24:23.406627Z K 7 svn:log V 153 Add AUDIT_ARG_SOCKADDR() macro so we can start using the audit_arg_sockaddr() function, which is currently unused. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-02-07T00:27:11.528369Z K 7 svn:log V 20 Minor style tweaks. END K 10 svn:author V 3 pjd K 8 svn:date V 27 2013-02-07T00:36:00.808317Z K 7 svn:log V 134 Audit sockaddr argument for bind(2), connect(2), accept(2), sendto(2) and recvfrom(2) syscalls. Sponsored by: The FreeBSD Foundation END K 10 svn:author V 6 obrien K 8 svn:date V 27 2013-02-07T00:48:42.448706Z K 7 svn:log V 43 Correct the r242545 sync with head@242525. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-07T02:15:25.260110Z K 7 svn:log V 112 Methodize the process of adding the software TX queue to the taskqueue. Move it (for now) to the TX taskqueue. END K 10 svn:author V 3 bjk K 8 svn:date V 27 2013-02-07T04:49:28.591107Z K 7 svn:log V 111 MFC r245051: Grammar fixes and some wordsmithing Discussed with: rmacklem Approved by: hrs (mentor) END K 10 svn:author V 4 neel K 8 svn:date V 27 2013-02-07T06:48:47.551849Z K 7 svn:log V 237 If an interrupt event's assign_cpu method fails, then restore the original cpuset mask for the associated interrupt thread. The text used above is verbatim from r195249 and the code should now be in line with the intent of that commit. END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-07T07:50:16.840227Z K 7 svn:log V 150 Create a new TX lock specifically for queuing frames. This now separates out the act of queuing frames from the act of running TX and TX completion. END K 10 svn:author V 8 hselasky K 8 svn:date V 27 2013-02-07T08:20:03.762143Z K 7 svn:log V 127 Add support for mute buttons on USB audio devices and use the hwvol interface to adjust the mixer settings. MFC after: 1 week END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-07T08:27:48.417312Z K 7 svn:log V 127 MFC r235922: Revert devfs part of r235911. I was unaware about old but unfinished discussion between kib@ and gibbs@ about it. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-07T10:21:01.986337Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-07T10:24:04.648971Z K 7 svn:log V 24 Merge from vmcontention END K 10 svn:author V 3 pgj K 8 svn:date V 27 2013-02-07T10:37:36.118483Z K 7 svn:log V 344 Activate commit bit for achim (Achim Leubner), mentored by scottl and emaste. Achim has worked for Intel, Adaptec, and now PMC writing FreeBSD drivers for various RAID cards. His work includes the iir(4) driver, stewardship and updates to the aac(4) driver, and a new aacraid(4) driver that is ready to commit to the tree. Approved by: core END K 10 svn:author V 6 davide K 8 svn:date V 27 2013-02-07T10:40:45.156247Z K 7 svn:log V 94 Fix a braino. Pass the correct argument to DELAY() and unbreak pause_sbt(). Reported by: mav END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-07T11:01:01.961682Z K 7 svn:log V 53 Use unsigned type when dealing with fractional part. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-07T11:01:56.755257Z K 7 svn:log V 20 Use right variable. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2013-02-07T11:08:03.151497Z K 7 svn:log V 40 Fix a copy-and-paste error in libcxxrt. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-02-07T11:09:16.419248Z K 7 svn:log V 426 MFC r226043 (manually): Remove assertion against empty NFSv4 ACLs. An empty ACL is not exactly valid - we don't allow for setting it on a file, for example - but it's not something we should assert on. For STABLE kernel, it changes nothing, because it's not compiled with INVARIANTS. If it was, it would fix crashes. It also fixes an assert in libc encountered with NFSv4 without nfsuserd(8) running. Approved by: trasz END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-07T11:35:30.597039Z K 7 svn:log V 23 Fix style consistency. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-07T11:36:34.196374Z K 7 svn:log V 30 Reduce differences with HEAD. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-07T12:58:51.999048Z K 7 svn:log V 76 Fix build with GCC. Initialize precision variables even when they not used. END K 10 svn:author V 3 mav K 8 svn:date V 27 2013-02-07T12:59:38.592095Z K 7 svn:log V 38 Remove no more used zero_bt variable. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2013-02-07T13:09:19.653837Z K 7 svn:log V 36 Import new libc++ to vendor branch. END K 10 svn:author V 8 theraven K 8 svn:date V 27 2013-02-07T13:10:21.708578Z K 7 svn:log V 23 Tag new libc++ import. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-02-07T14:45:56.876835Z K 7 svn:log V 86 Branch head at 189017 for further testing/merging of pxe_http Welcome to 3 years ago END K 10 svn:author V 5 achim K 8 svn:date V 27 2013-02-07T14:49:55.597677Z K 7 svn:log V 91 Add myself as a src committer and my mentor relationship. Approved by: emaste (co-mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-07T14:53:33.737099Z K 7 svn:log V 372 Stop translating the ERESTART error from the open(2) into EINTR. Posix requires that open(2) is restartable for SA_RESTART. For non-posix objects, in particular, devfs nodes, still disable automatic restart of the opens. The open call to a driver could have significant side effects for the hardware. Noted and reviewed by: jilles Discussed with: bde MFC after: 2 weeks END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-07T15:06:04.586810Z K 7 svn:log V 7 Style. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-07T15:06:45.345501Z K 7 svn:log V 18 Strengten checks. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-07T15:08:35.628542Z K 7 svn:log V 28 Correctly complete r246474. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-07T15:11:43.879476Z K 7 svn:log V 115 Document the ERESTART translation to EINTR for devfs nodes. Based on the submission by: jilles MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-02-07T15:13:35.131490Z K 7 svn:log V 80 Use proper pointer in the ifa_free(). Remove sa6_embedscope/in6_setscope calls. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-07T15:13:35.583620Z K 7 svn:log V 65 Remove implementation specific comments from a public interface. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-02-07T15:15:34.124061Z K 7 svn:log V 29 Remove in6_clearscope calls. END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-07T15:16:18.563563Z K 7 svn:log V 4 MFC END K 10 svn:author V 7 attilio K 8 svn:date V 27 2013-02-07T15:19:12.646846Z K 7 svn:log V 24 Merge from vmcontention END K 10 svn:author V 3 rrs K 8 svn:date V 27 2013-02-07T15:20:54.985967Z K 7 svn:log V 1308 This fixes a out-of-order problem with several of the newer drivers. The basic problem was that the driver was pulling the mbuf off the drbr ring and then when sending with xmit(), encounting a full transmit ring. Thus the lower layer xmit() function would return an error, and the drivers would then append the data back on to the ring. For TCP this is a horrible scenario sure to bring on a fast-retransmit. The fix is to use drbr_peek() to pull the data pointer but not remove it from the ring. If it fails then we either call the new drbr_putback or drbr_advance method. Advance moves it forward (we do this sometimes when the xmit() function frees the mbuf). When we succeed we always call advance. The putback will always copy the mbuf back to the top of the ring. Note that the putback *cannot* be used with a drbr_dequeue() only with drbr_peek(). We most of the time, in putback, would not need to copy it back since most likey the mbuf is still the same, but sometimes xmit() functions will change the mbuf via a pullup or other call. So the optimial case for the single consumer is to always copy it back. If we ever do a multiple_consumer (for lagg?) we will need a test and atomic in the put back possibly a seperate putback_mc() in the ring buf. Reviewed by: jhb@freebsd.org, jlv@freebsd.org END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-02-07T15:22:50.994956Z K 7 svn:log V 43 Move the multicast check into first place. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-07T15:34:22.006211Z K 7 svn:log V 969 When vforked child is traced, the debugging events are not generated until child performs exec(). The behaviour is reasonable when a debugger is the real parent, because the parent is stopped until exec(), and sending a debugging event to the debugger would deadlock both parent and child. On the other hand, when debugger is not the parent of the vforked child, not sending debugging signals makes it impossible to debug across vfork. Fix the issue by declining generating debug signals only when vfork() was done and child called ptrace(PT_TRACEME). Set a new process flag P_PPTRACE from the attach code for PT_TRACEME, if P_PPWAIT flag is set, which indicates that the process was created with vfork() and still did not execed. Check P_PPTRACE from issignal(), instead of refusing the trace outright for the P_PPWAIT case. The scope of P_PPTRACE is exactly contained in the scope of P_PPWAIT. Found and tested by: zont Reviewed by: pluknet MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-07T15:36:24.854452Z K 7 svn:log V 85 Document the detail of interaction between vfork and PT_TRACEME. MFC after: 2 weeks END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-07T15:37:51.913166Z K 7 svn:log V 40 Document P_PPTRACE. MFC after: 2 weeks END K 10 svn:author V 8 theraven K 8 svn:date V 27 2013-02-07T15:45:28.282458Z K 7 svn:log V 82 Import new libc++ to head. Various small fixes and cleanups. MFC after: 2 weeks END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-02-07T15:49:05.532581Z K 7 svn:log V 54 Bring pxe_http into head@189017 in a functional state END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-02-07T16:39:36.923514Z K 7 svn:log V 468 Rework the unicast check. Use in6_addrscope to determine the scope of source and destination addresses. If source address is from the link-local scope, then check that it is loopback. If so, then it must be received on the loopback interface. Based on the receiving interface and destination address scope, determine the corresponding ifaddr. If destination address has link-local scope and ifaddr wasn't found, this means that the address is from the different zone. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-02-07T17:14:16.104689Z K 7 svn:log V 32 Use in6ifa_ifwithaddr function. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-02-07T17:16:19.245402Z K 7 svn:log V 24 Remove redundant check. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-02-07T17:23:03.679783Z K 7 svn:log V 31 Don't forget to call ifa_free. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-02-07T18:00:33.505859Z K 7 svn:log V 135 Check that packets with loopback source addresses received on the correct interface before multicast check. Also add missed ifa_free. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-02-07T18:47:25.769573Z K 7 svn:log V 50 Remove in6_clearscope and sa6_recoverscope calls. END K 10 svn:author V 7 delphij K 8 svn:date V 27 2013-02-07T19:00:54.381154Z K 7 svn:log V 95 Catch TRACE parameters up with r238888. This change is only needed when debugging is enabled. END K 10 svn:author V 6 marcel K 8 svn:date V 27 2013-02-07T19:09:10.630983Z K 7 svn:log V 61 Unleash sjg@. He's been an excellent mentee. Have fun Simon. END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:12:55.573388Z K 7 svn:log V 971 Stop a mesh STA from flooding with peer frames. This problem happens when using ACL policy to filter mesh STA but two nodes have different policy. Then one of them will try to peer all the time. This can also help if for any reason one of the peering mesh STA have problems sending/receiving peer frames. * Modified struct ieee80211_node to include two new fields: + struct callout ni_mlhtimer /* link mesh backoff timer */ + uint8_t ni_mlhcnt /* link mesh holding counter */ * Added two new sysctl (check sysctl -d for more info): + net.wlan.mesh.backofftimeout=5000 + net.wlan.mesh.maxholding=2; * When receiving a beacon and we are in IEEE80211_NODE_MESH_IDLE check if ni_mlhcnt >= ieee80211_mesh_maxholding, if so do not do anything; * In mesh_peer_timeout_cb when transitioning from IEEE80211_NODE_MESH_HOLDING to IEEE80211_NODE_MESH_IDLE increment ni_mlhcnt, and eventually start ieee80211_mesh_backofftimeout; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:17:35.065361Z K 7 svn:log V 288 Fix mesh path flag. * A bug occurs while in discovery mode which leaves a path marked with both Discover and Valid flag. This happens when receiving/sending PREQ and PREP in a particular order. Solution is to assign the Valid bit instead of oring it; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:18:22.017087Z K 7 svn:log V 197 Add mesh debug for interarction between DS & MBSS. * Add mesh debug information when frames enter or leave the MBSS; * Set IEEE80211_MSG_OUTPUT bit to enable output; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:19:44.624557Z K 7 svn:log V 212 HWMP: Accept a PERR even if path is valid. * An HWMP PERR should be accepted even if path is valid. Because we check if we recevied it from a neighbour that we use as a next hop; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:20:28.798261Z K 7 svn:log V 525 Update net80211 mesh struct ieee80211_meshgann_ie. * Change all field prefix from pann_ to gann_; * Added IEEE80211_MESHGANN_BASE_SZ macro to be used in the length field of a GANN frame according to 802.11 standard; * Changed gann_seq field type to uint32_t; * Added a Gate Announcement interval field according to IEEE802.11 2012 standard; * Added IEEE80211_MESHRT_FLAGS_GATE as flag bit to ieee80211_mesh_route; * Added IEEE80211_MESHRT_FLAGS_GATE as flag bit to ieee80211req_mesh_route; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:21:05.254395Z K 7 svn:log V 459 Update in ieee80211_action.c for mesh code handlers. * Removed meshlm_send_action and hwmp_send_action. Introduced one common for all Mesh Action frames meshaction_send_action. According to 802.11 standard Link Metric and HWMP are all under Mesh Action category; * Did similar changes to recv_action part; * The size of meshaction_*_action is set to 12. This is to make room for the rest of Mesh Action category subtypes; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:21:40.825962Z K 7 svn:log V 386 Mesh: management mesh action frames are to be discarded when not peered. * Modified ieee80211_recv_action to check if neighbour is peered for IEEE80211_ACTION_CAT_MESH frames, if not frame is discarded. This is according to IEEE802.11 2012 standard; * Removed duplicate checks in each hwmp_recv_* handlers because HWMP is a subtype of mesh action; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:22:14.286474Z K 7 svn:log V 170 Start accepting IEEE80211_ACTION_MESH_GANN frames; * Add IEEE80211_ACTION_MESH_GANN Action frame verification in ieee80211_parse_action; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:23:03.220612Z K 7 svn:log V 74 Mark a mesh path to a mesh gate with a 'G'. Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:23:43.568563Z K 7 svn:log V 1188 Mesh update: add base Mesh Gate functionality. A Mesh Gate should transmit a Mesh Action frame containing ieee80211_meshgann_ie as its only information element periodically every ieee80211_mesh_gateint ms. Unless the mesh gate is also configure as a ROOT, then these frames should not be send. This is according to 802.11 2012 standard; * Introduce new SYSCTL net.wlan.mesh.gateint, with 10s default; * Add two new functions mesh_gatemode_setup and mesh_gatemode_cb. This is similar to how HWMP setups up a callout; * Add two new action handlers mesh_recv_action_meshgate and mesh_send_action_meshgate; * Added ieee80211_add_meshgate to ieee80211_mesh.h; * Modified mesh_send_action to look similar to hwmp_send_action. This is because we need to send out broadcast management frames. * Introduced a new flag for mesh state IEEE80211_MESHFLAGS_ROOT. This flag is now set by HWMP code when a mesh STA is configured as a ROOT. This is then checked by mesh_gatemode_cb before scheduling a new callout; * Added to new field to ieee80211_mesh_state: + struct callout ms_gatetimer + ieee80211_mesh_seq ms_gateseq; Approved by: adrian (mentor) END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-02-07T21:24:10.056752Z K 7 svn:log V 19 sh: Fix a comment. END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:24:20.037100Z K 7 svn:log V 602 Propagate GANN frames, and store know gate info. * Modified mesh_recv_action_meshgate to do following: + if mesh STA already knows the mesh gate of the recevied GANN frame + if mesh gate is know, check seq number according to 802.11 standard + if mesh gate is not know, add it to the list of known mesh gates + if forwarding is enabled and ttl >= 1 then propagate the GANN frame; * Declare a new malloc type M_80211_MESH_GT_RT; * Declare a struct to store GANN information, ieee80211_mesh_gate_route. And add it as a TAILQ list to ieee80211_mesh_state; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:24:52.360429Z K 7 svn:log V 270 Mark root mesh as gate when mesh gate flag set. * Add function ieee80211_mesh_mark_gate in ieee80211_mesh.h; * When received a proactive PREQ or RANN with corresponding mesh gate flag set, create a new entry in the known mesh gate list; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:25:32.906679Z K 7 svn:log V 495 Send frames to mesh gate if 11s discovery fails. * Send frames that have no path to a known valid Mesh Gate; * Added the function ieee80211_mesh_forward_to_gates that sends the frame to the first found Mesh Gate in the forwarding information; * If we try to discover again while we are discovering queue frame, the discovery callout will send the frames either to mesh gates or discards them silently; * Queue frame also if we try to discover to frequently; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:26:06.184731Z K 7 svn:log V 564 Mesh gate code to transmit to all mesh gates. * Modified mesh_find_txnode to be able to handle proxy marked entries by recursively calling itself to find the txnode towards the active mesh gate; * Mesh Gate: Added a new function that transmits data frames similar to ieee80211_start; * Modified ieee80211_mesh_forward_to_gates so that: + Frames are duplicated and sent to each valid Mesh Gate; + Route is marked invalid before return of function, this is because we dont know yet which Mesh Gate is we will use; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:26:40.219709Z K 7 svn:log V 868 HWMP: ic->raw_xmit didn't always point to correct ni. This is a code re-write. ic->raw_xmit need a pointer to ieee80211_node for the destination node (da). I have reorganized the code so that a pointer to the da node is searched for in the end & in one place. * Make mesh_find_txnode public to be used by HWMP, renamed to ieee80211_mesh_finx_txnode; * changed the argument from ieee80211_node to ieee80211vap for all hwmp_send_* functions; * removed the 'sa' argument from hwmp_send_* functions as all HWMP frames have the source address equal to vap->iv_myaddr; * Modified hwmp_send_action so that if da is MULTCAST ni=vap->iv_bss otherwise we called ieee80211_mesh_find_txnode. Also no need to hold a reference in this functions if da is not MULTICAST as by finding the node it became referenced in ieee80211_find_txnode; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:27:40.859601Z K 7 svn:log V 324 Mesh HWMP PREQ update: proxy reply only if mesh STA is a meshgate. * Original PREP frame is transmitted only by the target mesh STA or the mesh STA that is the proxy target; * Fixed so that metric value is not over written incorrectly in hwmp_recv_preq for when replying back with a PREP; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:28:25.834315Z K 7 svn:log V 351 Mesh HWMP: don't send an intermediate PREP for proxy entries. * The standard is unclear about what should happen in case a mesh STA (not marked as a mesh gate) recevies a PREQ for a destination that is marked as proxy. Solution for now is not to do intermediate reply at all, and let the PREQ reach the mesh gate; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:29:14.432808Z K 7 svn:log V 88 Mesh HWMP PREQ: fixed conditions for discarding elements. Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:29:48.810574Z K 7 svn:log V 176 Update ddb to print mesh routing table. * Modified _db_show_vap and _db_show_com to print mesh routing table if the 'm' modifier is specified; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:30:29.290295Z K 7 svn:log V 197 Mesh bug: debug infomartion showing swapped SA and DA address. * Fix bug for "forward frame from SA(%6D), DA(%6D)" where addresses where swapped between SA and DA; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:30:58.647665Z K 7 svn:log V 288 Mesh HWMP PERR bug fixes. * When calling ieee80211_mesh_rt_flush_peer, the rt->rt_dest argument should not be passed because it can get freed before invalidating the other routes that depends on it to compare with next_hop. Use PERR_DADDR(i) instead; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:31:37.829532Z K 7 svn:log V 360 Mesh HWMP forwarding information: updating FI for transmitter. * Added hwmp_update_transmitter function that checks if the metric to the transmitter have improved. If old FI is invalid or metric is larger the FI to the transmitter is updated occurdingly. This is a recommendation from the 802.11 2012 standard, table 13-9; Approved by: adrian (mentor) END K 10 svn:author V 9 monthadar K 8 svn:date V 27 2013-02-07T21:32:09.283715Z K 7 svn:log V 193 Mesh: recevied GANN frames where not parsed correctly. * Added mesh_parse_meshgate_action that parse all values to host endian; * Add more detailed debug output; Approved by: adrian (mentor) END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-07T22:40:26.424207Z K 7 svn:log V 13 Free Jeremie END K 10 svn:author V 6 jilles K 8 svn:date V 27 2013-02-07T22:42:33.983449Z K 7 svn:log V 773 sh: Simplify mksyntax and make it fit for cross-compiling. Now it outputs fixed files, which use constants provided by the C standard library to determine appropriate values for the target machine. Before, mksyntax inspected the host machine which resulted in subtle breakage if e.g. char is signed on the host and unsigned on the target such as when cross-compiling on x86 for ARM. Tested using -funsigned-char on amd64. Compiling build-tools without it and sh itself with it causes various tests to fail without this change but not with this change. With consistent -funsigned-char, tests pass with or without this change. The mksyntax program could be removed and syntax.c and syntax.h committed to the repository. Submitted by: Christoph Mallon MFC after: 2 weeks END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-02-08T00:37:20.921717Z K 7 svn:log V 28 Do not reset sin6_scope_id. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-02-08T00:39:05.907485Z K 7 svn:log V 30 Remove unneeded bzero() call. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-02-08T00:40:10.930069Z K 7 svn:log V 18 Remove dead code. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-02-08T01:28:30.179560Z K 7 svn:log V 262 Bring pxe_http all the way to the modern era in a functional state. LOADER_HTTP_SUPPORT works in this branch at this time by compiling: make -DLOADER_HTTP_SUPPOT -DLOADER_NO_GPT_SUPPORT. This will boot and attempt to fetch a kernel/ramdisk from a web server. END K 10 svn:author V 6 sbruno K 8 svn:date V 27 2013-02-08T01:30:08.749091Z K 7 svn:log V 16 Merge from HEAD END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-02-08T03:37:51.092813Z K 7 svn:log V 175 Reduce the size of ip6aux structure, just disable for now all unused and unimplemented fields. Replace the in6_ifaddr pointer to the in6_addr structure and add zone id field. END K 10 svn:author V 2 ae K 8 svn:date V 27 2013-02-08T03:54:06.162419Z K 7 svn:log V 372 Rework ip6_setdstifaddr function. Keeping pointer to in6_ifaddr structure without holding the reference can lead to the panic. So, keep the destination address and zone id instead. Also rename it into ip6_savedstinfo(). ip6_getdstifaddr() function now uses saved address and zone id for in6_ifaddr lookup. Remove additional ia6 declarations, use already declared pointer. END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-08T07:29:07.728554Z K 7 svn:log V 244 ktr: correctly handle possible wrap-around in the boot buffer Older entries should be 'before' newer entries in the new buffer too and there should be no zero-filled gap between them. Pointed out by: jhb MFC after: 3 days X-MFC with: r246282 END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-08T07:44:15.696588Z K 7 svn:log V 91 zfs: update comments about zfid_long_t to match the FreeBSD definitions MFC after: 1 week END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-08T07:49:54.952569Z K 7 svn:log V 264 zfs_vget, zfs_fhtovp: properly handle the z_shares_dir object A special gfs vnode corresponds to that object. A regular zfs vnode must not be returned. This should be upstreamed. Reported by: pluknet Submitted by: rmacklem Tested by: pluknet MFC after: 10 days END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-08T07:59:13.803436Z K 7 svn:log V 44 MFC r246244: solaris compat: remove KM_ZERO END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-08T08:03:03.264738Z K 7 svn:log V 49 MFC r246242: zfs: add MODULE_VERSION for zfsctrl END K 10 svn:author V 3 avg K 8 svn:date V 27 2013-02-08T08:03:18.758780Z K 7 svn:log V 48 MFC r246242: zfs: add MODULE_VERSION for zfsctr END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-08T09:07:03.989273Z K 7 svn:log V 920 Fix a corner case that I noticed with the AR5416 (and it's currently crappy 802.11n performance, sigh.) With the AR5416, aggregates need to be limited to 8KiB if RTS/CTS is enabled. However, larger aggregates were going out with RTSCTS enabled. The following was going on: * The first buffer in the list would have RTS/CTS enabled in bf->bf_state.txflags; * The aggregate would be formed; * The "copy over the txflags from the first buffer" logic that I added blanked the RTS/CTS TX flags fields, and then copied the bf_first RTS/CTS flags over; * .. but that'd cause bf_first to be blanked out! And thus the flag was cleared; * So the rest of the aggregate formation would run with those flags cleared, and thus > 8KiB aggregates were formed. The driver is now (again) correctly limiting aggregate formation for the AR5416 but there are still other pending issues to resolve. Tested: * AR5416, STA mode END K 10 svn:author V 6 adrian K 8 svn:date V 27 2013-02-08T09:11:55.095412Z K 7 svn:log V 223 Fix ieee80211_mesh.c compilation. * Add the superg.h header to allow ieee80211_check_ff() to work * Since the assert stuff creates assertions based on line numbers and there was a conflict, just nudge things down a bit. END K 10 svn:author V 7 pluknet K 8 svn:date V 27 2013-02-08T09:54:53.116213Z K 7 svn:log V 88 Fix warning: comparison of unsigned expression < 0 is always false. Reported by: clang END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-08T10:20:00.642357Z K 7 svn:log V 64 MFC r246213: Assert that the mbuf in the chain has sane length. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-08T10:25:24.259969Z K 7 svn:log V 56 MFC r246215: Fix a backwards comment in markvoldirty(). END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-08T10:30:04.712738Z K 7 svn:log V 79 MFC r246216: The mountmsdosfs() function had an insane sanity test, remove it. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-08T10:34:07.136277Z K 7 svn:log V 114 MFC r246217: Fix the corruption of the ".." entry for the directory moved to a subdirectory of the root on FAT32. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-08T10:38:12.361773Z K 7 svn:log V 195 MFC r246218: Backup FATs were sometimes marked dirty by copying their first block from the primary FAT, and then they were not marked clean on unmount. Force marking them clean when appropriate. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-08T10:41:51.096538Z K 7 svn:log V 83 MFC r246219: Use MNT_SYNCHRONOUS to decide to write the FAT updates syncrhonously. END K 10 svn:author V 3 kib K 8 svn:date V 27 2013-02-08T11:10:26.336444Z K 7 svn:log V 56 MFC r246215: Fix a backwards comment in markvoldirty(). END K 10 svn:author V 6 dteske K 8 svn:date V 27 2013-02-08T11:14:01.565885Z K 7 svn:log V 238 Remove NO_OBJ from Makefiles that generate manuals because this causes the GZIP compressed manuals to appear in ./src instead of the appropriate obj dir. PR: conf/175844 Submitted by: Dominique Goncalves END