Age | Commit message (Collapse) | Author |
|
ok phessler@ henning@
|
|
ok deraadt@ yasuoka@ reyk@ henning@
|
|
RTM_GET is no longer sharing this case block.
|
|
and RTM_LOCK. This is start for more changes here. OK mpi@
|
|
be triggered from userland. A gateway route is simply not valid
if its gwroute is not up.
OK phessler@
|
|
route_output().
ok claudio@
|
|
switch(4) currently supports OpenFlow 1.3.5.
Currently, it's disabled by the kernel config.
With help from yasuoka@ reyk@ jsg@.
ok deraadt@ yasuoka@ reyk@ henning@
|
|
entry in RTM_ADD.
rtable_match() does not modify the 'Use' counter of the route and unbreak
regression tests.
Breakage reported by bluhm@
|
|
Fix rttest13.
ok claudio@
|
|
Requested by and OK mpi@
|
|
Like vlan/svlan and tun/tap, it remains a single driver that decides
on the mode based on the interface name. This removes the need for
removing the default link0 flag to turn gre into Mobile IP mode.
Using linkX / IFF_LINK{0,1,2} for interface modes is a deprecated style.
OK millert@ dlg@ many
Not much consensus on the name but mobileip is also used for the sysctls, so
OK henning@
|
|
|
|
New RTF_CLONING routes don't have children, but the kernel might end up
removing routes from a compatible route. This bug has been introduced
with the support for multiple RTF_CLONING routes.
Also make sure to release possible RTF_CACHED route *before* flushing
RTF_CLONED children when deleting a route.
KASSERT() reported by akfaew, sthen@ and martijn@
ok benno@
|
|
ok sthen@, deraadt@, dlg@
|
|
ok markus@
|
|
ok claudio@ mpi@
|
|
ok yasuoka@
|
|
taking the kernel lock.
ok mpi@ dlg@
|
|
GREGADDRD, GRESPROTO, and GREGPROTO. They have been replaced by
generic ioctls some time ago (eg. the "ifconfig gre0 tunnel") and
there is no need to keep the old ones around. They are neither used
in base nor in ports.
OK sthen@
|
|
A single forwarding cache is not the answer. The answer is 42... err PF!
ok bluhm@
|
|
a create/delete/insert cycle as such entry cannot be deleted when
referenced.
Regression reported by and ok bluhm@
|
|
|
|
when adding a route to gateway to ensure a most specific match.
This makes "# route add" coherent to "# route get" even with
p2p interfaces. Fix a problem reported by Mart Tõnso.
This also fix rttest20 after the introduction of RTF_CACHED.
ok vgross@
|
|
This means that no protection is needed to guarantee that the next hop
route wont be modified by CPU1 while CPU0 is dereferencing it in a L2
resolution functions.
While here also fix an ``ifa'' leak resulting in RTF_GATEWAY being always
invalid.
dlg@ likes it, inputs and ok bluhm@
|
|
This will allow us make bpf_tap() KERNEL_LOCK() free.
Discussed with dlg@ and input from guenther@
|
|
optimise pf_patch_32(); simplify pf_match_addr()
OK mikeb@
|
|
OK mpi@ mikeb@
|
|
ok phessler@, bluhm@, tedu@, natano@
|
|
when fiddling with packets but without the mess that motivated Henning to
remove it. Affects only this one aspect of Henning's checksum work. Also tweak
the basic algorithm and supply a correctness argument.
OK dlg@ deraadt@ sthen@; no objection henning@
|
|
This allows rt_if_remove() to remove RTF_BROACAST routes from down
interfaces.
Issue reported by Dimitris Papastamos on bugs@
ok dlg@, claudio@, phessler@
|
|
ok mpi@ visa@
|
|
already does it.
|
|
for the reference counting.
ok dlg@
|
|
and bpfwrite(), all of which will need to grabe a lock to protect the
buffers.
ok dlg@
|
|
descriptor is referenced before it is inserted in the global list.
ok dlg@
|
|
the big reason for this is to let us use rw locks in the network
stack, which is how at least two major efforts outside the tree
have approached making pf mpsafe.
this was discussed at length at n2k16. there was general agreement
that this is necessary for us to move smp work forward in the stack.
|
|
|
|
No functional change.
|
|
unicast mode, multicast is not yet supported.
ifconfig vxlan0 tunnel fd00::1 fd00::2
Roughly based on an earlier diff by goda@
OK yasuoka@
|
|
MCAST flags have to be cleared from the mbuf after decapsulating
packets. This fixes tunneled broadcast packets, eg. ARP. It used to
work before the input path was changed the flags got cleared later in
the stack.
OK yasuoka@
|
|
minor number for reuse by the device cloning code. This fixes a panic
reported by bluhm@.
initial diff from tedu
ok deraadt
|
|
the walk if a route cannot be deleted.
Prevent an infinite recursion reported by Dimitris Papastamos.
ok claudio@
|
|
|
|
|
|
|
|
function has been fixed.
Functions passed to rtable_walk() must return EAGAIN if they delete an
entry from the tree, no matter if it is a leaf or not.
|
|
Previously the code was "too clever" and returned EAGAIN only for
cloning route assuming that other deletion did not modify the tree.
Analysed by and ok dlg@
|
|
|
|
OK mpi@ sashan@
|
|
triggered by updating a cached, but removed from the table, entry is
properly fixed.
Diff from dlg@, prodding deraadt@
|