loos
c411c7577d
Fix the parsing of NPt binat rules.
...
In this specific case the src address can be set to any, which was not
accepted prior to this commit.
pfSense bug report: https://redmine.pfsense.org/issues/6985
Reviewed by: kp
Obtained from: pfSense
MFC after: 2 weeks
Sponsored by: Rubicon Communications, LLC (Netgate)
2016-12-28 16:16:48 +00:00
pfg
1f1abed933
Undo small wrong style change.
...
Reported by: kib
2016-12-28 16:16:36 +00:00
pfg
8fb4a19fe0
style(9) cleanups.
...
Just to reduce some of the issues found with indent(1).
MFC after: 1 week
2016-12-28 15:43:17 +00:00
arybchik
ad788a7cf3
sfxge(4): translate MC_CMD_ERR_ERANGE to host errno value
...
This is needed because MCDI command MC_CMD_REKEY can return
MC_CMD_ERR_ERANGE.
Submitted by: Tom Millington <tmillington at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 15:24:44 +00:00
mav
914d7bf255
Pass proper arguments (handles, not directly structure pointers) to
...
scif_cb_domain_device_removed().
This should fix NULL dereference on task management function timeout.
Reviewed by: jimharris
MFC after: 2 weeks
2016-12-28 14:50:39 +00:00
emaste
afd78390fa
btxldr: process all PT_LOAD segments, not just the first two
...
With default settings GNU ld generates two PT_LOADs for loader.sym while
LLD generates three, because it creates a rodata segment. Previously
btxldr terminated phdr processing after two PT_LOADs. Remove the early
termination to process all PT_LOADs.
Reviewed by: kib, tsoome
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D8929
2016-12-28 14:25:04 +00:00
br
44efacb064
o Fix style.
...
o Remove set but not used variable.
Sponsored by: DARPA, AFRL
2016-12-28 14:10:33 +00:00
kan
858407e0a8
Be more conservative when enabling write-combining on MIPS
...
Some MIPS revisions do implement uncached-accelerate caching
attribute, but place extra requirement on access, such as
partial-word or out-of-sequence writes potentially having an
“unpredictable” effects.
2016-12-28 13:48:00 +00:00
arybchik
1519479d34
sfxge(4): rename hunt_bist_* methods to ef10_bist_*
...
Submitted by: Mark Spender <mspender at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 13:28:44 +00:00
araujo
b35cc2e296
Print hostcache usage counts with TCP statistics.
...
PR: 196252
Submitted by: Anton Yuzhaninov <citrin+pr@citrin.ru>
MFC after: 3 weeks.
2016-12-28 13:11:22 +00:00
arybchik
ef2f40c4fa
sfxge(4): cleanup: improve prefast annotations
...
Submitted by: Andy Moreton <amoreton at solarflare.com>
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:43:11 +00:00
arybchik
9165f91f19
sfxge(4): fix defined-but-not-used warning if neither VPD nor NVRAM opt enabled
...
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:28:16 +00:00
arybchik
3e3eca2371
sfxge(4): cleanup: add missing spaces
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:25:17 +00:00
arybchik
bb7138f51e
sfxge(4): cleanup: avoid unspecified unsigned
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:19:54 +00:00
arybchik
3a28bcb21b
sfxge(4): enclose macro complex value in parenthesis
...
Found by DPDK checkpatches.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:11:15 +00:00
arybchik
f13fed2952
sfxge(4): make strings array pointer itself immutable
...
Found by DPDK checkpatches.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:09:45 +00:00
arybchik
f713d58898
sfxge(4): cleanup: add const qualifier to const array pointer
...
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:07:34 +00:00
arybchik
64da8aa49a
sfxge(4): cleanup: avoid spaces before TAB
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:04:36 +00:00
arybchik
c6552d0ef3
sfxge(4): cleanup: avoid space just before TAB in efx_types.h
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:03:06 +00:00
arybchik
c2ab868fe6
sfxge(4): cleanup: use TAB to indent
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 11:01:01 +00:00
arybchik
0ddb904f26
sfxge(4): cleanup: add missing space between type and pointer symbol
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:53:53 +00:00
arybchik
324e6afcdc
sfxge(4): cleanup: open brace should be on a type name line
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:52:04 +00:00
arybchik
3f9152f411
sfxge(4): cleanup: remove trailing whitespaces
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:49:41 +00:00
arybchik
477f2dcf24
sfxge(4): cleanup: pointer symbol should go together with struct member name
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:48:15 +00:00
arybchik
59d6b0c748
sfxge(4): cleanup: avoid C99 // comments
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:47:04 +00:00
arybchik
312efef949
sfxge(4): cleanup: remove unnecessary spaces
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:45:14 +00:00
arybchik
33f828608f
sfxge(4): cleanup: use spaces around binary arithmetic operations
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:44:03 +00:00
arybchik
088bf7d936
sfxge(4): cleanup: fix wrong indent
...
Found by DPDK checkpatch.sh
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:43:04 +00:00
arybchik
be354faed7
sfxge(4): cleanup: remove trailing whitespace
...
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:40:21 +00:00
arybchik
1f10c405e3
sfxge(4): cleanup: fix typo in siena_mac_loopback_set() instrumentation
...
Sponsored by: Solarflare Communications, Inc.
MFC after: 2 days
2016-12-28 10:39:11 +00:00
avos
ab32f2f502
rum.4, run.4, runfw.4, zyd.4: do not install when MK_USB == no.
...
While here, add missing if_rtwn_usb.4.gz symlink into
OptionalObsoleteFiles.inc
2016-12-28 09:32:02 +00:00
ngie
945aa9528c
Fix the build by moving the initializers for len/nswapdev down below the
...
declarations
MFC after: 3 days
Pointyhat to: ngie
2016-12-28 08:11:41 +00:00
mmel
70bcc078c8
Limit number of stripes supported by HDA codec to maximum number
...
announced by HDA controller.
Incorrectly implermented HDA codec may report support for more stripes
that HDA controller already have. Due to this, always limit number of
enabled stripes by global controller maximum.
Reviewed by: mav
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D8922
2016-12-28 07:37:26 +00:00
ngie
37debd5a95
style(9): clean up whitespace
...
MFC after: 3 days
2016-12-28 06:10:58 +00:00
ngie
51f89910c9
style(9) fixes: clean up leading whitespace
...
MFC after: 3 days
2016-12-28 05:43:14 +00:00
ngie
7120e9967e
style(9) fixes: clean up leading whitespace
...
MFC after: 3 days
2016-12-28 05:42:41 +00:00
ngie
a4a83e9690
style(9) fixes
...
- Clean up trailing whitespace
- Fix variable type alignment in storage_OS_get_swap(..)
MFC after: 3 days
2016-12-28 05:41:53 +00:00
ngie
82c12f5e81
Only build/install usr.sbin/bsnmpd/modules/snmp_hast if MK_HAST != no
...
MFC after: 1 week
2016-12-28 05:21:22 +00:00
ngie
35041d3932
Only build/install usr.sbin/bsnmpd/modules/snmp_wlan if MK_WIRELESS != no
...
MFC after: 1 week
2016-12-28 05:16:41 +00:00
ngie
402d5d3733
style(9): ip_get(..): clean up whitespace
...
MFC after: 3 days
2016-12-28 05:05:08 +00:00
ngie
b2ff0ca59d
style(9): snmp_send_packet(..): fix whitespace
...
MFC after: 3 days
2016-12-28 04:56:15 +00:00
emaste
e6699454d4
loader: use strip -o instead of cp and strip in place
...
It is simpler and cleaner to have strip produce the stripped output
directly than copying the input to the output first.
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
2016-12-28 04:55:43 +00:00
ngie
65df443113
style(9): fix whitespace in pdu_encode_secparams(..)
...
MFC after: 3 days
2016-12-28 04:53:52 +00:00
sephe
39facbac7a
hyperv/hn: Factor out function to set rxfilter.
...
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8928
2016-12-28 04:47:17 +00:00
sephe
5aa4a394c9
hyperv/hn: Function renaming; no functional changes.
...
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8908
2016-12-28 04:35:52 +00:00
ngie
64921a2ee1
style(9): sort alignment in udp_recv(..)
...
MFC after: 3 weeks
2016-12-28 04:31:07 +00:00
ngie
8684890cca
Fix bsnmpd sending/receiving with multi-homed configurations or INADDR_ANY used
...
as the listening address in snmpd_input(..)
Stash the IPv4 address of the receiver via the recv(..) callback and use it in
the send(..) callback for the transport by specifying IP_SENDSRCADDR for the
control message type.
Add sendmsg logic to the UDP transport's send(..) callback and use the
respective send(..) callback for the transport instead of calling sendto in
snmpd_input(..).
MFC after: 3 weeks
Obtained from: Isilon OneFS (^/onefs/branches/BR_8_0_0_DEV@r507595)
Submitted by: Thor Steingrimsson <thor.steingrimsson@isilon.com>
Sponsored by: Dell EMC Isilon
2016-12-28 04:29:09 +00:00
ngie
80601634ab
Install snmpmod.3 as all of the bsnmpd APIs it documents
...
MFC after: 3 days
2016-12-28 03:56:25 +00:00
jhibbits
7b3eafc3fa
Restrict SLB handler to powerpc64 and AIM
...
Only Book-S has SLBs. Book-E does not, so restrict it to only Book-S (which we
call AIM).
2016-12-28 03:40:54 +00:00
sephe
c9b5e5f0a8
hyperv/hn: Consolidate hn_{suspend,resume}
...
MFC after: 1 week
Sponsored by: Microsoft
Differential Revision: https://reviews.freebsd.org/D8907
2016-12-28 03:19:59 +00:00