| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
Fix the TCP header size calculation such that makes TSO engine
cache all header(ethernet/IP/TCP) bytes to its internal buffer.
While here, remove extra pull up for TCP payload. Unlike some
em(4) controllers, fxp(4) does not require such work around for
TSO.
The two limitations are ethernet/IP/TCP header size should be less
than or equal to the size of controller's internal buffer(80 bytes)
and these header information should be found in the first fragment
of a TSO frame.
|
|
|
|
|
|
|
| |
initialize a task structure.
Reviewed by: gj
MFC after: 2 weeks
|
|
|
|
|
|
|
|
|
|
| |
- Cast time_t's to long, and print them with %ld.
- Print ptrdiff_t's with %td.
- Print ssize_t's and size_t's with %zd and %zu.
- Print int32_t's with %d.
Also, replace some int variables with the more appropriate size_t.
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
against icmp6_hdr::icmp6_type is done incorrectly. (This fix has
already been applied upstream, but we do not have the latest version of
tcpdump.)
MFC after: 1 week
|
|
|
|
|
|
|
| |
warnings in sbin/hastd/lzf.c are only emitted for i386 and amd64, and
there they can be safely ignored.
MFC after: 1 week
|
|
|
|
|
|
| |
Add sysctl which can be used to skip this waiting.
MFC after: 3 days
|
|
|
|
|
|
|
| |
... instead of just a verbatim format string.
Reviewed by: pjd
MFC after: 1 week
|
|
|
|
|
|
|
| |
doing shutdown, suspend and resume.
Suggested by: avg @
MFC after: 3 days
|
|
|
|
|
|
|
| |
warnings.
Spotted by: arundel
MFC after: 1 week
|
|
|
|
|
|
|
| |
turned off yet. Since this is contrib code, and we don't really care
about the warnings, just turn make them non-fatal for now.
MFC after: 1 week
|
|
|
|
| |
Requested by: netchild, bz
|
|
|
|
| |
if the else belongs to.
|
|
|
|
|
|
|
|
|
| |
o Teach netstat(1) -z to reset these stats sysctls.
PR: bin/153206
Reviewed by: glebuis
Sponsored by: NGINX, Inc.
MFC after: 1 month
|
| |
|
|
|
|
| |
Pointy hat to: bapt
|
|
|
|
|
|
|
|
| |
thought the -g (mimic gnu) option
Reviewed by: cognet
Approved by: cognet
Discussed with: espie@OpenBSD.org (upstream)
|
|
|
|
|
| |
Inspired by: r228555
MFC after: 1 week
|
|
|
|
|
| |
Detected by: clang
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
of the rx_ring to bus_dmamap_sync(9). Given that netmap code tries to
obtain the bus addresses of netmap buffers via vtophys(9) instead of using
bus_dma(9) it currently has zero chance of actually working on sparc64
though (and for that matter f.e. also not with MACs limited to 32-bit DMA
on x86 machines with more than 4GB of RAM).
|
|
|
|
| |
MFC after: 1 week
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| | |
pam_end() already contains a NULL check, and it is not unreasonable to
call it with a NULL pamh in a cleanup / error-handling situation. Remove
OPENPAM_NONNULL, which may cause gcc to optimize away the NULL check.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| |
| | |
Submitted by: geoffrey dot levand at mail dot ru
MFC after: 1 week
|
| | |
|
| |
| |
| |
| | |
Reviewed by: kib
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
(ss == NULL) on pool import. I had such a panic recently. With current version
of ZFS it is still possible to import the pool in readonly mode and backup
all the data, but in case it is impossible for some reason add tunable
vfs.zfs.space_map_last_hope, which when set to '1' will tell ZFS to remove
colliding range and retry. This seems to have worked for me, but I consider
it highly risky to use.
MFC after: 1 week
|
| |
| |
| |
| |
| |
| | |
if the 'sync' property is set to 'always', so replying them is not common.
MFC after: 1 month
|
| |
| |
| |
| | |
MFC after: 1 week
|
| |
| |
| |
| |
| |
| | |
about format strings not being literals.
MFC after: 1 week
|
| |
| |
| |
| |
| |
| | |
arrays to non-const void pointers, by casting away const explicitly.
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| | |
like time_t, better use %jd instead of %ju. Strangely enough, neither
gcc, clang nor gcc 4.6 warn about this discrepancy...
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| | |
is known, otherwise it won't build.
Pointy hat to: dim
MFC after: 1 week
|
| |
| |
| |
| |
| |
| | |
length modifier for time_t (after casting it to intmax_t).
MFC after: 1 week
|
| |
| |
| |
| | |
MFC after: 1 week
|
| |
| |
| |
| | |
MFC after: 1 week
|
| |
| |
| |
| |
| |
| | |
for an ssize_t.
MFC after: 1 week
|
| |
| |
| |
| |
| |
| | |
ptrdiff_t.
MFC after: 1 week
|
| |
| |
| |
| |
| |
| | |
call to isolation_protocol().
MFC after: 1 week
|
| |
| |
| |
| |
| |
| | |
strings not being literals.
MFC after: 1 week
|
| |
| |
| |
| |
| |
| | |
buffer as size argument to strlcpy(), not the length of the source.
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| | |
This matches 4.4BSD tradition and other utilities with these options and is
required by POSIX (POSIX does not specify -P, only -HL).
MFC after: 2 weeks
|
| |
| |
| |
| |
| |
| |
| | |
formats in usr.bin/netstat/atalk.c by conditionally adding NO_WFORMAT to
the Makefile instead.
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| | |
corresponding printf length modifier.
Requested by: mdf
MFC after: 1 week
|
| |
| |
| |
| | |
MFC after: 1 week
|
| |
| |
| |
| |
| |
| |
| | |
x86, any alignment warnings can be safely ignored. Define YY_NO_INPUT
in usr.sbin/ndiscvt/inf-token.l, so no unused lex functions are defined.
MFC after: 1 week
|
| |
| |
| |
| |
| |
| | |
for off_t (aka int64_t).
MFC after: 1 week
|