| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
cu(1) uses these.
ok deraadt@
|
|
|
|
|
|
|
| |
that the nated source port was reused as destination port. Do not
initialize nport at the beginning of the function, but where it is
needed.
OK sashan@
|
|
|
|
| |
way to install boot blocks.
|
| |
|
| |
|
|
|
|
|
|
| |
of a mutex, the path no longer cleans up the queue of tx requests.
ok mpi@
|
|
|
|
|
|
| |
checked already at beginning of the loop.
ok reyk
|
|
|
|
|
|
|
| |
all the ports in the range portfirst .. portlast
are in use.
ok millert@, mpi@
|
| |
|
|
|
|
| |
ok jung@
|
| |
|
|
|
|
|
| |
not currently enforced but we want the kernel to be able to parse
it for an upcoming diff in the next few days.
|
|
|
|
|
| |
came out of a discussion regarding "sort foo -o foo".
ok semarie
|
|
|
|
|
|
| |
and mpi believe could be used uninitialised.
ok mpi@
|
|
|
|
|
|
|
| |
While here check for RTF_CLONED insted of RTM_RESOLVE when adding an
entry.
Found while debugging naddy@'s NFS vs em(4) vs rtisvalid(9) issue.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
turning rtable_get(9) MP-safe.
Use only one per-AF array, as suggested by claudio@, pointing to an
array of pointers to the routing table heads.
Routing tables are now allocated/initialized per-AF. This will let
us allocate routing table on-demand instead of always having an
AF_INET, AF_MPLS and AF_INET table as soon as a new rtableID is used.
This also get rid of the "void ***" madness.
ok dlg@, jmatthew@
|
| |
|
|
|
|
| |
refactoring inverted the checks; spotted by sthen in ping6.
|
|
|
|
|
|
| |
in case the kernel failed to change the interface of a device.
Found the hardway by okan
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
always gets pointer to rule.
- pf_remove_src_node(): function should always remove matching src node,
regardless the sn->rule.ptr being NULL or valid rule
- sn->rule.ptr is never NULL, spotted by mpi and Richard Procter _von_ gmail.com
OK mpi@, OK mikeb@
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
configured addressses.
ok mikeb@
|
|
|
|
|
|
|
|
| |
ARP entries with an expired timeout are now removed from the tree even
if they are cached somehwere else. This also reduces differences with
NDP.
ok bluhm@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Note that after calling rtalloc(9) we only check if a route has been
returned or not and do not check for its validity. This cannot be
improved without a massive refactoring.
The kernel currently *do* use !RTF_UP route due to a mismatch between
the value of ifp->if_link_state and the IFF_UP|IFF_RUNNING code.
I'd explain the RTF_UP flag as follow:
. If a cached route entry w/o RTF_UP is passed to ip{6,}_output(),
. call rtalloc(9) to see if a better entry is present in the tree.
This is enough to support MPATH and route cache invalidation.
ok bluhm@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is required to maintain the original BSD behavior of locally
configured addresses being always reacheable.
Some interfaces are^w^W^Wem(4) is special and generally has a DOWN
link state when configured by netstart(8). As a result all the
route entries cloned/added before its link state goes to UP are also
marked as DOWN.
Note that this problem was not present when local addresses were
attached to lo0.
ok mikeb@
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
problem pointed out by Martin Natano (natano (at) natano.net)
Also, stop chaining assignments (foo = bar = baz) in vattr_null().
The exact meaning of those depends on the order of the sizes-and-
signednesses of the lvalues, making them fragile: a statement here
mixed *six* types, but managed to get them in a safe order. Delete
a 20+ year old XXX comment that was almost certainly bemoaning a bug
from when they were in an unsafe order.
ok deraadt@ miod@
|
|
|
|
| |
ok kettenis@ miod@
|
|
|
|
| |
"add it" deraadt@
|
| |
|
|
|
|
|
| |
depending on what you need. inet/inet6 cmsg's come through unmolested --
that is something to consider later.
|
|
|
|
|
|
| |
also the comment above IFQ_ENQUEUE that says the pattr argument is unused.
ok mpi@
|
|
|
|
| |
ok mikeb@
|
|
|
|
| |
ok mikeb@ mpi@
|
|
|
|
|
|
|
| |
return EPNOTSUPP for SIOCGLIFPHYTTL and SIOCGVNETID. all so drivers
dont have to do these checks themselves.
ok mikeb@ mpi@
|
|
|
|
|
|
|
|
|
|
|
| |
if_input() and to have a counterpart for bridge_ifenqueue() that helps
to understand the traffic/code flow in bridge better. The bridge
currently only puts a single packet on the input mbuf list, and
changing will need to undo part of this commit, but it still makes
sense to have a well-defined call for the ports receive path.
No functional change.
OK mpi@
|
|
|
|
|
|
| |
potential crash. This must have somehow been working by magic.
Fruther cleanup of QoS support in this driver is very much needed.
ok mpi@
|
|
|
|
|
| |
that is an errno to pass up to the calling system call instead. test
case is "who < /dev/null", via ttyname().
|
|
|
|
| |
ok deraadt@
|
|
|
|
| |
refers to the process itself. pledge should allow it.
|
|
|
|
|
| |
because the "route' tests were placed between the two, creating
confusion. fix that while here.
|
|
|
|
|
|
|
| |
The more important use will be tmux(1) and other active window size
controlling programs. There seems little risk in exposing this small
tty setting alongside the tcsetattr() family.
ok millert
|
|
|
|
| |
ok phessler
|
|
|
|
|
|
| |
Make it always available.
ok deraadt@
|
|
|
|
|
|
|
| |
to avoid looping in softclock()
based on diff by sthen@
ok sthen@
|
|
|
|
|
| |
so we should allow it for 'self'.
ok djm
|
|
|
|
| |
a refactoring being done for the bc/dc relationship with otto.
|
|
|
|
| |
ok phessler mpi zhuk
|