tuexen
e20c3d7ebb
Fix a bug where SCTP_ENABLE_STREAM_RESET is not handled by
...
sctp_opt_info().
MFC after: 3 days
2013-07-09 19:04:19 +00:00
imp
12ff612352
Nearly a complete rewrite of elf.h.
...
Start with NetBSD's sys/arch/mips/include/elf_machdep.h 1.18. Remove the NetBSD
specific glue pieces (leaving mostly just relocation types).
Add in FreeBSD specific glue pieces from older versions of this file, and
move to the top of the file:
r237430 | kib | 2012-06-22 00:38:31 -0600 (Fri, 22 Jun 2012) | 5 lines
r232449 | jmallett | 2012-03-03 01:19:18 -0700 (Sat, 03 Mar 2012) | 18 lines
r217097 | kib | 2011-01-07 07:22:34 -0700 (Fri, 07 Jan 2011) | 3 lines
r211412 | kib | 2010-08-17 02:55:45 -0600 (Tue, 17 Aug 2010) | 7 lines
r202908 | gonzo | 2010-01-23 19:59:22 -0700 (Sat, 23 Jan 2010) | 4 lines
r195356 | imp | 2009-07-05 01:00:51 -0600 (Sun, 05 Jul 2009) | 6 lines
r195128 | gonzo | 2009-06-27 17:27:41 -0600 (Sat, 27 Jun 2009) | 4 lines
r197933 | kib | 2009-10-10 09:31:24 -0600 (Sat, 10 Oct 2009) | 9 lines
r189926 | kib | 2009-03-17 06:50:16 -0600 (Tue, 17 Mar 2009) | 9 lines
r186191 | imp | 2008-12-16 13:07:47 -0700 (Tue, 16 Dec 2008) | 7 lines
as closely as I can tell, the projects/mips branch merge was disruptive
to good history.
This should make merges easier in the future from NetBSD and vice versa.
2013-07-09 19:01:38 +00:00
jkim
f7817d8e29
Remove redundant definitions to appease tinderbox.
2013-07-09 18:15:59 +00:00
ae
9bfe2ac5dd
Correct the size of allocated memory to store array of counters.
2013-07-09 15:20:46 +00:00
ae
89cf418196
Correct CTASSERT condition.
2013-07-09 15:10:27 +00:00
tuexen
5719f9fad9
Use IPSECSTAT_INC() and IPSEC6STAT_INC() macros for ipsec statistics
...
accounting.
X-MFC with: r252026
2013-07-09 14:38:26 +00:00
pfg
5a396d8c5b
Reinstate the assertion from r253045.
...
UFS r232732 reverted the change as the real problem was to be fixed
at the syscall level.
Reported by: bde
2013-07-09 14:23:00 +00:00
kib
70e5ada2a0
Fix typo in comment.
...
MFC after: 3 days
2013-07-09 13:22:30 +00:00
kib
7d6c97df38
Use MSI for xhci(4), if supported.
...
Reviewed by: jhb
Tested by: dchagin
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
2013-07-09 12:55:01 +00:00
joel
d1d4eafe81
Make mandoc lint happy.
2013-07-09 12:25:44 +00:00
smh
90b6002827
Added 4K QUIRK for OCZ Vertex 4 SSDs
...
Submitted by: Borja Marcos <borjam@sarenet.es>
MFC after: 2 days
2013-07-09 10:41:17 +00:00
rmh
7e76036b6d
Allow assert() to operate correctly when building userland code.
2013-07-09 10:27:26 +00:00
ae
2d294b765d
Bump __FreeBSD_version to reflect changes in statistics structures.
2013-07-09 10:20:27 +00:00
ae
d467a4169a
Migrate structs ahstat, espstat, ipcompstat, ipipstat, pfkeystat,
...
ipsec4stat, ipsec6stat to PCPU counters.
2013-07-09 10:08:13 +00:00
ae
430162610d
Migrate struct carpstats to PCPU counters.
2013-07-09 10:02:51 +00:00
ae
08c6719ac4
Migrate structs in6_ifstat and icmp6_ifstat to PCPU counters.
2013-07-09 09:59:46 +00:00
ae
e5b002a3b8
Migrate structs ip6stat, icmp6stat and rip6stat to PCPU counters.
2013-07-09 09:54:54 +00:00
ae
705a50a053
Migrate structs arpstat, icmpstat, mrtstat, pimstat and udpstat to PCPU
...
counters.
2013-07-09 09:50:15 +00:00
ae
1b1e1de2b2
Use new macros to implement ipstat and tcpstat using PCPU counters.
...
Change interface of kread_counters() similar ot kread() in the netstat(1).
2013-07-09 09:43:03 +00:00
ae
027c687189
Add several macros to help migrate statistics structures to PCPU counters.
2013-07-09 09:37:21 +00:00
ae
1a36dfcc87
Prepare network statistics structures for migration to PCPU counters.
...
Use uint64_t as type for all fields of structures.
Changed structures: ahstat, arpstat, espstat, icmp6_ifstat, icmp6stat,
in6_ifstat, ip6stat, ipcompstat, ipipstat, ipsecstat, mrt6stat, mrtstat,
pfkeystat, pim6stat, pimstat, rip6stat, udpstat.
Discussed with: arch@
2013-07-09 09:32:06 +00:00
avg
91dfaf8dd5
dtrace/fasttrap: install hook functions only after all data is
...
initialized
Sponsored by: HybridCluster
MFC after: 7 days
2013-07-09 09:05:00 +00:00
avg
f4ecb1058b
audit_proc_coredump: check return value of audit_new
...
audit_new may return NULL if audit is disabled or suspended.
Sponsored by: HybridCluster
MFC after: 7 days
2013-07-09 09:03:01 +00:00
avg
44c288e149
should_yield: protect from td_swvoltick being uninitialized or too stale
...
The distance between ticks and td_swvoltick should be calculated as
an unsigned number. Previously we could end up comparing a negative
number with hogticks in which case should_yield() would give incorrect
answer.
We should probably ensure that td_swvoltick is properly initialized.
Sponsored by: HybridCluster
MFC after: 5 days
2013-07-09 09:01:44 +00:00
avg
22e327d005
rc.d/zfs: pass -v option to zfs mount
...
this should make boot process more informative (and entertaining)
on systems with lots of zfs filesystems.
MFC after: 7 days
2013-07-09 08:59:39 +00:00
avg
a9e12e57cb
namecache sdt: freebsd doesn't support structured characters yet
...
:-)
MFC after: 7 days
2013-07-09 08:58:34 +00:00
mav
39ad00b4bc
Add ID for Marvell 88SE9215 AHCI SATA controller.
...
MFC after: 3 days
2013-07-09 08:49:17 +00:00
avg
aa9dd56782
zfs: try to properly handle i/o errors in mappedread_sf
...
Unconditionally freeing a page is not good, especially if it is the page
that was wired by the caller. The checks are picked up from
kern_sendfile.
MFC after: 3 weeks
2013-07-09 08:47:11 +00:00
avg
f9d5ea16d3
amd64: use -mno-omit-leaf-frame-pointer in addition to -fno-omit-frame-pointer
...
... in kernel builds. This is to make behavior of clang consistent with
behavior of gcc.
MFC after: 2 weeks
2013-07-09 08:42:02 +00:00
avg
dbecaf37d8
default loader.conf: there is no need to load zpool.cache now
...
kernel does not need it for importing a root pool.
MFC after: 4 weeks
2013-07-09 08:40:05 +00:00
avg
6587719d8d
zfs: load zpool.cache after a root fs is mounted
...
MFC after: 3 weeks
2013-07-09 08:37:42 +00:00
mav
f49b6d5881
Add one more ID of Marvell SATA controller.
...
Submitted by: marck
MFC after: 3 days
2013-07-09 08:32:17 +00:00
avg
e410236509
zfsboottest.sh: remove checks for things that are not strictly required
...
MFC after: 10 days
2013-07-09 08:30:31 +00:00
avg
1df29cf582
zfsboottest: sync with changes in zfs boot code
...
- spa status can not be called before spa init
- libzfs.h inclusion is now required
- fix alternative code for explicit root dataset lookup
MFC after: 10 days
2013-07-09 08:29:14 +00:00
hrs
feae44327c
Update references.
2013-07-09 08:23:43 +00:00
hrs
5150d8ba11
Remove $swapfile and $geli_swap_flags.
2013-07-09 07:57:10 +00:00
hrs
31ffbcee4f
Document IPv6 support.
2013-07-09 07:55:47 +00:00
hrs
044c45e416
- Add missing "static" keywords.
...
- Add a check for ifindex to if_indextoifinfo(). It returns NULL when
if_indextoname() fails.
MFC after: 3 days
2013-07-09 07:08:36 +00:00
hrs
9a4247565d
Add a missing white space.
2013-07-09 07:03:54 +00:00
rpaulo
52ed22fc64
Use meaningful names when creating mmc/sd threads.
...
This can be useful when we want to be able to identify which mmcsd is stuck.
2013-07-09 03:00:06 +00:00
rpaulo
5033e61144
Improve a comment.
2013-07-09 02:50:05 +00:00
emaste
b8eba90b21
Remove extraneous format string converison specifier
...
Submitted by: wxs@
2013-07-09 01:55:34 +00:00
rmacklem
d7f19ee1e2
Document the "gssname" and "allgssname" mount options added by the
...
host-based initiator credential patches.
This is a content change.
2013-07-09 01:31:36 +00:00
pfg
6ca7bf7cd4
Enhancement when writing an entire block of a file.
...
Merge from UFS r231313:
This change first attempts the uiomove() to the newly allocated
(and dirty) buffer and only zeros it if the uiomove() fails. The
effect is to eliminate the gratuitous zeroing of the buffer in
the usual case where the uiomove() successfully fills it.
MFC after: 3 days
2013-07-09 01:31:04 +00:00
rmacklem
4050bd5a8c
Add support for host-based (Kerberos 5 service principal) initiator
...
credentials to the kernel rpc. Modify the NFSv4 client to add
support for the gssname and allgssname mount options to use this
capability. Requires the gssd daemon to be running with the "-h" option.
Reviewed by: jhb
2013-07-09 01:05:28 +00:00
jhb
3297db39d5
Allow mlx4 devices to switch from Ethernet to Infiniband (and vice versa):
...
- Fix sysctl wrapper for sysfs attributes to properly handle new string
values similar to sysctl_handle_string() (only copyin the user's
supplied length and nul-terminate the string).
- Don't check for a trailing newline when evaluating the desired operating
mode of a mlx4 device.
PR: kern/179999
Submitted by: Shahar Klein <shahark@mellanox.com>
MFC after: 1 week
2013-07-08 21:25:12 +00:00
jhb
581b7760a5
Fix build with INVARIANT_SUPPORT enabled but not INVARIANTS.
...
Reported by: "Matthew D. Fuller" <fullermd@over-yonder.net>
2013-07-08 21:17:20 +00:00
asomers
801a6742bc
Correct the printf format specifier for total_events.
...
Add __printflike argument checking for devdlog().
Reported by: pjd
Approved by: gibbs (co-mentor)
2013-07-08 21:10:30 +00:00
pfg
c91c27e5e0
Avoid a panic and return EINVAL instead.
...
Merge from UFS r232692:
syscall() fuzzing can trigger this panic.
MFC after: 3 days
2013-07-08 20:21:36 +00:00
dim
c5bbe954c0
Pull in r185616 from llvm trunk:
...
FastISel can only append to basic blocks.
Compute the insertion point from the end of the basic block instead of
skipping labels from the front.
This caused failures in landing pads when live-in copies where inserted
before instruction selection.
I missed this change in r252720; without it, certain compilation flags
can cause exception labels to not be generated, but still referenced,
leading to link errors.
Reported by: zeising
MFC after: 3 days
2013-07-08 17:57:11 +00:00