svn commit: r283193 - in stable/10/sys/dev/usb: . serial

2015-05-21 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 21 07:49:44 2015 New Revision: 283193 URL: https://svnweb.freebsd.org/changeset/base/283193 Log: MFC r282505: Add new USB ID. PR: 199843 Modified: stable/10/sys/dev/usb/serial/uftdi.c stable/10/sys/dev/usb/usbdevs Directory Properties:

svn commit: r283192 - stable/10/sys/dev/sound/pcm

2015-05-21 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 21 07:48:06 2015 New Revision: 283192 URL: https://svnweb.freebsd.org/changeset/base/283192 Log: MFC r282017: Allow DSP basename cloning to be disabled or enabled at boot and runtime. This is useful when implementing OSS sound stacks in userspace via libcuse

svn commit: r283173 - in stable/10: share/man/man4 sys/dev/usb sys/dev/usb/quirk

2015-05-21 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 21 06:47:20 2015 New Revision: 283173 URL: https://svnweb.freebsd.org/changeset/base/283173 Log: MFC r282577: Add support for DYMO LabelWriter PnP. Modified: stable/10/share/man/man4/usb_quirk.4 stable/10/sys/dev/usb/quirk/usb_quirk.c

svn commit: r283175 - stable/10/sys/ofed/drivers/net/mlx4

2015-05-21 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 21 06:56:35 2015 New Revision: 283175 URL: https://svnweb.freebsd.org/changeset/base/283175 Log: MFC r282817: Apply proper locking when iterating the multicast addresses and add a missing check for NULL from a non-blocking kzalloc() function call.

svn commit: r283185 - stable/10/sys/dev/sound/usb

2015-05-21 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 21 07:10:49 2015 New Revision: 283185 URL: https://svnweb.freebsd.org/changeset/base/283185 Log: MFC r282652: Ensure the USB audio driver doesn't attach twice on the same USB device by grabbing all the USB audio device interfaces. Modified:

svn commit: r283187 - stable/10/sys/dev/vt

2015-05-21 Thread Hans Petter Selasky
Author: hselasky Date: Thu May 21 07:34:08 2015 New Revision: 283187 URL: https://svnweb.freebsd.org/changeset/base/283187 Log: MFC r282645, r282646 and r282730: * Prevent switching to NULL or own window in the vt_proc_window_switch function. This fixes an issue where X11 keyboard input

svn commit: r283203 - stable/10/sys/dev/sfxge

2015-05-21 Thread Andrew Rybchenko
Author: arybchik Date: Thu May 21 08:59:03 2015 New Revision: 283203 URL: https://svnweb.freebsd.org/changeset/base/283203 Log: MFC: r282899 sfxge: add local variable with Rx descriptor flags Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r283205 - stable/10/sys/dev/sfxge

2015-05-21 Thread Andrew Rybchenko
Author: arybchik Date: Thu May 21 09:03:18 2015 New Revision: 283205 URL: https://svnweb.freebsd.org/changeset/base/283205 Log: MFC: r282903 sfxge: advertise IPv6 Rx and Tx checksum offload support Tx checksum offload may be enabled/disabled. Sponsored by: Solarflare

svn commit: r283206 - stable/10/sys/dev/sfxge

2015-05-21 Thread Andrew Rybchenko
Author: arybchik Date: Thu May 21 09:05:13 2015 New Revision: 283206 URL: https://svnweb.freebsd.org/changeset/base/283206 Log: MFC: r282940 sfxge: LRO may be done only if checksums are OK Also it is cheaper to check Rx descriptor flags than TCP protocol in IP header. Sponsored

svn commit: r283208 - stable/10/sys/dev/sfxge

2015-05-21 Thread Andrew Rybchenko
Author: arybchik Date: Thu May 21 09:08:10 2015 New Revision: 283208 URL: https://svnweb.freebsd.org/changeset/base/283208 Log: MFC: r282942 sfxge: split sfxge_tx_qdpl_put() into *_locked() and *_unlocked() It simplifies understanding of the sfxge_tx_packet_add() logic and avoids

svn commit: r283210 - stable/10/sys/dev/sfxge

2015-05-21 Thread Andrew Rybchenko
Author: arybchik Date: Thu May 21 09:11:03 2015 New Revision: 283210 URL: https://svnweb.freebsd.org/changeset/base/283210 Log: MFC: r282997 sfxge: get rid of locked variable in sfxge_tx_packet_add() Now each branch has one and only one possible TxQ lock state. It simplifies

svn commit: r283211 - stable/10/sys/dev/sfxge

2015-05-21 Thread Andrew Rybchenko
Author: arybchik Date: Thu May 21 09:12:25 2015 New Revision: 283211 URL: https://svnweb.freebsd.org/changeset/base/283211 Log: MFC: r282998 sfxge: move mbuf free to sfxge_if_transmit() It is a preparation to the next patch which will service packet queue even if packet addtion

svn commit: r283212 - stable/10/sys/dev/sfxge

2015-05-21 Thread Andrew Rybchenko
Author: arybchik Date: Thu May 21 09:13:47 2015 New Revision: 283212 URL: https://svnweb.freebsd.org/changeset/base/283212 Log: MFC: r283000 sfxge: add local variable with changed capabilities mask It is required for the next patch which adds dependency of TSO capabilities from Tx

svn commit: r283214 - stable/10/sys/dev/sfxge

2015-05-21 Thread Andrew Rybchenko
Author: arybchik Date: Thu May 21 09:21:05 2015 New Revision: 283214 URL: https://svnweb.freebsd.org/changeset/base/283214 Log: MFC: r283048 sfxge: fix overflow queue freeze If TxQ lock is obtained, deferred packet list shold be serviced even if the packet addition fails because of

svn commit: r283217 - stable/10/sys/dev/sfxge

2015-05-21 Thread Andrew Rybchenko
Author: arybchik Date: Thu May 21 09:24:35 2015 New Revision: 283217 URL: https://svnweb.freebsd.org/changeset/base/283217 Log: MFC: r283051 sfxge: do not advertise LRO capability if LRO is compiled out Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r283202 - stable/10/sys/dev/sfxge

2015-05-21 Thread Andrew Rybchenko
Author: arybchik Date: Thu May 21 08:55:06 2015 New Revision: 283202 URL: https://svnweb.freebsd.org/changeset/base/283202 Log: MFC: r282897 sfxge: add missing const qualifier to sfxge_link_mode Sponsored by: Solarflare Communications, Inc. Modified:

svn commit: r283204 - stable/10/sys/dev/sfxge

2015-05-21 Thread Andrew Rybchenko
Author: arybchik Date: Thu May 21 09:00:45 2015 New Revision: 283204 URL: https://svnweb.freebsd.org/changeset/base/283204 Log: MFC: r282900 sfxge: IPv4 Tx checksum offload may be disabled in fact Split IFCAP_HWCSUM to IFCAP_RXCSUM and IFCAP_TXCSUM to highlight Tx and Rx.

svn commit: r283207 - stable/10/sys/dev/sfxge

2015-05-21 Thread Andrew Rybchenko
Author: arybchik Date: Thu May 21 09:06:41 2015 New Revision: 283207 URL: https://svnweb.freebsd.org/changeset/base/283207 Log: MFC: r282941 sfxge: do not change CSUM_TSO when IFCAP_TSOx is changed It is simply not required since the kernel checks corresponding IFCAP_TSOx capability

svn commit: r283209 - stable/10/sys/dev/sfxge

2015-05-21 Thread Andrew Rybchenko
Author: arybchik Date: Thu May 21 09:09:51 2015 New Revision: 283209 URL: https://svnweb.freebsd.org/changeset/base/283209 Log: MFC: r282996 sfxge: support Rx checksum offloads disabling We can't disable it in HW, but we can ignore result. Discard Rx descriptor checksum flags if Rx

svn commit: r283216 - stable/10/sys/dev/sfxge

2015-05-21 Thread Andrew Rybchenko
Author: arybchik Date: Thu May 21 09:23:28 2015 New Revision: 283216 URL: https://svnweb.freebsd.org/changeset/base/283216 Log: MFC: r283050 sfxge: automatically turn off TSO when Tx checksum offload is disabled Also return error if TSO is requested without Tx checksum offload.

svn commit: r283229 - stable/10/usr.sbin/autofs

2015-05-21 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 21 13:21:03 2015 New Revision: 283229 URL: https://svnweb.freebsd.org/changeset/base/283229 Log: MFC r279808: Fix memory leak. Sponsored by: The FreeBSD Foundation Modified: stable/10/usr.sbin/autofs/common.c Directory Properties: stable/10/ (props

svn commit: r283224 - stable/10/etc

2015-05-21 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 21 13:10:08 2015 New Revision: 283224 URL: https://svnweb.freebsd.org/changeset/base/283224 Log: MFC r276833: Make /net use -intr by default. Linux does that, and it seems a good idea. Sponsored by: The FreeBSD Foundation Modified:

svn commit: r283226 - stable/10/etc

2015-05-21 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 21 13:13:56 2015 New Revision: 283226 URL: https://svnweb.freebsd.org/changeset/base/283226 Log: MFC r277171: Use newly added GEOM notifications to discard autofs caches. Sponsored by: The FreeBSD Foundation Modified: stable/10/etc/devd.conf Directory

svn commit: r283270 - stable/10/contrib/netcat

2015-05-21 Thread Xin LI
Author: delphij Date: Thu May 21 21:45:37 2015 New Revision: 283270 URL: https://svnweb.freebsd.org/changeset/base/283270 Log: MFC r282613: MFV r282611: netcat from OpenBSD 5.7. Modified: stable/10/contrib/netcat/netcat.c Directory Properties: stable/10/ (props changed) Modified:

svn commit: r283267 - stable/10/sys/sys

2015-05-21 Thread Pedro F. Giffuni
Author: pfg Date: Thu May 21 20:39:39 2015 New Revision: 283267 URL: https://svnweb.freebsd.org/changeset/base/283267 Log: MFC r282863: Adjust visibility macros. The GCC visibility attributes were introduced in GCC 4.0. Apparently the protected attribute was introduced only

svn commit: r283218 - stable/10/sys/dev/xen/netfront

2015-05-21 Thread Roger Pau Monné
Author: royger Date: Thu May 21 10:28:33 2015 New Revision: 283218 URL: https://svnweb.freebsd.org/changeset/base/283218 Log: MFC: r282908 netfront: wait for backend to connect before sending ARP Sponsored by: Citrix Systems RD Modified: stable/10/sys/dev/xen/netfront/netfront.c

svn commit: r283230 - stable/10/usr.sbin/autofs

2015-05-21 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 21 13:23:49 2015 New Revision: 283230 URL: https://svnweb.freebsd.org/changeset/base/283230 Log: MFC r279812: Remove some particularly bad code; no functional changes. MFC r279815: Erm, revert chunk committed by mistake. Sponsored by: The FreeBSD

svn commit: r283237 - stable/10/usr.sbin/autofs

2015-05-21 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 21 13:34:33 2015 New Revision: 283237 URL: https://svnweb.freebsd.org/changeset/base/283237 Log: MFC r279914: Options from auto_master must be appended to options from maps, not prepended. Sponsored by: The FreeBSD Foundation Modified:

svn commit: r283238 - stable/10/usr.sbin/autofs

2015-05-21 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 21 13:36:00 2015 New Revision: 283238 URL: https://svnweb.freebsd.org/changeset/base/283238 Log: MFC r279915: Make concat() accept NULL arguments. Sponsored by: The FreeBSD Foundation Modified: stable/10/usr.sbin/autofs/automount.c

svn commit: r283231 - stable/10/usr.sbin/autofs

2015-05-21 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 21 13:25:28 2015 New Revision: 283231 URL: https://svnweb.freebsd.org/changeset/base/283231 Log: MFC r279813: Make things more readable; no functional changes. Sponsored by: The FreeBSD Foundation Modified: stable/10/usr.sbin/autofs/automount.c

svn commit: r283234 - stable/10/usr.bin/ar

2015-05-21 Thread Ed Maste
Author: emaste Date: Thu May 21 13:30:10 2015 New Revision: 283234 URL: https://svnweb.freebsd.org/changeset/base/283234 Log: MFC r276774: ar: Avoid null pointer deref while reading corrupt archives ELF Tool Chain ticket #467 Reported by: Alexander Cherepanov chere...@mccme.ru

svn commit: r283239 - stable/10/usr.sbin/autofs

2015-05-21 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 21 13:37:48 2015 New Revision: 283239 URL: https://svnweb.freebsd.org/changeset/base/283239 Log: MFC r279916: Make automount -LL -o whatever present options in the same order as used by automountd(8). Sponsored by: The FreeBSD Foundation Modified:

svn commit: r283241 - stable/10/usr.sbin/autofs

2015-05-21 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 21 13:41:08 2015 New Revision: 283241 URL: https://svnweb.freebsd.org/changeset/base/283241 Log: MFC r279954: Get executable direct maps to work. Sponsored by: The FreeBSD Foundation Modified: stable/10/usr.sbin/autofs/automountd.c Directory Properties:

svn commit: r283233 - stable/10/usr.sbin/autofs

2015-05-21 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 21 13:29:34 2015 New Revision: 283233 URL: https://svnweb.freebsd.org/changeset/base/283233 Log: MFC r279845: Fix handling of direct maps, broken in r275756. Previously, running automount(8) would unmount direct map trigger nodes every second time.

svn commit: r283236 - stable/10/usr.sbin/autofs

2015-05-21 Thread Edward Tomasz Napierala
Author: trasz Date: Thu May 21 13:33:06 2015 New Revision: 283236 URL: https://svnweb.freebsd.org/changeset/base/283236 Log: MFC r279851: Fix typo. Sponsored by: The FreeBSD Foundation Modified: stable/10/usr.sbin/autofs/automountd.8 Directory Properties: stable/10/ (props

Re: svn commit: r283258 - stable/10/bin/date

2015-05-21 Thread Andrey Chernov
On 21.05.2015 21:59, Xin LI wrote: Author: delphij Date: Thu May 21 18:59:11 2015 New Revision: 283258 URL: https://svnweb.freebsd.org/changeset/base/283258 Log: MFC r282608: date(1): Make -r behave like GNU's version when the option can not be interpreted as a number, which

svn commit: r283260 - stable/10/usr.sbin/crunch/crunchide

2015-05-21 Thread Ed Maste
Author: emaste Date: Thu May 21 19:16:28 2015 New Revision: 283260 URL: https://svnweb.freebsd.org/changeset/base/283260 Log: MFC r282144: crunchide: add basic string table sanity checks Reported by: Coverity Scan CID: 978805, 980919 Sponsored by: The FreeBSD Foundation

svn commit: r283259 - stable/10/contrib/libarchive/libarchive

2015-05-21 Thread Xin LI
Author: delphij Date: Thu May 21 19:05:47 2015 New Revision: 283259 URL: https://svnweb.freebsd.org/changeset/base/283259 Log: MFC r282932: MFV r282927,r282928,r282930 (kientzle): Don't segfault when reading malformed cpio archives. Modified:

svn commit: r283258 - stable/10/bin/date

2015-05-21 Thread Xin LI
Author: delphij Date: Thu May 21 18:59:11 2015 New Revision: 283258 URL: https://svnweb.freebsd.org/changeset/base/283258 Log: MFC r282608: date(1): Make -r behave like GNU's version when the option can not be interpreted as a number, which checks the file's modification time and use

svn commit: r283251 - in stable/10: . share/man/man9

2015-05-21 Thread Bryan Drewery
Author: bdrewery Date: Thu May 21 16:44:31 2015 New Revision: 283251 URL: https://svnweb.freebsd.org/changeset/base/283251 Log: MFC r282574: Remove references to Giant in namei(9). This was removed in r241896. Modified: stable/10/ObsoleteFiles.inc stable/10/share/man/man9/Makefile