svn commit: r246532 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs

2013-02-07 Thread Andriy Gapon
Author: avg Date: Fri Feb 8 07:49:54 2013 New Revision: 246532 URL: http://svnweb.freebsd.org/changeset/base/246532 Log: 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 shoul

svn commit: r246531 - head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys

2013-02-07 Thread Andriy Gapon
Author: avg Date: Fri Feb 8 07:44:15 2013 New Revision: 246531 URL: http://svnweb.freebsd.org/changeset/base/246531 Log: zfs: update comments about zfid_long_t to match the FreeBSD definitions MFC after:1 week Modified: head/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/zfs_vfs

svn commit: r246530 - head/sys/kern

2013-02-07 Thread Andriy Gapon
Author: avg Date: Fri Feb 8 07:29:07 2013 New Revision: 246530 URL: http://svnweb.freebsd.org/changeset/base/246530 Log: 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 g

svn commit: r246522 - head/bin/sh

2013-02-07 Thread Jilles Tjoelker
Author: jilles Date: Thu Feb 7 22:42:33 2013 New Revision: 246522 URL: http://svnweb.freebsd.org/changeset/base/246522 Log: 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 appropria

svn commit: r246520 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:32:09 2013 New Revision: 246520 URL: http://svnweb.freebsd.org/changeset/base/246520 Log: 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;

svn commit: r246519 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:31:37 2013 New Revision: 246519 URL: http://svnweb.freebsd.org/changeset/base/246519 Log: Mesh HWMP forwarding information: updating FI for transmitter. * Added hwmp_update_transmitter function that checks if the metric to the transmitter have impro

svn commit: r246518 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:30:58 2013 New Revision: 246518 URL: http://svnweb.freebsd.org/changeset/base/246518 Log: 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 invalidati

svn commit: r246517 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:30:29 2013 New Revision: 246517 URL: http://svnweb.freebsd.org/changeset/base/246517 Log: 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

svn commit: r246516 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:29:48 2013 New Revision: 246516 URL: http://svnweb.freebsd.org/changeset/base/246516 Log: 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

svn commit: r246515 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:29:14 2013 New Revision: 246515 URL: http://svnweb.freebsd.org/changeset/base/246515 Log: Mesh HWMP PREQ: fixed conditions for discarding elements. Approved by: adrian (mentor) Modified: head/sys/net80211/ieee80211_hwmp.c Modified: head/sys/net8021

svn commit: r246514 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:28:25 2013 New Revision: 246514 URL: http://svnweb.freebsd.org/changeset/base/246514 Log: 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)

svn commit: r246513 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:27:40 2013 New Revision: 246513 URL: http://svnweb.freebsd.org/changeset/base/246513 Log: 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

svn commit: r246512 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:26:40 2013 New Revision: 246512 URL: http://svnweb.freebsd.org/changeset/base/246512 Log: 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 hav

svn commit: r246511 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:26:06 2013 New Revision: 246511 URL: http://svnweb.freebsd.org/changeset/base/246511 Log: 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 t

svn commit: r246510 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:25:32 2013 New Revision: 246510 URL: http://svnweb.freebsd.org/changeset/base/246510 Log: 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

svn commit: r246509 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:24:52 2013 New Revision: 246509 URL: http://svnweb.freebsd.org/changeset/base/246509 Log: 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 corres

svn commit: r246508 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:24:20 2013 New Revision: 246508 URL: http://svnweb.freebsd.org/changeset/base/246508 Log: 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 recev

svn commit: r246507 - head/bin/sh

2013-02-07 Thread Jilles Tjoelker
Author: jilles Date: Thu Feb 7 21:24:10 2013 New Revision: 246507 URL: http://svnweb.freebsd.org/changeset/base/246507 Log: sh: Fix a comment. Modified: head/bin/sh/parser.h Modified: head/bin/sh/parser.h == --- hea

svn commit: r246506 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:23:43 2013 New Revision: 246506 URL: http://svnweb.freebsd.org/changeset/base/246506 Log: 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 p

svn commit: r246505 - head/sbin/ifconfig

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:23:03 2013 New Revision: 246505 URL: http://svnweb.freebsd.org/changeset/base/246505 Log: Mark a mesh path to a mesh gate with a 'G'. Approved by: adrian (mentor) Modified: head/sbin/ifconfig/ifieee80211.c Modified: head/sbin/ifconfig/ifieee80211.c

svn commit: r246504 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:22:14 2013 New Revision: 246504 URL: http://svnweb.freebsd.org/changeset/base/246504 Log: Start accepting IEEE80211_ACTION_MESH_GANN frames; * Add IEEE80211_ACTION_MESH_GANN Action frame verification in ieee80211_parse_action; Approved by: adr

svn commit: r246503 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:21:40 2013 New Revision: 246503 URL: http://svnweb.freebsd.org/changeset/base/246503 Log: Mesh: management mesh action frames are to be discarded when not peered. * Modified ieee80211_recv_action to check if neighbour is peered for IEEE80211_ACTI

svn commit: r246502 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:21:05 2013 New Revision: 246502 URL: http://svnweb.freebsd.org/changeset/base/246502 Log: 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 meshac

svn commit: r246501 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:20:28 2013 New Revision: 246501 URL: http://svnweb.freebsd.org/changeset/base/246501 Log: 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 leng

svn commit: r246500 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:19:44 2013 New Revision: 246500 URL: http://svnweb.freebsd.org/changeset/base/246500 Log: 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

svn commit: r246499 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:18:22 2013 New Revision: 246499 URL: http://svnweb.freebsd.org/changeset/base/246499 Log: 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 out

svn commit: r246498 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:17:35 2013 New Revision: 246498 URL: http://svnweb.freebsd.org/changeset/base/246498 Log: 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

svn commit: r246497 - head/sys/net80211

2013-02-07 Thread Monthadar Al Jaberi
Author: monthadar Date: Thu Feb 7 21:12:55 2013 New Revision: 246497 URL: http://svnweb.freebsd.org/changeset/base/246497 Log: 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 th

Re: svn commit: r246085 - in head/sys: amd64/linux32 compat/linprocfs compat/linux i386/linux

2013-02-07 Thread Chagin Dmitry
On Tue, Jan 29, 2013 at 06:41:30PM +, John Baldwin wrote: > Author: jhb > Date: Tue Jan 29 18:41:30 2013 > New Revision: 246085 > URL: http://svnweb.freebsd.org/changeset/base/246085 > > Log: > Reduce duplication between i386/linux/linux.h and amd64/linux32/linux.h > by moving bits that ar

svn commit: r246495 - head/bin/sh

2013-02-07 Thread Xin LI
Author: delphij Date: Thu Feb 7 19:00:54 2013 New Revision: 246495 URL: http://svnweb.freebsd.org/changeset/base/246495 Log: Catch TRACE parameters up with r23. This change is only needed when debugging is enabled. Modified: head/bin/sh/jobs.c Modified: head/bin/sh/jobs.c ===

svn commit: r246487 - in head/contrib/libc++: include src

2013-02-07 Thread David Chisnall
Author: theraven Date: Thu Feb 7 15:45:28 2013 New Revision: 246487 URL: http://svnweb.freebsd.org/changeset/base/246487 Log: Import new libc++ to head. Various small fixes and cleanups. MFC after:2 weeks Modified: head/contrib/libc++/include/__config head/contrib/libc++/include/

svn commit: r246486 - head/bin/ps

2013-02-07 Thread Konstantin Belousov
Author: kib Date: Thu Feb 7 15:37:51 2013 New Revision: 246486 URL: http://svnweb.freebsd.org/changeset/base/246486 Log: Document P_PPTRACE. MFC after:2 weeks Modified: head/bin/ps/ps.1 Modified: head/bin/ps/ps.1 =

svn commit: r246485 - head/lib/libc/sys

2013-02-07 Thread Konstantin Belousov
Author: kib Date: Thu Feb 7 15:36:24 2013 New Revision: 246485 URL: http://svnweb.freebsd.org/changeset/base/246485 Log: Document the detail of interaction between vfork and PT_TRACEME. MFC after:2 weeks Modified: head/lib/libc/sys/ptrace.2 Modified: head/lib/libc/sys/ptrace.2

svn commit: r246484 - in head/sys: kern sys

2013-02-07 Thread Konstantin Belousov
Author: kib Date: Thu Feb 7 15:34:22 2013 New Revision: 246484 URL: http://svnweb.freebsd.org/changeset/base/246484 Log: 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

svn commit: r246482 - in head/sys: dev/bxe dev/e1000 dev/ixgbe dev/oce net ofed/drivers/net/mlx4 sys

2013-02-07 Thread Randall Stewart
Author: rrs Date: Thu Feb 7 15:20:54 2013 New Revision: 246482 URL: http://svnweb.freebsd.org/changeset/base/246482 Log: 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

svn commit: r246476 - head/lib/libc/sys

2013-02-07 Thread Konstantin Belousov
Author: kib Date: Thu Feb 7 15:11:43 2013 New Revision: 246476 URL: http://svnweb.freebsd.org/changeset/base/246476 Log: Document the ERESTART translation to EINTR for devfs nodes. Based on the submission by: jilles MFC after:2 weeks Modified: head/lib/libc/sys/open.2 Modified:

svn commit: r246472 - in head/sys: fs/devfs kern

2013-02-07 Thread Konstantin Belousov
Author: kib Date: Thu Feb 7 14:53:33 2013 New Revision: 246472 URL: http://svnweb.freebsd.org/changeset/base/246472 Log: 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

svn commit: r246471 - head/share/misc

2013-02-07 Thread Achim Leubner
Author: achim Date: Thu Feb 7 14:49:55 2013 New Revision: 246471 URL: http://svnweb.freebsd.org/changeset/base/246471 Log: Add myself as a src committer and my mentor relationship. Approved by: emaste (co-mentor) Modified: head/share/misc/committers-src.dot Modified: head/share/misc/c

svn commit: r246462 - head/contrib/libcxxrt

2013-02-07 Thread David Chisnall
Author: theraven Date: Thu Feb 7 11:08:03 2013 New Revision: 246462 URL: http://svnweb.freebsd.org/changeset/base/246462 Log: Fix a copy-and-paste error in libcxxrt. Modified: head/contrib/libcxxrt/exception.cc Modified: head/contrib/libcxxrt/exception.cc ===

Re: svn commit: r246362 - head/games/fortune/datfiles

2013-02-07 Thread Slawa Olhovchenkov
On Wed, Feb 06, 2013 at 12:55:47AM +0400, Gleb Smirnoff wrote: > J> Yes, the insta-MFC is also not appropriate, esp. for something that you > know > J> is going to raise eyebrows when it is committed. Having to debate this > sort > J> of thing in public on mailing lists is also distinctly unhel

svn commit: r246454 - in head/sys/dev/sound: pcm usb

2013-02-07 Thread Hans Petter Selasky
Author: hselasky Date: Thu Feb 7 08:20:03 2013 New Revision: 246454 URL: http://svnweb.freebsd.org/changeset/base/246454 Log: Add support for mute buttons on USB audio devices and use the hwvol interface to adjust the mixer settings. MFC after:1 week Modified: head/sys/dev/sound/p