| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
| |
long been superseded by the RFC3390 initial CWND sizing.
Also remove the remnants of TCP_METRICS_CWND which used the
TCP hostcache to set the initial CWND in a non-RFC compliant
way.
MFC after: 1 week
|
|
|
|
|
| |
just doing "ifconfing inet6 -ifdisabled" when the interface has
ND6_IFF_AUTO_LINKLOCAL flag and no link-local address.
|
|
|
|
| |
Note to myself: don't write patches while watching a movie.
|
|
|
|
|
|
|
|
|
| |
I focused so much on the 32-bits case where we have to cast SIZE_T_MAX
up in size, that I forgot about the 64-bits case, where off_t and size_t
are equal in size. Simply cast both numbers to uintmax_t, as we can
assume st_size is never negative.
Reported by: cperciva
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- A race condition could happen if two threads were using RAS at the same time
as the code didn't reset RAS_END, the RAS code could believe we were not in
a RAS, when we were in fact.
- Using signed value logic to compare addresses wasn't such a good idea.
Many thanks to Ian to investigate on these issues.
Pointy hat to: cognet
PR: arm/161498
Submitted by: Ian Lepore <freebsd At damnhippie DOT dyndns dot org
MFC after: 1 week
|
|
|
|
|
| |
Suggested by: pjd
MFC after: 1 week
|
|
|
|
|
|
|
|
|
| |
page has been allocated, or we could end up using random values, and bad things
could happen.
PR: arm/161492
Submitted by: Ian Lepore <freebsd AT damnhippie dot dyndns DOT org>
MFC after: 1 week
|
|
|
|
| |
set to no, as libbsnmp needs it.
|
|
|
|
|
|
|
|
| |
/etc/rc.conf.
PR: bin/161711
Submitted by: manolis
MFC after: 1 week
|
|
|
|
|
|
|
| |
type to INT. A long is not necessary as the TCP window is
limited to 2**30. A larger initial window isn't useful.
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
- change "the the" to "the"
Approved by: lstewart
Approved by: sahil (mentor)
MFC after: 3 days
|
|
|
|
| |
debugger without a panic.
|
|
|
|
|
| |
o In elf_get_byte(), cast through uint8_t and not char to avoid sign
extension.
|
|
|
|
|
| |
to better reflect their purpose.
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a compiler warning at WARNS=6 when including the header files
as follows:
#include <sys/types.h>
#include <netinet/in.h>
#include <netinet/ip_var.h>
#include <netinet/udp.h>
#include <netinet/udp_var.h>
|
|
|
|
|
|
| |
C++ compilation.
PR: standards/147210
|
|
|
|
|
| |
Add some const and static keywords to get it all to build. Also add
missing #includes.
|
|
|
|
|
| |
It seems su does build without warnings, but it requires a small fix to
libbsm headers, which I have not committed to SVN yet.
|
|
|
|
|
|
|
| |
The only reason why it didn't build with WARNS=6, is because of some
simple to fix string formatting bugs.
MFC after: 3 months
|
|
|
|
| |
This fixes a compiler warning when passing a const buffer to them.
|
|
|
|
|
| |
The ncp_scan_bindery_object() function does not modify search_string
internally, so there is no need to declare it as `char *'.
|
|
|
|
|
|
| |
We need to use an integer to make the comparison against ERR work.
MFC after: 3 months
|
| |
|
|
|
|
| |
Change the parser; rename `exp' to `exponent' not to collide with exp(3).
|
|
|
|
|
| |
It seems these two tools can be built properly with WARNS=6, even on
architectures that are stricter about alignment.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
- Prevent possible unaligned access to struct whoent.
- Increase uptime column by one, to properly print hosts with an uptime
greater than 1000 days.
- Reduce code complexity by storing struct whod inside struct hs.
- Set WARNS to 6.
MFC after: 3 months
|
|
|
|
|
|
|
|
|
|
|
| |
Third parties are encouraged to change the license on any files which have
a 4-clause license contributed to the NetBSD Foundation to a 2-clause
license. We would also encourage you to inform us about these files, so
that we can continue to track the many places in which NetBSD is used.
http://www.netbsd.org/about/redistribution.html#why2clause [1]
Requested by: joel@
|
| |
|
|
|
|
|
|
| |
more convenient to compile the math library by itself.
Requested by: bde
|
| |
|
|
|
|
|
|
| |
common, e.g., in DFT implementations.
Discussed with: bde, kargl
|
|
|
|
| |
math_private.h, so they can be used elsewhere in the math library.
|
| |
|
|
|
|
|
|
|
|
| |
bus_space calls. This makes ath(4) work correctly on PowerPC.
Submitted by: adrian
Tested by: andreast
MFC after: 3 days
|
|
|
|
|
|
| |
CID: 4222
Found with: Coverity Prevent(tm)
MFC after: 1 week
|
|
|
|
|
|
|
|
| |
PR: kern/142999
Submitted by: Takefu Kenji <takefu@airport.fm>
Approved by: jhb
Approved by: sahil (mentor)
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
terminal. Unfortunately the fix was incorrect and for flushtime > 0 it
keept sending VEOF.
Sent VEOF generates ^D\b\b echoed by the terminal, which was reported
in bin/161526. Note, we still send VEOF at least once. Otherwise
commands like below would hang forever:
echo 1 |script /tmp/script.out cat
PR: bin/161526
Reported by: Adrian Wontroba <aw1@stade.co.uk>, Stefan Bethke <stb@lassitu.de>
Tested by: Stefan Bethke <stb@lassitu.de>
MFC after: 3 days
|
|
|
|
|
|
|
| |
To run a /31 network, participating hosts MUST drop support
for directed broadcasts, and treat the first and last addresses
on subnet as unicast. The broadcast address for the prefix
should be the link local broadcast address, INADDR_BROADCAST.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Remove ia_net, ia_netmask, ia_netbroadcast from struct in_ifaddr.
- Remove net.inet.ip.subnetsarelocal, I bet no one need it in 2011.
- fix bug when we were not forwarding to a host which matches classful
net address. For example router having 192.168.x.y/16 network attached,
would not forward traffic to 192.168.*.0, which are legal IPs in
CIDR world.
- For compatibility, leave autoguessing of mask based on class.
Reviewed by: andre, bz, rwatson
|
|
|
|
|
|
| |
CID: 4203
Found with: Coverity Prevent(tm)
MFC after: 1 week
|
|
|
|
| |
According to md5(1), the resulting binary is the same.
|
|
|
|
|
|
|
| |
i386 binaries on the amd64 and ia64 with the sysctl, instead of
unconditionally enabling it.
Reviewed by: marcel
|
|
|
|
|
|
|
| |
- Remove clause 3 and 4 from TNF licenses.
- Fix memset usage.
- Various cleanup.
- Kill caddr_t.
|
|
|
|
| |
Obtained from: DragonFlyBSD
|
|
|
|
| |
I wrote these ages ago, but they've been failing until now.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Rename __kernel_log() to k_log1p().
- Move some of the work that was previously done in the kernel log into
the callers. This enables further refactoring to improve accuracy or
speed, although I don't recall the details.
- Use extra precision when adding the final scaling term, which improves
accuracy.
- Describe and work around compiler problems that break some of the
multiprecision calculations.
A fix for a small bug is also included:
- Add a special case for log*(1). This is needed to ensure that log*(1) == +0
instead of -0, even when the rounding mode is FE_DOWNWARD.
Submitted by: bde
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
|
| |
no longer "fast" on sparc64. (It really wasn't to begin with, since
the old implementation was using long doubles, and long doubles are
emulated in software on sparc64.)
|