Commit Graph

194730 Commits

Author SHA1 Message Date
brueffer
0da6b7f0d9 MFC: r261339
MLINK ixgbe.4 to {if_ix.4, ix.4}.  An update for ixgbe.4
which deals with the "ix prefix being shared by two drivers"
situation is forthcoming.
2014-02-10 22:24:49 +00:00
brueffer
abe08fc946 MFC: r261447
Fix a typo.
2014-02-10 22:16:22 +00:00
dim
bff25c3bef MFC r261609:
Pull in upstream libcxxrt commit 8006101, which makes its cxxabi.h file
compilable just by itself.

PR:		kern/184019
2014-02-10 20:25:40 +00:00
wblock
4772da575b MFC r261522:
Describe the use of a freebsd-boot GPT partition, brought up by Scot
Hetzel <swhetzel@gmail.com> on the -doc mailing list.

Also modify the Author section to be clear that I wrote the man page,
not gptboot.
2014-02-10 17:37:34 +00:00
mav
511b6fbea4 MFC r261515:
Fix I/O freezes in some cases, caused by r257916.

Delaying isp_reqodx update, we should be ready to update it every time
we read it.  Otherwise requests using several indexes may be requeued
ndefinitely without ever updating the variable.
2014-02-10 16:29:50 +00:00
ae
44aad33d55 MFC r261400:
Take exclusive lock only when lle isn't NULL. We don't need write access
  to lle in most cases.

MFC r261583:
  Unlock entry before retry.

Sponsored by:	Yandex LLC
2014-02-10 15:23:40 +00:00
gjb
cc4ebc4422 Run ldconfig(8) rc script before building ports so
ld-elf.so.hints exists for pkg(8).

This is a direct commit to stable/10 as generate-release.sh
does not exist in head/.

PR:		186554
Sponsored by:	The FreeBSD Foundation
2014-02-10 07:16:46 +00:00
adrian
3ee8d78c97 MFC r260871:
If the flowid is available for the mbuf that finalised the creation
  of a syncache connection, copy it into the inp_flowid field.

  Without this, an incoming TCP connection won't have an inp_flowid marked
  until some data comes in, and this means that things like the per-CPU
  TCP timer option will choose a different CPU for the timer work.
  (It also means that if one grabbed the flowid via an ioctl from userland,
  it won't be available until some data has been received.)

Sponsored by:	Netflix, Inc.
2014-02-10 06:29:05 +00:00
dim
6ceb8edc35 MFC r260553 (by theraven):
Add missing C++11 typeinfos to the libcxxrt version script.

PR:		185663
2014-02-09 00:34:21 +00:00
kib
2adfb67dc9 MFC r261354:
In _pthread_kill(), if passed pthread is current thread, do not send
the signal second time, by adding the missed else before if statement.

PR:	threads/186309
2014-02-08 15:51:24 +00:00
hselasky
8f0b7f5c20 MFC r261505:
Fix a regression issue. Contiguous single segment allocations above
PAGE_SIZE bytes should only use one USB page structure. Fixes a
problem with some external drivers.
2014-02-07 07:18:52 +00:00
gnn
16b8c9f357 MFC: 261291
The timestamp bit is number 17, and not number 9, in the stat error
field of the receive descriptor.
2014-02-07 04:34:04 +00:00
mav
9cc9d2e8b5 MFC r260949:
Make comconsole options set before its activation to be remembered.
2014-02-07 04:09:15 +00:00
mav
46b5a69e31 MFC r261449:
Fix lock acquisition in case no request space available, missed in r260097.
2014-02-07 04:02:14 +00:00
kib
ce48f3b35d MFC r261080:
The posix_fallocate(2) syscall should return error number on error,
without modifying errno.

MFC r261290:
The posix_madvise(3) and posix_fadvise(2) should return error on
failure, same as posix_fallocate(2).
2014-02-06 19:47:17 +00:00
ae
88938f44a0 MFC r260702 (by melifaro):
Fix ipfw fwd for IPv4 traffic broken by r249894.

  Problem case:
  Original lookup returns route with GW set, so gw points to
  rte->rt_gateway.
  After that we're changing dst and performing lookup another time.
  Since fwd host is most probably directly reachable, resulting
  rte does not contain rt_gateway, so gw is not set. Finally, we
  end with packet transmitted to proper interface but wrong
  link-layer address.
2014-02-06 10:48:55 +00:00
rpaulo
d65cbb1877 MFC r261432
Fix the definition of hg_cmd.
2014-02-06 02:12:39 +00:00
hselasky
8beeaa4622 MFC r261260, r261262, r261315 and r261343:
Add support for trackpads found in Apple MacBook products. While at it
add some missing devd entries.
2014-02-05 08:40:02 +00:00
eadler
a27a582538 MFC r258787:
r258780 should not have applied to .S files.
2014-02-04 16:29:30 +00:00
hselasky
c578b328a3 MFC r260903:
Add support for GPS ports to UHSO driver.
2014-02-04 10:29:23 +00:00
hselasky
4cf659f127 MFC r260315:
Implement two new libusb API functions.

PR:		usb/185454
2014-02-04 10:18:29 +00:00
hselasky
2a3d1313fa MFC r261228:
When detaching a [USB] keyboard, keys might still be pressed. Ensure
that all pressed keys are released before completing the USB keyboard
detach. This will prevent so-called "ghost-keys" from appearing after
that the USB device generating the key event(s) has been detached.
2014-02-04 09:06:28 +00:00
hselasky
32eb5ff7ac MFC r261224:
Comply to the official LibUSB v1.0 API:
"It is legal to attempt to claim an already-claimed interface."
2014-02-04 08:59:42 +00:00
hselasky
a8836e9a4a MFC r261134:
Add more USB quirks.
2014-02-04 08:54:59 +00:00
hselasky
0f7d3b859b MFC r261123:
Reduce dmesg verbosity.
2014-02-04 08:47:43 +00:00
hselasky
5fd8780dea MFC r261004, r261005 and r261033:
Adjust the DMA delay logic so that the DMA delay does not become too small.
2014-02-04 08:44:12 +00:00
hselasky
d3208d4349 MFC r261003:
Add new quirk.

PR:		usb/185968
2014-02-04 08:37:39 +00:00
eadler
ec294fd7f5 MFC r258779,r258780,r258787,r258822:
Fix undefined behavior: (1 << 31) is not defined as 1 is an int and this
shifts into the sign bit.  Instead use (1U << 31) which gets the
expected result.

Similar to the (1 << 31) case it is not defined to do (2 << 30).

This fix is not ideal as it assumes a 32 bit int, but does fix the issue
for most cases.

A similar change was made in OpenBSD.
2014-02-04 03:36:42 +00:00
mav
d374d7f398 MFC r260996:
Fix memory and references leak due to unfreed path in case we can't
allocate bus scan CCB.
2014-02-04 00:51:06 +00:00
rpaulo
9fa9e83832 MFC r256499:
Add support for Mercurial repositories.
2014-02-03 08:04:09 +00:00
gnn
a2ab687e34 MFC: 260791
Add a command line argument to turn off blocking waiting for the user
to press Ctrl-C (-b).  This allows tests with tight loops of mcgrabs
that can stress the multicast tables.
2014-02-03 03:34:36 +00:00
gnn
dbf0fc2c51 MFC 260796
Fix various places where we don't properly release a lock

PR:		185043
Submitted by:	Michael Bentkofsky
2014-02-03 03:31:35 +00:00
mav
4d04af12a8 MFC r260883:
Remove unneeded and dangerous assignment.  It would probably cause NULL
refererence panic if compiler not optimize it out.
2014-02-02 00:33:17 +00:00
gshapiro
96d8492738 MFC: Note merge of sendmail 8.14.8. 2014-02-01 22:38:34 +00:00
gshapiro
51cc8a1941 MFC: Minor changes to force commit these files so new freebsd*.cf files are
built to use the new sendmail-8.14.8/cf tree.
2014-02-01 22:36:46 +00:00
gshapiro
e531f7967a MFC: Add missing svn:keywords property to new files 2014-02-01 22:35:12 +00:00
gshapiro
4487cc54ba MFC: Update for sendmail 8.14.8 import 2014-02-01 22:33:58 +00:00
gshapiro
f95fc3e2d9 MFC: Remove local FreeBSD workaround now that upstream project has a better fix. 2014-02-01 22:32:45 +00:00
gshapiro
956642d7ed MFC: Add new sendmail 8.14.8 file 2014-02-01 22:29:04 +00:00
gshapiro
048f3c3a11 MFC: Merge sendmail 8.14.8 2014-02-01 22:27:40 +00:00
gshapiro
9e0e0be832 MFC: Update link to vendor import instructions 2014-02-01 22:05:38 +00:00
pluknet
a71e69e617 MFC r261267: Add libexecinfo. 2014-02-01 10:48:28 +00:00
pluknet
3135f7a6a5 MFC r261261: Restore the Nx macro.
PR:		186205
Submitted by:	naddy
2014-02-01 10:41:26 +00:00
rmh
a4a573ce18 MFC r261138:
Accept O_CLOEXEC in shm_open().
2014-01-31 20:52:08 +00:00
jhb
37071258d8 MFC 259823:
Fix i386 build.
2014-01-31 17:26:15 +00:00
pfg
30943ad24c MFC r261136:
ext2fs: Re-enable reallocblk.

The major corruption issues affecting this code have been fixed.

Tested by:	Mike Ma
2014-01-31 04:05:25 +00:00
pfg
e570ba73dc MFC r260988, r261034, r261120, r261235:
ext2fs: Properly the EXT4_EXTENTS and EXT4_INDEX to the inode flags.

In order to support Ext4 extents we need to pass the Ext4 inode flags
without interfering with the chflags. This is better done by using the
i_flag field in the inode and doing proper translation to the linux
ext4 equivalents.

Solve a potential corruption issue in the dirindex code. The dirindex
code can now be renabled as the problems related to it have been
solved.

Suggested by:	bde
Tested by:	kevlo
2014-01-31 03:58:36 +00:00
pfg
c50ca945d8 MFC r261175:
binutils: add support for Intel SMAP-related instructions

Add support for stac/clac instructions to manipulate the flag
that controls the behaviour of Intel's Supervisor Mode Access
Prevention (SMAP) feature.

Tested by:	dim
Obtained from:	OpenBSD
2014-01-31 03:38:22 +00:00
pfg
0d230789fc MFC r261178:
gcc: Add support for -Wmissing-prototypes in C++

Support for warnings about missing prototypes in C++ was added by Apple
GCC (Radar 6261539).  Most of the code crept into r260311 so it felt
natural to make use of it.

Obtained from:	Apple GCC - 5646
2014-01-31 03:30:09 +00:00
jhb
5202629284 MFC 261216:
Explicitly enable I/O and memory decoding in the bridge's command register
when activating an I/O or memory window on the CardBus bridge.
2014-01-30 19:09:59 +00:00