Age | Commit message (Collapse) | Author |
|
with db_show_regs().
|
|
when the next packet needs to be forwarded, just like if the route
was invalid.
ok mikeb@, claudio@
|
|
command line option to disable it. The new default improves the
formatting of Perl manuals using UTF-8 characters (for example
perlunicook(1)) with man(1) and mandoc(1) no matter which locale
the user has set.
Issue discovered by and fix OK by afresh1@.
Trying to push this change upstream would make no sense. It's the
right thing to do only because we decided to not support any other
locales except ASCII and UTF-8. A system trying to provide arbitrary
locales simply cannot handle manuals containing UTF-8 characters
at build time, so the change would produce wrong results.
|
|
Use syswarn() in more places which set errno and regularize the error messages.
Skip empty lines in the input read for tar -T, cpio -E, and cpio stdin.
based on diff from mmcc@
ok millert@
|
|
|
|
|
|
the working buffer from the softc into session struct. The list of sessions
is protected by a mutex.
There has been some discussion about what IPL should be used for the mutex.
Initially my code used IPL_HIGH since that is the default to be used for
subsystems that can be called from any other subsystem. But since the crypto
code may call malloc/free, I settled on IPL_VM. Calling it from an interrupt
handler that runs at a higher level is unsafe. Sorry, can't encrypt audio!
ok mikeb@
|
|
|
|
CRYPTOCAP_F_MPSAFE flag that crypto implementations can set to indicate that
their cc_process() implementation can safely run without holding the kernel
lock.
ok mikeb@
|
|
no functional change, minus hundred lines of code.
OK martijn@;
also proof-read by Christian Heckendorf <mbie at ulmus dot me>.
|
|
|
|
original diff from Bernard Spil
ok millert
|
|
we try to remove it entirely
ok deraadt@
|
|
The EBUSY hack imposes an order on the ifconfig commands issued
against the pppoe interface used to configure the sppp layer below.
To counter this we use the ENETRESET trick that other drivers use
to tell the pppoe layer that sppp has requested a stop/init reset
sequence to proceed which we oblige with in case pppoe is UP and
RUNNING.
Tested by semarie@ and Jan Schreiber <jes@posteo.de>, thanks!
|
|
When a process receives an EOF on a socketpair, it removes the event
handler for that fd and then calls event_loopexit(). Once the process
leaves the main loop, it calls its shutdown function. With that said,
revert the previous patch because it was unnecessary.
Pointed out and ok by deraadt@
|
|
|
|
work in the forwarding path.
Tested by Hrvoje Popovski, ok dlg@
|
|
Suggestion from claudio@, ok benno@, sthen@
|
|
this solves my memory corruption problem with a samsung sm951 in a
particular slot on a dell 2950.
hilariously, i had picked values which masked this problem on
sparc64. i randomly picked 128 as the number of entries on the
queues, and dmamem allocs get rounded up to PAGE_SIZE. on amd64 and
sparc64 this meant i was asking for 128 * 8 (sizeof pointer), or
1024 bytes, which got rounded up to 4096 and 8192 on each arch
respectively. 128 * 64 (the size of a submission queue entry) is
8192, so it worked fine on sparc64 for that reason, but randomly
blows up on amd64. the 2950 above allocated mbufs out of the page
after the submission queue, which i ended over overwriting.
anyway. let's move on.
|
|
ok sthen
|
|
from Boudewijn Dijkstra
|
|
|
|
|
|
|
|
it's set to IPL_VM to be conservative wrt its interaction with the crypto
subsystem.
|
|
ok mlarkin@ stefan@
|
|
structures are not exchangeable. This should unbreak connection timeouts
in rbootd, although I can't verify due to lack of rboot-able hardware.
ok guenther millert
|
|
am_maxslot represents the total number of slots an amap can be extended
to. Since we do not extend amaps, this field as well as rounding the
number of slots to the next malloc bucket is not useful.
This also removes the corresponding output from procmap(1).
ok kettenis@
|
|
No functional change.
ok millert@
|
|
ok jsg@
|
|
|
|
posix uses the language "resolves to the root directory" in this case.
ok millert
|
|
as parsers, page generators, and result generators more obvious.
No functional change.
|
|
|
|
|
|
from Kari Tristan Helgason
|
|
|
|
architecture subdirectory are specified. Issue reported by tb@.
|
|
|
|
There's no point on keeping eigrpd running if any of its processes
dies unexpectedly.
|
|
|
|
We need to free the internal pointers of the eigrpd_conf struct, not
only the main struct. This avoids memory leaks when a config reload
happens to fail (e.g. due to a syntax error).
|
|
Now eigrpd_conf contains only variables that can be modified via a
config reload. The other variables were moved to a new struct called
eigrpd_global, which is now a central point for storing global variables.
|
|
into an own flag field since these can't be modified via a
config reload.
Pulled from bgpd. Original author: claudio@
|
|
From the EIGRP draft:
"The Feasibility Condition is met when a neighbor's advertised cost, (RD)
to a destination is less than the Feasible Distance for that destination".
So, according to the draf, when the Reported Distance is EQUAL to the
Feasible Distance, the Feasible Condition is NOT met.
|
|
* whitespace cleanup;
* copy in_addr structs directly;
* add more malloc return value checks;
* fix some log messages;
* turn ifacecnt into a static variable;
* use eigrp_addrcmp() on if_deladdr() to avoid code duplication;
* s/route_print_origin/log_route_origin/
* more smaller issues.
|
|
This brings ip_dooptions() closer to mp-safeness by ensuring that
``ifa'' is dereferenced before calling rtfree(9).
ok mikeb@
|
|
ok dlg@
|
|
theyre currently unused, so no functional change.
|
|
this makes it more clear to the casual reader that it refers to the
parent interface, which is consistently referred to as ifp0 in the
rest of the vlan (and carp) code.
this is a good idea from mpi@
|