svn commit: r299213 - head/sys/netinet6

2016-05-06 Thread Mark Johnston
Author: markj Date: Sat May 7 03:41:29 2016 New Revision: 299213 URL: https://svnweb.freebsd.org/changeset/base/299213 Log: Clean up callers of nd6_prelist_add(). nd6_prelist_add() sets *newp if and only if it is successful, so there's no need for code that handles the case where the ret

svn commit: r299212 - head/sys/netinet6

2016-05-06 Thread Mark Johnston
Author: markj Date: Sat May 7 03:32:29 2016 New Revision: 299212 URL: https://svnweb.freebsd.org/changeset/base/299212 Log: Remove two useless local variables from prelist_update(). MFC after:1 week Modified: head/sys/netinet6/nd6_rtr.c Modified: head/sys/netinet6/nd6_rtr.c ===

Re: svn commit: r299211 - head/usr.bin/sed

2016-05-06 Thread Pedro Giffuni
On 05/06/16 20:44, Pedro F. Giffuni wrote: Author: pfg Date: Sat May 7 01:44:22 2016 New Revision: 299211 URL: https://svnweb.freebsd.org/changeset/base/299211 Log: sed: rewrite the main loop. Rewrite the main loop of the "sed s/..." command, shortening it by ten lines and simplifying

svn commit: r299211 - head/usr.bin/sed

2016-05-06 Thread Pedro F. Giffuni
Author: pfg Date: Sat May 7 01:44:22 2016 New Revision: 299211 URL: https://svnweb.freebsd.org/changeset/base/299211 Log: sed: rewrite the main loop. Rewrite the main loop of the "sed s/..." command, shortening it by ten lines and simplifying it by removing the switch statement implement

Re: svn commit: r299210 - in head/sys/dev/cxgbe: . tom

2016-05-06 Thread John Baldwin
On Saturday, May 07, 2016 12:33:35 AM John Baldwin wrote: > Author: jhb > Date: Sat May 7 00:33:35 2016 > New Revision: 299210 > URL: https://svnweb.freebsd.org/changeset/base/299210 > > Log: > Use DDP to implement zerocopy TCP receive with aio_read(). > > Chelsio's TCP offload engine supp

svn commit: r299210 - in head/sys/dev/cxgbe: . tom

2016-05-06 Thread John Baldwin
Author: jhb Date: Sat May 7 00:33:35 2016 New Revision: 299210 URL: https://svnweb.freebsd.org/changeset/base/299210 Log: Use DDP to implement zerocopy TCP receive with aio_read(). Chelsio's TCP offload engine supports direct DMA of received TCP payload into wired user buffers. This fea

svn commit: r299209 - stable/9/sys/fs/nfsserver

2016-05-06 Thread Rick Macklem
Author: rmacklem Date: Sat May 7 00:07:03 2016 New Revision: 299209 URL: https://svnweb.freebsd.org/changeset/base/299209 Log: MFC: r297869 If the VOP_SETATTR() call that saves the exclusive create verifier failed, the NFS server would leave the newly created vnode locked. This could resu

svn commit: r299208 - stable/10/sys/fs/nfsserver

2016-05-06 Thread Rick Macklem
Author: rmacklem Date: Sat May 7 00:02:28 2016 New Revision: 299208 URL: https://svnweb.freebsd.org/changeset/base/299208 Log: MFC: r297869 If the VOP_SETATTR() call that saves the exclusive create verifier failed, the NFS server would leave the newly created vnode locked. This could resu

svn commit: r299207 - in stable/9/sys/fs: nfs nfsclient

2016-05-06 Thread Rick Macklem
Author: rmacklem Date: Fri May 6 23:55:28 2016 New Revision: 299207 URL: https://svnweb.freebsd.org/changeset/base/299207 Log: MFC: r297837 Bruce Evans reported that there was a performance regression between the old and new NFS clients. He did a good job of isolating the problem which wa

svn commit: r299206 - head/sys/dev/cxgbe/tom

2016-05-06 Thread John Baldwin
Author: jhb Date: Fri May 6 23:49:10 2016 New Revision: 299206 URL: https://svnweb.freebsd.org/changeset/base/299206 Log: Set the correct vnet in TOE event handlers. Differential Revision:https://reviews.freebsd.org/D6152 Modified: head/sys/dev/cxgbe/tom/t4_cpl_io.c head/sys/d

svn commit: r299205 - head/sys/dev/pci

2016-05-06 Thread John Baldwin
Author: jhb Date: Fri May 6 23:46:35 2016 New Revision: 299205 URL: https://svnweb.freebsd.org/changeset/base/299205 Log: Restore name=value format of PCI location strings. When devctl was added, the location string for PCI devices was changed to use the PCI "selector" that pciconf and d

svn commit: r299204 - in stable/10/sys/fs: nfs nfsclient

2016-05-06 Thread Rick Macklem
Author: rmacklem Date: Fri May 6 23:44:24 2016 New Revision: 299204 URL: https://svnweb.freebsd.org/changeset/base/299204 Log: MFC: r297837 Bruce Evans reported that there was a performance regression between the old and new NFS clients. He did a good job of isolating the problem which wa

svn commit: r299203 - head/sys/fs/nfsserver

2016-05-06 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 6 23:40:37 2016 New Revision: 299203 URL: https://svnweb.freebsd.org/changeset/base/299203 Log: nfsserver: minor spelling fix in comment. No functional change. Modified: head/sys/fs/nfsserver/nfs_nfsdkrpc.c Modified: head/sys/fs/nfsserver/nfs_nfsdkrpc.c ==

svn commit: r299202 - head/sys/opencrypto

2016-05-06 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 6 23:37:19 2016 New Revision: 299202 URL: https://svnweb.freebsd.org/changeset/base/299202 Log: sys/opencrypto: minor spelling fixes. No functional change. Reviewed by: jmg Modified: head/sys/opencrypto/cast.c head/sys/opencrypto/crypto.c head/sys/ope

svn commit: r299201 - head/sys/fs/nfsserver

2016-05-06 Thread Rick Macklem
Author: rmacklem Date: Fri May 6 23:26:17 2016 New Revision: 299201 URL: https://svnweb.freebsd.org/changeset/base/299201 Log: Give mountd -S priority over outstanding RPC requests when suspending the nfsd. It was reported via email that under certain heavy RPC loads long delays before

svn commit: r299200 - in head/sys/dev: e1000 ixgbe

2016-05-06 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 6 22:54:56 2016 New Revision: 299200 URL: https://svnweb.freebsd.org/changeset/base/299200 Log: dev/e1000,ixgbe: minor spelling fixes. No functional change. Differential Revision:https://reviews.freebsd.org/D6177 Modified: head/sys/dev/e1000/e1000_

svn commit: r299199 - head/sys/fs/nfs

2016-05-06 Thread Ed Maste
Author: emaste Date: Fri May 6 21:19:28 2016 New Revision: 299199 URL: https://svnweb.freebsd.org/changeset/base/299199 Log: Add nid_namelen bounds check to nfssvc system call This is only allowed by root and only used by the nfs daemon, which should not provide an incorrect value. Howev

svn commit: r299198 - head/sys/arm/broadcom/bcm2835

2016-05-06 Thread Svatopluk Kraus
Author: skra Date: Fri May 6 20:57:41 2016 New Revision: 299198 URL: https://svnweb.freebsd.org/changeset/base/299198 Log: INTRNG - support new interrupt mapping type INTR_MAP_DATA_GPIO introduced in r298738. Modified: head/sys/arm/broadcom/bcm2835/bcm2835_gpio.c Modified: head/sys/arm/br

svn commit: r299197 - head/sys/arm/broadcom/bcm2835

2016-05-06 Thread Svatopluk Kraus
Author: skra Date: Fri May 6 20:55:14 2016 New Revision: 299197 URL: https://svnweb.freebsd.org/changeset/base/299197 Log: INTRNG - use gpio interrupt modes definitions added in r298738 and implement also GPIO_INTR_EDGE_BOTH mode. All reasonable interrupt modes are supported now. Modified:

svn commit: r299196 - head/sbin/reboot

2016-05-06 Thread Renato Botelho
Author: garga (ports committer) Date: Fri May 6 20:49:14 2016 New Revision: 299196 URL: https://svnweb.freebsd.org/changeset/base/299196 Log: Add missing parameters -N and -l to reroot and halt usage() Approved by: bapt Sponsored by: Rubicon Communications (Netgate) Differential Revis

svn commit: r299195 - head/sys/geom/uzip

2016-05-06 Thread Maxim Sobolev
Author: sobomax Date: Fri May 6 20:32:39 2016 New Revision: 299195 URL: https://svnweb.freebsd.org/changeset/base/299195 Log: Add missing include "opt_geom.h" to make GEOM_UZIP_DEBUG option working, also rename enum member so it does not conflict with GEOM_UZIP option name. Submitted b

svn commit: r299194 - head/sys/ddb

2016-05-06 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 6 20:28:28 2016 New Revision: 299194 URL: https://svnweb.freebsd.org/changeset/base/299194 Log: Revert r298938: Change x/a to work similar to gdb. This badly breaks x/ia: ddb and gdb syntax are quite different and it is unclear if they can be reconciled. Modifi

svn commit: r299193 - in stable/10/sys/dev: aac aacraid

2016-05-06 Thread Sean Bruno
Author: sbruno Date: Fri May 6 19:18:44 2016 New Revision: 299193 URL: https://svnweb.freebsd.org/changeset/base/299193 Log: MFC r298280 aacraid(4): Sanely copyin userland pointers and ensure that we don't get anything janky from a user. (cturt) aac(4) landergriffith+freebsdbugzi...

svn commit: r299192 - in stable/10/sys/dev: e1000 ixgbe

2016-05-06 Thread Sean Bruno
Author: sbruno Date: Fri May 6 19:14:57 2016 New Revision: 299192 URL: https://svnweb.freebsd.org/changeset/base/299192 Log: MFC r298224 Correct possible underflow conditions when checking for available space in the tx h/w ring buffer. Sponsored by: Limelight Networks Modified: s

svn commit: r299191 - stable/10/sys/cam/ctl

2016-05-06 Thread Sean Bruno
Author: sbruno Date: Fri May 6 19:11:47 2016 New Revision: 299191 URL: https://svnweb.freebsd.org/changeset/base/299191 Log: MFC r298279 Plug memory leak in ctl(4) when ctl_copyin_args() is called with a non- null terminated ASCII string. PR: 207626 Submitted by: ct...@h

svn commit: r299190 - stable/10/lib/libc/sys

2016-05-06 Thread Benedict Reuschling
Author: bcr (doc committer) Date: Fri May 6 17:55:11 2016 New Revision: 299190 URL: https://svnweb.freebsd.org/changeset/base/299190 Log: MFC r298893: Provide an example to the kqueue man page, showing a basic usage example. Although it is an untypical example for the use of kqueue, it i

svn commit: r299189 - head/sys/dev/iwn

2016-05-06 Thread Andriy Voskoboinyk
Author: avos Date: Fri May 6 17:39:12 2016 New Revision: 299189 URL: https://svnweb.freebsd.org/changeset/base/299189 Log: iwn: fix comments for iwn_read_eeprom_channels(). It's used for all channels (20MHz and 40MHz). Modified: head/sys/dev/iwn/if_iwn.c Modified: head/sys/dev/iwn/if_i

svn commit: r299188 - head/sys/dev/e1000

2016-05-06 Thread Sean Bruno
Author: sbruno Date: Fri May 6 17:00:45 2016 New Revision: 299188 URL: https://svnweb.freebsd.org/changeset/base/299188 Log: Since igb_detach() cleans up all the data structures that will be free'd by the functions following its call, we can simply return instead of crashing and burning in

svn commit: r299187 - in head/sys/security: mac mac_biba mac_lomac mac_mls

2016-05-06 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 6 16:59:04 2016 New Revision: 299187 URL: https://svnweb.freebsd.org/changeset/base/299187 Log: sys/security: minor spelling fixes. No functional change. Modified: head/sys/security/mac/mac_cred.c head/sys/security/mac/mac_framework.c head/sys/security/mac_

svn commit: r299186 - head/sys/cam/scsi

2016-05-06 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 6 16:51:56 2016 New Revision: 299186 URL: https://svnweb.freebsd.org/changeset/base/299186 Log: cam/scsi: Remove mostly unused scsi_quirk_table_size. It was only being used only once and it can be directly replaced instead. Modified: head/sys/cam/scsi/scsi_xp

svn commit: r299185 - head/sys/dev/xen/privcmd

2016-05-06 Thread Roger Pau Monné
Author: royger Date: Fri May 6 16:44:46 2016 New Revision: 299185 URL: https://svnweb.freebsd.org/changeset/base/299185 Log: xen/privcmd: fix integer truncation in IOCTL_PRIVCMD_MMAPBATCH The size field in the XENMEM_add_to_physmap_range is an uint16_t, and the privcmd driver was doing a

svn commit: r299184 - head/sys/sys

2016-05-06 Thread Roger Pau Monné
Author: royger Date: Fri May 6 16:41:23 2016 New Revision: 299184 URL: https://svnweb.freebsd.org/changeset/base/299184 Log: bitset: introduce helpers to allocate a bitset at runtime Introduce some new helpers to declare and allocate a dynamic bitset, whose size is not a constant. S

svn commit: r299183 - head/lib/libc/xdr

2016-05-06 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 6 16:03:40 2016 New Revision: 299183 URL: https://svnweb.freebsd.org/changeset/base/299183 Log: libc/xdr: unsign some loop indexes. Although usually small, values produced by nitems() are unsigned. Unsign inxdeing variables related to nitems() macros to avoid

svn commit: r299181 - head/sys/ofed/include/linux/mlx4

2016-05-06 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 6 15:37:06 2016 New Revision: 299181 URL: https://svnweb.freebsd.org/changeset/base/299181 Log: sys/ofed: minor spelling fix. No functional change. Reviewed by: hselasky Modified: head/sys/ofed/include/linux/mlx4/device.h Modified: head/sys/ofed/include/

svn commit: r299180 - head/sys/cam/scsi

2016-05-06 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 6 15:36:25 2016 New Revision: 299180 URL: https://svnweb.freebsd.org/changeset/base/299180 Log: sys/cam/scsi: unsigned some loop indexes. Although usually small, values produced by nitems() are unsigned. One more case where unsgining the index may be useful. Mo

svn commit: r299182 - head/sys/dev/e1000

2016-05-06 Thread Sean Bruno
Author: sbruno Date: Fri May 6 15:41:38 2016 New Revision: 299182 URL: https://svnweb.freebsd.org/changeset/base/299182 Log: If ALTQ is defined in the kern conf, switch to Legacy Mode. PR: 208409 Submitted by: free...@mcwest.org MFC after:2 weeks Modified: head/sys/dev

svn commit: r299179 - in head/sys/ofed/drivers: infiniband/hw/mlx4 infiniband/ulp/sdp net/mlx4

2016-05-06 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 6 15:16:13 2016 New Revision: 299179 URL: https://svnweb.freebsd.org/changeset/base/299179 Log: ofed/drivers: minor spelling fixes. No functional change. Reviewed by: hselasky Modified: head/sys/ofed/drivers/infiniband/hw/mlx4/main.c head/sys/ofed/drive

svn commit: r299177 - head/sys/cam/scsi

2016-05-06 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 6 15:13:44 2016 New Revision: 299177 URL: https://svnweb.freebsd.org/changeset/base/299177 Log: sys/cam/scsi: unsigned some loop indexes. Although usually small, values produced by nitems() are unsigned. By unsigning the corresponding indexes we avoid signed vs

svn commit: r299176 - head/sys/dev/usb/wlan

2016-05-06 Thread Pedro F. Giffuni
Author: pfg Date: Fri May 6 15:09:21 2016 New Revision: 299176 URL: https://svnweb.freebsd.org/changeset/base/299176 Log: dev/usb: unsigned some loop indexes. Although usually small, values produced by nitems() are unsigned. By unsigning the corresponding indexes we avoid signed vs unsig

Re: svn commit: r299090 - in head: etc/mtree include lib/libbluetooth sbin/hastd share/man/man3 sys/dev/xen/blkback sys/kern sys/net sys/sys tests/sys tests/sys/sys usr.sbin/bluetooth/hccontrol

2016-05-06 Thread Kurt Lidl
On 5/5/16 12:31 PM, John Baldwin wrote: On Wednesday, May 04, 2016 10:34:11 PM Alan Somers wrote: Author: asomers Date: Wed May 4 22:34:11 2016 New Revision: 299090 URL: https://svnweb.freebsd.org/changeset/base/299090 Log: Improve performance and functionality of the bitstring(3) api Two

svn commit: r299175 - head/usr.bin/iscsictl

2016-05-06 Thread Edward Tomasz Napierala
Author: trasz Date: Fri May 6 13:45:42 2016 New Revision: 299175 URL: https://svnweb.freebsd.org/changeset/base/299175 Log: Add the "-r" flag to iscsictl(8). MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/iscsictl/iscsictl.8 head/usr.bin/iscsictl/i

svn commit: r299174 - head/usr.bin/iscsictl

2016-05-06 Thread Edward Tomasz Napierala
Author: trasz Date: Fri May 6 13:44:56 2016 New Revision: 299174 URL: https://svnweb.freebsd.org/changeset/base/299174 Log: Document the "Protocol" field of iscsi.conf(5). MFC after:1 month Sponsored by: The FreeBSD Foundation Modified: head/usr.bin/iscsictl/iscsi.conf.5 Modified

svn commit: r299172 - in head/secure/lib/libcrypto: . i386

2016-05-06 Thread Ed Maste
Author: emaste Date: Fri May 6 13:04:45 2016 New Revision: 299172 URL: https://svnweb.freebsd.org/changeset/base/299172 Log: Revert r299139: these are generated files We'll need to properly generate PIC/non-PIC from the source .pl files. Reported by: jkim Added: head/secure/lib/li

svn commit: r299171 - head/sys/net80211

2016-05-06 Thread Andriy Voskoboinyk
Author: avos Date: Fri May 6 11:41:49 2016 New Revision: 299171 URL: https://svnweb.freebsd.org/changeset/base/299171 Log: net80211: restore 'iflladdr_event' event handler. Now 'ether' argument to ifconfig can be used as an alias to 'wlanaddr'. PR: 208933 Modified: head/s

Re: svn commit: r299090 - in head: etc/mtree include lib/libbluetooth sbin/hastd share/man/man3 sys/dev/xen/blkback sys/kern sys/net sys/sys tests/sys tests/sys/sys usr.sbin/bluetooth/hccontrol

2016-05-06 Thread Bruce Evans
On Thu, 5 May 2016, Alan Somers wrote: On Thu, May 5, 2016 at 10:31 AM, John Baldwin wrote: On Wednesday, May 04, 2016 10:34:11 PM Alan Somers wrote: ... Log: Improve performance and functionality of the bitstring(3) api ... Doesn't switching from bytes to longs break the ABI? That is, s

svn commit: r299169 - in head: etc/rc.d tools/build/mk

2016-05-06 Thread Garrett Cooper
Author: ngie Date: Fri May 6 09:18:09 2016 New Revision: 299169 URL: https://svnweb.freebsd.org/changeset/base/299169 Log: Only install etc/rc.d/{rfcomm_pppd_server,sdpd} if MK_BLUETOOTH != no These are bluetooth specific services MFC after: 1 week Sponsored by: EMC / Isilon Storage

svn commit: r299166 - head/sys/arm/ti

2016-05-06 Thread Svatopluk Kraus
Author: skra Date: Fri May 6 08:59:25 2016 New Revision: 299166 URL: https://svnweb.freebsd.org/changeset/base/299166 Log: INTRNG - support new interrupt mapping type INTR_MAP_DATA_GPIO introduced in r298738. Modified: head/sys/arm/ti/ti_gpio.c Modified: head/sys/arm/ti/ti_gpio.c

svn commit: r299165 - head/sys/arm/ti

2016-05-06 Thread Svatopluk Kraus
Author: skra Date: Fri May 6 08:56:46 2016 New Revision: 299165 URL: https://svnweb.freebsd.org/changeset/base/299165 Log: INTRNG - use gpio interrupt modes definitions added in r298738 and implement also GPIO_INTR_EDGE_BOTH mode. All reasonable interrupt modes are supported now. Modified:

svn commit: r299164 - head/sys/kern

2016-05-06 Thread Svatopluk Kraus
Author: skra Date: Fri May 6 08:54:00 2016 New Revision: 299164 URL: https://svnweb.freebsd.org/changeset/base/299164 Log: Set correct size to the size member of struct intr_map_data when initialized. As the size member is not used at the present, it did not break anything. Modified: hea

svn commit: r299163 - in head: share/man/man8 tools/build/mk

2016-05-06 Thread Garrett Cooper
Author: ngie Date: Fri May 6 08:53:24 2016 New Revision: 299163 URL: https://svnweb.freebsd.org/changeset/base/299163 Log: Fix r299162 share/man/man8/Makefile: - Add src.opts.mk so MK_NIS can be tested - Fix typo in MK_NIS conditional tools/build/mk/OptionalObsoleteFiles.inc: -

Re: svn commit: r299162 - in head: share/man/man8 tools/build/mk

2016-05-06 Thread Ngie Cooper (yaneurabeya)
> On May 6, 2016, at 01:42, Garrett Cooper wrote: > > Author: ngie > Date: Fri May 6 08:42:33 2016 > New Revision: 299162 > URL: https://svnweb.freebsd.org/changeset/base/299162 > > Log: > Only install NIS section 8 manpages if MK_NIS != no > > MFC after: 1 week > Sponsored by: EMC / Isilo

svn commit: r299162 - in head: share/man/man8 tools/build/mk

2016-05-06 Thread Garrett Cooper
Author: ngie Date: Fri May 6 08:42:33 2016 New Revision: 299162 URL: https://svnweb.freebsd.org/changeset/base/299162 Log: Only install NIS section 8 manpages if MK_NIS != no MFC after: 1 week Sponsored by: EMC / Isilon Storage Division Modified: head/share/man/man8/Makefile head/to