Devin Teske
31a41563c0
Update copyrights and dates following last commit.
2013-01-06 18:18:09 +00:00
Konstantin Belousov
a545089ed5
Protect the p->p_pgrp dereference with the process lock.
...
MFC after: 3 days
2013-01-06 15:10:10 +00:00
Peter Wemm
a116ec4b5e
Juggle some internal symbols from our antique zlib (that originally came
...
in from kernel-pppd which is long gone) so that ZFS and DTRACE play nice.
This is a horrible hack to get freefall to compile, and is in dire need
of reconciliation. This antique zlib-1.04 code needs to go away.
2013-01-06 14:59:59 +00:00
Andrew Turner
3c35faa333
Set the correct relocation type for R_ARM_TARGET2 to R_ARM_GOT_PREL. The
...
TARGET2 relocation is unused in the current ABI but this change is
required for EABI support.
2013-01-06 07:14:04 +00:00
Adrian Chadd
7ea3aada55
Handle ps-poll data frame if_transmit() failure.
...
If the data frame transmission failures, it may have a node reference
that needs cleaning up.
If the frame is marked as M_ENCAP then it should treat recvif as a node
reference and clear it.
Now - since the mbuf has been freed by calling if_transmit() (even on
failure), the mbuf has to be treated as invalid. Hence why the ifp is
used.
2013-01-06 04:40:07 +00:00
Adrian Chadd
17b08c4368
Handle HWMP if_transmit() failure gracefully.
...
If if_transmit() fails, the node ref may need freeing.
This is based on the same logic used by the ageq, which the mesh code
(re) uses for frames which need to be staged before transmitting.
It also does the same thing - if M_ENCAP is set on the mbuf, it treats
the recvif pointer as a node reference and derefs it.
2013-01-06 04:38:31 +00:00
Andrew Turner
6d3d522f78
Fix a signed/unsigned comparison when wchar_t is unsigned by casting the
...
wchar_t to a wint_t.
2013-01-06 03:08:27 +00:00
Andrew Turner
3c96f482d9
When WCHAR_MIN == 0 the check if a wchar_t value will always be true. In
...
this case skip the test as gcc complains it is always true.
2013-01-06 02:50:38 +00:00
Andrew Turner
aa070dea50
Fix the build:
...
* Use pl310_softc when the softc is otherwise unavailable.
* Use the correct spelling of sc_rtl_revision.
2013-01-06 01:17:36 +00:00
Andrew Turner
955c8cbb49
Silence a clang warning by telling it we are only interested in left
...
shifting the lower 32bits of the floating point value when we demangle it.
2013-01-06 00:49:06 +00:00
Andrew Turner
a4244dbff9
Only work around errata when we are on a part where the erratum applies.
...
Reviewed by: gonzo
2013-01-06 00:42:09 +00:00
Oleksandr Tymoshenko
fd79f4a5a4
Export board serial and board revision obtained from FDT blob
2013-01-05 23:08:58 +00:00
Oleksandr Tymoshenko
e57c66d586
Add hw.board.serial and hw.board.revision for exporting board-specific info
2013-01-05 23:08:10 +00:00
Mark Johnston
f46b2b9f64
Fix a segfault when bsdgrep -i is given an empty pattern string.
...
PR: bin/172865
Reviewed by: gabor
Approved by: emaste (co-mentor)
MFC after: 1 week
2013-01-05 22:04:40 +00:00
Konstantin Belousov
7c3b94cfea
Use tabs for indentation.
...
MFC after: 2 weeks
2013-01-05 21:52:38 +00:00
Konstantin Belousov
2dd807c56e
Do not round up the size of the UFS filesystem to the fragment size
...
when comparing its size with the size of the media, to determine if
the last disk block is unused.
Submitted by: Andreas Longwitz <longwitz@incore.de>
Reviewed by: pjd
MFC after: 2 weeks
2013-01-05 21:42:14 +00:00
Oleksandr Tymoshenko
706f28ae4b
Fix background color calculation
...
Spotted by: ray@
2013-01-05 21:05:16 +00:00
Tim Kientzle
d7631c7111
Shuffle the TX underrun to work the same way as the RX underrun,
...
as suggested by YongHyeon PYUN.
2013-01-05 20:37:40 +00:00
Tim Kientzle
139dac05e2
Prefer the new NFS modules
2013-01-05 20:30:10 +00:00
Neel Natu
a09580e7a3
Teach the kernel to recognize that it is executing inside a bhyve virtual
...
machine.
Obtained from: NetApp
2013-01-05 19:18:50 +00:00
Neel Natu
a61359a9a6
Add quirk to indicate that the bhyve hostbridge is capable of supporting
...
MSI and MSI-X even though it does not advertise the PCI-E capability
itself.
Obtained from: NetApp
2013-01-05 18:48:23 +00:00
Tim Kientzle
ebc4238eea
While trying to track down the root cause for
...
TX stalls in this driver, I've also had some
time to evaluate the effectiveness of different
watchdog strategies.
This is the latest attempt, which consolidates
all of the watchdog logic in one place and
consistently detects TX stalls and resets within
a couple of seconds.
2013-01-05 17:59:44 +00:00
Gabor Kovesdan
e411593d4b
- Fix handling of the case when multiple patterns are specified in a single
...
command line argument, separated by newlines
PR: bin/173673
Submitted by: ache
MFC after: 1 week
2013-01-05 14:52:31 +00:00
Neel Natu
bf70b87555
Add macros required to enable VMX operation on Intel processors.
...
Obtained from: NetApp
2013-01-05 04:20:14 +00:00
Devin Teske
99bc932ec2
Add support for scripting (sysinstall style).
...
Reviewed by: jilles
2013-01-05 02:08:47 +00:00
Benjamin Kaduk
e8ab2920c7
Grammar fixes and some wordsmithing
...
Discussed with: rmacklem
Approved by: hrs (mentor)
MFC after: 2 weeks
2013-01-05 00:27:08 +00:00
Xin LI
df4110b6cf
Follow calloc convention in other code, this is functionally identical
...
to its previous form.
2013-01-05 00:23:58 +00:00
Benjamin Kaduk
5e9723e271
Fix some minor inaccuracies introduced in r243251.
...
Also correct the comment in kern_synch.c which was the source of the
problematic text.
Reviewed by: kib (previous version)
Approved by: hrs (mentor)
2013-01-05 00:23:26 +00:00
Xin LI
befcdd435c
Constify arguments. While I'm there, also add a static for usage().
...
MFC after: 2 weeks
2013-01-04 23:44:22 +00:00
Hans Petter Selasky
d021dd19b6
Fix for "run0: wcid=xx out of range" error message.
...
MFC after: 1 week
PR: usb/174963
Submitted by: PseudoCylon <moonlightakkiy@yahoo.ca>
2013-01-04 20:44:17 +00:00
Hiroki Sato
729e57723d
Remove firewire devices missed in r244992.
2013-01-04 15:29:50 +00:00
David Xu
eea8d86d4d
Revert revision 244760 because strncpy pads trailing space with zero,
...
this prevents kernel data from being leaked.
Noticed by: Joerg Sonnenberger < joerg at britannica dot bec dot de >
2013-01-04 11:11:12 +00:00
Yoshihiro Takahashi
bf5c6315c6
MFi386: r232521
...
Exclude USB drivers (except umass and ukbd) from main kernel image.
2013-01-04 09:52:09 +00:00
Erwin Lansing
8604d7559a
Update with new IPv4 address for D root.
...
Approved by: delphij (mentor)
2013-01-04 09:15:59 +00:00
Konstantin Belousov
268dd286a0
Fix reversed condition in the assertion.
...
Pointy hat to: kib
MFC after: 13 days
2013-01-04 07:52:47 +00:00
Adrian Chadd
55caa1df93
For PHY error frames, populate the configured channel flags rather than
...
based on the received frame.
PHY errors don't have the relevant HT or 40MHz MCS flag set.
2013-01-04 06:28:34 +00:00
Marius Strobl
369109e254
Revert bogus part of r241740.
...
Reported by: Michael Moll
MFC after: 3 days
2013-01-03 23:12:08 +00:00
Hiroki Sato
e0418c03e7
- Print scopeid for link-local scope addresses.
...
- Do not print the flags= part when flags == 0.
2013-01-03 22:27:57 +00:00
Rick Macklem
8ac5ae563b
Fix r244604 so that it builds when MK_KERBEROS_SUPPORT == "no".
...
Reported by: bf
Tested by: bf
Reviewed by: gcooper
MFC after: 3 days
2013-01-03 22:24:39 +00:00
Marius Strobl
6f1b440f45
Record my ports commit bit.
2013-01-03 22:05:20 +00:00
Warren Block
fa7aed6c87
Document the output of the show command. Modified version of patch
...
provided by Bas Smeelen <b.smeelen@ose.nl>. Use of 'gpart list'
suggested by by Andrey V. Elsukov <ae@FreeBSD.org>.
PR: docs/174270
Submitted by: Ronald F.Guilmette <rfg@tristatelogic.com>
Reviewed by: ae (block sizes)
MFC after: 1 week
2013-01-03 21:58:28 +00:00
Xin LI
fc24ac81d2
Sync with driver.
...
MFC after: 2 weeks
2013-01-03 20:31:45 +00:00
Konstantin Belousov
73a44978ce
Allow to specify "cache" and "nocache" as an option for
...
mount_nullfs(8).
Tested by: pho
MFC after: 2 weeks
2013-01-03 19:18:46 +00:00
Konstantin Belousov
9cf4c952ca
Add the "nocache" nullfs mount option, which disables the caching of
...
the free nullfs vnodes, switching nullfs behaviour to pre-r240285.
The option is mostly intended as the last-resort when higher pressure
on the vnode cache due to doubling of the vnode counts is not
desirable.
Note that disabling the cache costs more than 2x wall time in the
metadata-hungry scenarious. The default is "cache".
Tested and benchmarked by: pho (previous version)
MFC after: 2 weeks
2013-01-03 19:17:57 +00:00
Konstantin Belousov
0dcbedfa61
Enable the UFS quotas for big-iron GENERIC kernels.
...
Discussed with: mckusick
MFC after: 2 weeks
2013-01-03 19:03:41 +00:00
Adrian Chadd
5da4cc48ba
Don't call the spectral methods for NICS that don't implement them.
2013-01-03 19:03:03 +00:00
Konstantin Belousov
d1c5e3f8b0
Remove the deprecated MNT_VNODE_FOREACH interface. Use the
...
MNT_VNODE_FOREACH_ALL instead.
2013-01-03 19:02:52 +00:00
Konstantin Belousov
6b54784391
Remove the last use of the deprecated MNT_VNODE_FOREACH interface in
...
the tree.
With the help from: mjg
Tested by: Ronald Klop <ronald-freebsd8@klop.yi.org>
MFC after: 2 weeks
2013-01-03 19:01:56 +00:00
Peter Wemm
d281d08fc7
Tone down the encouragement to use cvsup. Add directions to the handbook
...
pages that cover the more current methods and bring closer to reality.
2013-01-03 16:15:35 +00:00
Mark Johnston
9df22a6e88
Make sure to update the mtime of a logfile after archiving it. This
...
ensures that the next rotation happens at the correct time when using
interval-based rotations.
PR: bin/174438
Reviewed by: gad
Approved by: rstone (co-mentor)
MFC after: 1 week
2013-01-03 16:14:51 +00:00