Age | Commit message (Collapse) | Author |
|
with the new sed -i.
"Nice" deraadt@
OK krw@ jasper@
|
|
ok claudio@
|
|
ok claudio@
|
|
This patch presents a thoroughly review of the label mapping
algorithms. Most of the changes are minor bug fixes in the handling of
received label messages.
Additional improvements:
* Add a few more references to the Appendix A of the RFC5036 ("LDP
Label Distribution Procedures") into the code;
* Add full multipath support;
* Send label withdraws when appropriate;
* Add label withdraw/release wildcard support.
NOTE: As a result of implementing only the "Liberal Label Retention" and
"Downstream Unsolicited" modes, we will never send a label request
("Request Never"). And that means that we can ignore the following
notification messages: "Label Request Aborted", "No Label Resources",
"No Route" and "Label Resources Available". The following algorithms
mentioned in the RFC can also be ignored: "Timeout of Deferred Label
Request", "Detect Local Label Resources Have Become Available" and
"Receive Label Abort Request".
Now, considering that we only support one combination of all modes of
operation, we can say that we have an almost complete implementation of
the protocol.
ok claudio@
|
|
LDP has several modes of operation, it was designed in that way so it
could run on legacy equipment like ATM/FR switches with very strict
memory limitations.
For modern hardware there's no point on using either the "Conservative
Label Retention" or "Downstream On Demand" modes of operation since they
save memory at cost of blackholing traffic when routing changes. Major
vendors implement only the "Liberal Label Retention" and "Downstream
Unsolicited" modes for non ATM/FR hardware. Let's do that too.
As for using either "Independent Control" or "Ordered Control", let's
stick with the first option mainly because it's easier to implement
and because it doesn't really matter which control mode is used. For
reference, Cisco implements only "Independent Control" and Juniper only
"Ordered Control". Both modes are interoperable.
The point of supporting only one combination of all modes of operation
is that it will allow for the writing of a simpler code without removing
useful functionality.
ok claudio@
|
|
being built.
ok kettenis@ zhuk@ millert@
|
|
This mimics free()'s behavior which makes error handling simpler.
ok bcook@ miod@
|
|
|
|
octet counting or non transparent framing.
OK benno@
|
|
to get the network related vars from rc.conf. This is even necessary
if netstart is run from within /etc/rc. Remove test of $INRC which
unintentionally evaluated always to true.
problem with previous change found by nigel@
OK sthen@ aja@ halex@
|
|
installpath in pkg.conf instead of hardcoding that information.
This fixes the problem, that installpath has a path from an older
release after updating from disk for a while.
NOTE: This matches fw_update behaviour in that during a beta cycle,
it will expand to 5.8 (for e.g.) instead of snapshots.
requested by and OK ajacoutot@
OK halex@ krw@
|
|
|
|
|
|
Nobody uses its return value.
|
|
Nobody uses its return value. This fixes it returning an undefined
value since the previous commit.
|
|
ok claudio@
|
|
not 16-bit MS-DOS anymore.
ok bcook@ tedu@
|
|
This is major rework of the kroute.c code. The idea is remove complexity
from the lde process by making kroute.c advertise only the lowest priority
routes of each prefix.
kroute.c now keeps track of all routes using three different structures:
kroute_prefix, kroute_priority and kroute_node.
kroute_prefix represents a prefix and contains an ordered list of
priorities (kroute_priority) and for each priority there is a list of
nexthops (kroute_node). Arranging the routes using these three structures
allows for the writing of a simpler code, easier to understand.
Whenever a route is removed, if there's another route for the same prefix,
but with a lower priority, this route is immediately sent to lde.
Additional fixes:
* On RTM_CHANGE, remove the old route before installing the new one;
* On IMSG_CTL_KROUTE_ADDR, show all nexthops for multpath routes;
|
|
ok millert@
|
|
ok bcook@ doug@
|
|
type.
ok guenther@ doug@
|
|
of the destination fields.
ok jsing@
|
|
|
|
address) to 64 signed or unsigned ints. Add some paranoia checks
during partition size calculations to account for the fact that
partition sizes (DL_GETPSIZE()) are unsigned values.
More daddr_t rectification to do.
ok jsing@
|
|
b64_{ntop,pton} remain for now, they are in libc as __b64_{ntop,pton}
but to use this we either need to pull in resolv.h (which does "#define
b64_ntop __b64_ntop") or access the __ versions directly (as done in ssh).
|
|
- MATH_ERRNO, MATH_ERREXCEPTION and math_errhandling
- Optional FP_FAST_FMA{,F,L} macros if fma() executes as fast or faster
than (x * y) + z; which in practice is achievable if gcc implements
__FP_FAST_FMA{,F,L}
Reported by John Marino @ DragonFlyBSD.
|
|
comparisons. The offending input in gfortran's round_4.f90 was
nextafterl(0.10000000000000000000135525271560688L, -INFINITY) which
caused an ulp addition rather than subtraction.
Reported by John Marino @ DragonFlyBSD.
|
|
control-enable is used, our standard configuration is using unix domain sockets
without certs. existing setups with already-created certificates are ok, if
somebody needs remote+certs they can generate keys themself. ok florian@
|
|
keys/certificates for auth. ok florian@
|
|
ok tedu miod
|
|
|
|
|
|
|
|
block offsets until actual i/o is constructed and needs the physical
offset. Eliminate a number of <<DEV_BSIZE shifts as a bonus.
No intentional functional change.
Fixed and ok jsing@
|
|
prevent race conditions that could corrupt amap entries, among other
things.
ok miod@ pirofti@
|
|
to the gcc info documentation as well.
|
|
propagate to all threads. Otherwise early-started kernel threads run
IPIs disabled, which will lead to a deadlock soon after other cores
have started.
ok miod@ pirofti@
|
|
|
|
|
|
|
|
|
|
block offsets until actual i/o is constructed and needs the physical
offset. Eliminate a number of <<DEV_BSIZE shifts as a bonus.
No intentional functional change.
Fixed and ok jsing@
|
|
|
|
|
|
ok florian@
|
|
|
|
first queue to the second.
Mark the first queue as DMA in preparation for being able to use more memory
by flipping. Flipper code currently only sets and clears the flag.
ok tedu@ guenther@
|
|
where appropriate. Noop for disks with 512-byte sectors. i.e. the
only kind currently allowed in softraid volumes. But starts laying
the groundwork to allow disks with other sector sizes.
ok jsing@
|
|
/usr/xenocara/driver/xf86-input-synaptics/src/wsconscomm.c
doesn't understand.
'Fixes' synaptics trackpad in Dell L400 laptop so the cursor can
be moved in X. Problem noted and experimental Dell L400 donated by
Paolo Aglialoro. Thanks!
ok miod@ mpi@ jcs@
|
|
don;t think the colon needs marked up.
|