| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
IWBNI gcc could warn about this the way it warns about printf() abuse.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
changes as proposed in bin/118292.
Feel free to mention any I have missed, there is much to learn with
regarding to style(9).
Approved by: grog@
|
| |
|
|
|
|
| |
Now works under Solaris and Linux.
|
|
|
|
| |
The performance of the cross-device equivalents is under investigation.
|
|
|
|
|
|
|
|
|
|
| |
link has been marked discarding by Spanning Tree. This would cause the bridge
to see duplicate packets to itself even if STP has correctly calculated the
topology and blocked redundant links.
Reported by: trasz
Tested by: trasz
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
| |
calculating run sizes. Use of the floating point unit was a potential
pessimization to context switching for applications that do not otherwise
use floating point math. [1]
Reformat cpp macro-related comments to improve consistency.
Submitted by: das
|
|
|
|
|
|
|
|
|
| |
administratively down (!IFF_UP)
- Use the same parameters to lagg_link_active() to get the backup port as in
the output path, this didnt actually matter in practice as sc_primary is
always the first on the port list.
MFC after: 3 days
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
returned on a perfectly valid bzip2 stream whose decompressed size
is multiple of read-ahead buffer size. Reproduce the problem is easy:
create some power-of-two sized file (truncate -s 1m file will do),
bzip2 it and try to load it as md_image from loader. See how it fails.
The bug doesn't affect gzip code (which most of bzip2-reading code was
copied from) probably due to the fact that libgzip doesn't report
Z_STREAM_END with the last block, but requires extra call to inflate()
to retrieve it and has some extra data in the input stream at that time.
However, apply similar fix to gzipfs.c just in the case the API will
change in the future to do what bzip2 code does.
Add some ifdef'ed code to enable testing bzipfs.c from witin normal
FreeBSD environment as opposed to the restricted loader one, so that
one can use gdb and whatnot.
Sponsored by: Sippy Software, Inc., http://www.sippysoft.com/
MFC in: 7 days
|
|
|
|
| |
MFC after: 1 week
|
| |
|
|
|
|
|
|
|
|
| |
someone thought it would be a good idea to copy z_abs() to libm in 1994.
However, it's never been declared or documented anywhere, and I'm
reasonably confident that nobody uses it.
Discussed with: bde, deischen, kan
|
|
|
|
| |
ia64 doesn't have an intr_machdep.h
|
|
|
|
|
|
|
|
|
| |
xorg-server doesn't include any video drivers so install xorg-drivers as
well. And if font-alias isn't installed the X server won't start,
complaining it can't find the font "fixed".
Insta-MFC coming, this was tested with a RELENG_6_3 release build and
the necessary packages as part of the first round of testing for 6.3-RC2.
|
|
|
|
| |
Repocopy by: simon@
|
|
|
|
| |
were repocopied from ./loader to ./ofw.
|
|
|
|
|
|
| |
src/sys/boot/powerpc/loader.
Repocopy by: simon@
|
| |
|
|
|
|
| |
not checked out due to my checkout error.
|
|
|
|
|
|
|
| |
I hope that this and the i386 version of it will not be needed, but
this is currently about 16 cycles or 36% faster than the C version,
and the i386 version is about 8 cycles or 19% faster than the C
version, due to poor optimization of the C version.
|
|
|
|
|
|
|
|
|
| |
would be properly disposed of, but the global label structure for the
semaphore wouldn't be freed.
MFC after: 3 days
Reported by: tanyong <tanyong at ercist dot iscas dot ac dot cn>,
zhouzhouyi
|
|
|
|
|
|
|
|
|
|
|
| |
destroy call; this transpired because the inpcb alloc path for IPv4/IPv6
is the same code, but IPv6 has a separate free path. The results was
that as new IPv6 TCP connections were created, kernel memory would
gradually leak.
MFC after: 3 days
Reported by: tanyong <tanyong at ercist dot iscas dot ac dot cn>,
zhouzhouyi
|
|
|
|
| |
flood logs with failed fallback method lookup attempts.
|
| |
|
|
|
|
|
|
| |
w_q_lookup table (used in RED algorithm for (1 - w_q)^t computation).
MFC after: 1 months
|
| |
|
| |
|
|
|
|
|
|
| |
undefined behavior.
Noted by: alfred
|
|
|
|
|
|
|
|
|
| |
and t3_push_frames).
- Import latest changes to cxgb_main.c and cxgb_sge.c from toestack p4 branch
- make driver local copy of tcp_subr.c and tcp_usrreq.c and override tcp_usrreqs so
TOE can also functions on versions with unmodified TCP
- add cxgb back to the build
|
| |
|
|
|
|
|
| |
PR: bin/113399
Submitted by: Staffan Ulfberg <staffan@ulfberg.se>
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
- rename tcp_ofld.[ch] to tcp_offload.[ch]
- document usage and locking conventions of the functions in the
toe_usrreqs function vector
- document tcpcb, inpcb, and socket fields used by toe
- widen the listen interface into 2 functions
- rename DISABLE_TCP_OFFLOAD to TCP_OFFLOAD_DISABLE
- shrink conditional compilation to reduce the likelihood of bitrot
- replace sc->sc_toepcb checks in tcp_syncache.c with TOEPCB_ISSET
|
|
|
|
|
|
|
|
|
| |
change)
into separate functions
revert previous commit's changes to arpresolve and add a new interface
arpresolve2 which does arp resolution without an mbuf
|
|
|
|
|
| |
Submitted by: Andrey V. Elsukov
MFC after: 1 week
|
|
|
|
|
|
|
| |
the committing of files:
kern_resource.c revision 1.181
sched_4bsd.c revision 1.111
sched_ule.c revision 1.218
|
|
|
|
| |
Reviewed by: imp
|
|
|
|
|
| |
insist that the caller just pass in an initialized mbuf even
if didn't have any data - but that seems rather contrived.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
deallocation and dynamic load balancing via the MALLOC_LAZY_FREE and
MALLOC_BALANCE knobs. This is a non-functional change, since these
features are still enabled when possible.
Clean up a few things that more pedantic compiler settings would cause
complaints over.
|
|
|
|
| |
in other places.
|
|
|
|
| |
long when it really wants an int.
|
| |
|
|
|
|
| |
can cause them to fail.
|
|
|
|
| |
case, not the STRTOG_Normal case.
|
|
|
|
|
| |
version namespace which was needed before the library version was
bumped.
|
| |
|
| |
|
| |
|