Commit Graph

243291 Commits

Author SHA1 Message Date
ryo
2bdf21974d fix the tx stall problem. ("watchdog timeout")
TX descriptor should be written out once before writing READY flag.
2016-06-15 07:26:11 +00:00
ozaki-r
c7e18ccbde Protect if_byindex by pserialize 2016-06-15 06:01:21 +00:00
mrg
e6e96483bf replace the previous hack with something that i believe is actually
correct and, more importantly ;), works properly.

thanks for riastradh for hints about which bit was actually broken.
2016-06-15 05:01:58 +00:00
mlelstv
d48455317c Work around an issue with MSG_WAITALL that would block for too long by
replacing it with a receive loop.
2016-06-15 04:33:52 +00:00
mlelstv
bbe94f43d2 Remove throttling code, instead signal scsipi layer to reduce the openings
and retry the command. Start with a small openings number and let scsipi
request to grow it up to the current send window.

Adjust ccb and pdu counts to avoid ressource shortages. These are still
very ad-hoc numbers, but seem to be sufficient for a Gigabit link.

Use separate condvar for PDU pool and add counter to help debugging.

Revert setting PDU disposition to UNUSED before freeing. free_pdu
uses this as a flag to detect already returned PDUs.

Add reference counter for open commands to defer unmapping a session
that would lead to crashes in scsipi.

Move session cleanup to cleanup thread.

Use get_sernum to retrieve current serial number where possible and
make it check for immediate commands itself.

Adjust debug output.
2016-06-15 04:30:30 +00:00
mlelstv
ae0ee83b73 drop unused debug helper routine 2016-06-15 03:51:55 +00:00
mlelstv
e27d88e376 Fix field name in response pdu. 2016-06-15 03:40:59 +00:00
agc
02fd82b2cb netpgpverify: bring over changes in 20160615 from pkgsrc
+ perform check for start of ascii-armoured signature in a more efficient
way
2016-06-15 03:37:50 +00:00
mrg
6bfcf96505 build convert_endian() with "no-strict-aliases" optimiser attribute
to avoid some unknown miscompilation in endian_convert() that causes
ssh to exit on some output (for me, "cc -v".)

note in HACKS.  we should investigate this further if possible as
this seems to indicate a strict aliasing violation.  there certainly
are 32 and 64 bit object arrays being accessed with 8 bit accessors,
but i don't have time currently.
2016-06-15 02:12:14 +00:00
agc
ffd13a8c6d add file used for testing gpg --emit-no-version case 2016-06-14 20:55:00 +00:00
agc
4dc60d040f add test for signatures produced by gpg --no-emit-version 2016-06-14 20:47:43 +00:00
agc
dd98b26d9b Sync with pkgsrc sources as of version 20160614
+ pick up renaming changes to internal routines
+ fix for issue verifying signatures created by gpg --no-emit-version
+ add test for same
2016-06-14 20:47:08 +00:00
sjg
fee87d5733 meta_oodate: set needOODATE if oodate due to missing .meta file. 2016-06-14 18:16:06 +00:00
knakahara
d4315a0e8d fix: rxq->rxq_lock is uninitialized if NET_MPSAFE is not defined. 2016-06-14 17:09:20 +00:00
christos
e7090289a4 Add and document MKRELRO and set x86 to partial by default. 2016-06-14 13:26:45 +00:00
christos
0e6265fc35 Add support for GNU RELRO headers from Matthias Weckbecker. 2016-06-14 13:06:41 +00:00
skrll
59c4afa2c5 Simplify the code.
WM_[RT]X_* macros are removed and replaced with mutex_* calls directly.

OK from nakahara@ and msaitoh@
2016-06-14 09:07:22 +00:00
isaki
527eb93c1e In XM6 TypeG (and original XM6), its version number is
represented by BCD, not decimal.
Reported by GIMONS (the author of XM6 typeG).
2016-06-14 07:51:10 +00:00
pgoyette
4f13ec197c Re-arrange PAX_ASLR options to keep the _DEBUG next to the main option. 2016-06-14 03:34:01 +00:00
christos
d83ec840b3 fix PIC code. 2016-06-14 03:05:24 +00:00
ryoon
64125f9b55 Fix buld with clang, add warning option exceptions 2016-06-13 20:03:07 +00:00
abhinav
762c2184ca Make the function static in the definition (prototype was already declared static).
Missed in my last commit.
2016-06-13 14:58:57 +00:00
christos
954c4c5c26 Simplify, no functional change. 2016-06-13 14:23:26 +00:00
knakahara
a6f4292e65 eliminate unnecessary splnet 2016-06-13 08:37:15 +00:00
knakahara
e4ff09f05d MP-ify fastforward to support GATEWAY kernel option.
I add "ipflow_lock" mutex in ip_flow.c and "ip6flow_lock" mutex in ip6_flow.c
to protect all data in each file. Of course, this is not MP-scalable. However,
it is sufficient as tentative workaround. We should make it scalable somehow
in the future.

ok by ozaki-r@n.o.
2016-06-13 08:34:23 +00:00
knakahara
14ea9af5f7 make ipflow_reap() static function. 2016-06-13 08:29:55 +00:00
knakahara
f2808ade1a remove unnecessary splnet before pool_{get,put} 2016-06-13 08:04:44 +00:00
wiz
46dfe48d23 Remove trailing whitespace. Remove unnecessary quotes. 2016-06-13 06:17:19 +00:00
pgoyette
fb5782856e Fix missing quote. Resolve automated test failure. 2016-06-13 02:06:44 +00:00
dholland
454527973b Add missing nops after mfc0 on mips1-3. Mostly from coypu; should fix
an issue posted a month ago or so on port-pmax.
2016-06-13 01:14:29 +00:00
pgoyette
cc610a3c94 Add new primaries -asince, -csince, and -since to compare file's
attributes against a user-specified timestamp (rather than the
attributes of a reference file).

Update the parse routines so they have access to the name of the
option being parsed.  This enables accurate error reporting for
"aliases" of primaries.

Now that aliases work, introduce some aliases for consistency with
Gnu findutils.
2016-06-13 00:04:40 +00:00
pgoyette
d3e6512866 Use .Ic markup for consistency with the rest of the document 2016-06-12 22:25:13 +00:00
pgoyette
09ebf81448 Further clarification of the treatment of numeric user and group names. 2016-06-12 22:17:18 +00:00
dholland
9d2811fca4 Extend the numeric handling for uids with -user to gids with -group, and
document it. Leftover bit of PR 46158.
2016-06-12 20:50:10 +00:00
abhinav
94af01324b Mark hp300/crash.{0,8,html} obsolete.
Discussed on: http://mail-index.netbsd.org/port-hp300/2016/06/07/msg000106.html
2016-06-12 18:44:46 +00:00
abhinav
e8a11ad40c Remove crash.8 for hp300 as there is already a man page for crash(8).
Discussed on port-hp300: http://mail-index.netbsd.org/port-hp300/2016/06/07/msg000106.html
2016-06-12 18:42:28 +00:00
skrll
eb5e2549df Remove KASSERTs that don't make sense. 2016-06-12 15:20:02 +00:00
abhinav
736d303b6e Add libutil to the DPADD variable. 2016-06-12 14:28:26 +00:00
abhinav
89e188185f Fix a buffer overflow when reading from files containing extra long lines.
Instead of using a statically allocated buffer, manage the buffer at run-time
and reallocate as needed.

It was dumping core for following two cases:
man evrpc | ul
man xdm | ul

While there, also remove __P macro from function prototypes.

Ok from Christos.
2016-06-12 13:29:29 +00:00
jnemeth
93fd3c01ef - fix setting of hdr_lba_alt which was broken in revision 1.10 on 2015/12/2
- switch to using gpt_last
- PR/51230 -- recreate the PMBR if it was lost
2016-06-12 12:48:32 +00:00
ozaki-r
fea8b400be Fix m_reset_rcvif
m_reset_rcvif should zero whole m_pkthdr._rcvif union, which is
the original behavior.
2016-06-12 10:14:12 +00:00
abhinav
d5c78a7d38 Don't refer getfsstat() using .Xr as we don't have man page for it anymore.
Ok from wiz@
2016-06-12 09:42:41 +00:00
jnemeth
4ec72366f1 - add machdep.xen.version sysctl to easily get hypervisor version
- move machdep.xen_timepush_ticks to machdep.xen.timepush_ticks to
  consolidate all Xen related sysctls under machdep.xen
2016-06-12 09:08:09 +00:00
nonaka
3270f530d9 note nvmectl 2016-06-12 06:21:56 +00:00
pgoyette
355a32cb7e Change -{min,max}depth argument name from n to depth so that the
earlier statement concerning n being prefaced by a plus or minus.
(These exceptions to the +/- rule noted by kre@)

While here, fix markup error.  .Em for emphasis (stress) rather
than .Ar  :)
2016-06-12 03:21:35 +00:00
christos
d80716dbd6 Make internal functions static to avoid conflicts with arc_* from zfs. 2016-06-12 02:16:15 +00:00
dholland
c136a62a8b Fix the out-of-memory behavior so the message doesn't disappear under
endwin(). Related to PR 3126.
2016-06-12 02:15:26 +00:00
christos
dbe760216f small progress. 2016-06-11 23:10:01 +00:00
christos
fae93e9b6d fix compilation and getdents. 2016-06-11 20:45:07 +00:00
dholland
fb32aadb50 Update to match change to dec_prom.h. 2016-06-11 19:11:20 +00:00