Age | Commit message (Collapse) | Author |
|
initialized. Bring back panics on non-NULL done and cookie fields,
but put inside DIAGNOSTIC.
ok dlg@
|
|
1996 with no way to enable but kernel config or code mods and is bound to
classful adressing anyway.
|
|
more here either
|
|
4.3BSD (anno 1986) supported the host part bits all one for broadcast as
well, since that's what everybody agreed on and RFC919 (anno 1984) proposed.
now, roughly a quarter decade later, we can really stop supporting the all
zero variant. sorry to you guys still running 4.2BSD. ok theo ryan
|
|
|
|
until we figure out why.
|
|
|
|
subnet of the classful network. at least, not since 1992.
ok mpf dlg bob
|
|
Makes the IBM eServer x336 work. Tested by sthen@ and naddy@.
|
|
more to go. Should be a no-op.
|
|
to nothing. this lets us see functions in ddb, while not hurting the
ability to share the code with other projects.
idea borrowed from the usb stack.
ok yasuoka@
|
|
we now correctly broadcast packets to all local ports.
OK deraadt@
|
|
is set whenever we changing the rcvif. It is still not possible to pass traffic
between two vether but works now form outside.
OK deraadt@
|
|
is dying. if so, return ENXIO.
this should make detach of devices during scsi attaches less dangerous.
idea (and the first version of this diff) ok deraadt@
ok krw@
|
|
cannot. panic if theyre set before scsi_xs_sync is called.
question raised by and ok krw@
|
|
is dlg@'s fault.
ok dlg@
|
|
the list of all interfaces and traversing the list of all addresses on each
interface.
if bugs show up with addressing this is the #1 backout candidate, something
i missed might fuck with ifaddrs behind our back, although i looked &
tested hard. 10x to naddy for inet6 testing.
ok theo ryan dlg
|
|
includes AF_LINK addresses (aka mac addresses in the ethernet case). for
inet this also includes the broadcast addresses.
depends on ifinit() called earlier so we have a chance to pool_init before
autoconf assigns the AF_LINK addresses, the v6 fix, and the ifa_add/del
abstraction i just committed.
this is a change in semantics, it is now illegal to change the actual
address in an ifaddr struct because then the RB tree becomes unbalanced.
nothing using this tree yet.
ok theo ryan dlg
|
|
many places create a proper API (ifa_add / ifa_del) and use it.
ok theo ryan dlg
|
|
somewhen later eventually filling the address in is NOT nice.
set address first, then insert. ok dlg theo ryan
|
|
which no longer exists. Makes gcc4 kernels compile again.
ok henning@
|
|
Pointed out and original diff by jcs@.
|
|
that router vendor doesn't default to classful routing any more, and there
really is no point in having a classful netmask and a subnetmask to split
it. we still do classful guesses on the netmask if it isn't supplied by
userland, but that's about it.
i decided to keep ia_netmask and kill ia_subnetmask which makes this diff
bigish, the classful ia_netmask wasn't really used all that much. the real
changes are in in.c, the rest is mostly s/ia_subnetmask/ia_netmask.
ok claudio dlg ryan
|
|
|
|
With input from oga@
While there, remove dead assignment and newly created
unused variable (found by LLVM/Clang Static Analyzer)
ok oga@ krw@
|
|
that it knows how big the messages are.
rework the message handlers to use the pfsync_subheader.len value to
iterate over the message regions.
deprecate the EOF subheader since trying to pulldown a 0 byte buffer is
fail.
ok mcbride@ sperreault@
|
|
ie, dont clear the WAITING flag when restarting the xxstart loops.
|
|
ok @dlg
|
|
Clues on how to fix it from miod. ok miod@, Sure deraadt@
|
|
|
|
|
|
|
|
|
|
this makes sure there is enough of the message to try and parse it, and
allows implementations to skip past regions prefixed by unknown subheaders.
based on discussion with mcbride@ deraadt@ and simon perreault
|
|
us to loop forever.
follow sdstart through to to an adapters scsi_cmd handler and assume that
handler returns NO_CCB to enjoy the bug in full.
ok kettenis@ krw@ beck@
|
|
ok mcbride@
|
|
splx().
|
|
configure(), since some upcoming changes will require it.
ok henning
|
|
ok henning
|
|
is safe for both hardware devices and virtual devices
ok mpf, kettenis, moaning and groaning and slow acceptance from mcbride
XXX should loop checking for uniqueness after new henning diff goes in
|
|
actions. Allow interfaces to be specified in special table entries for
the routing actions. Lists of addresses can now only be done using tables,
which pfctl will generate automatically from the existing syntax.
Functionally, this deprecates the use of multiple tables or dynamic
interfaces in a single nat or rdr rule.
ok henning dlg claudio
|
|
bpfdetach() will be called in if_detach(). Diff by Gleydson Soares
|
|
ok mcbride@
|
|
ok mcbride@
|
|
The demote counter can handle that.
This lets carp hosts with an identical demote count still know which
one is the designated master and prevents them from failing over
asymmetrically.
Since there is a demote handling bug in all releases prior to 4.6,
symmetric failover will only work against 4.6 (and newer) from now on.
OK henning@
|
|
this prevents the ultimate length of the queue of the underlying interface
from being artificially inflated while hte vlan/trunk queue is filled and
then dumped wholesale on the underlying interface, which will dump its
massive queue wholesale on the chip.
tx mitigation is only triggered on real interfaces now (which is where the
cost is)
ok beck@ original diff ok kjc@ henning@
|
|
queue length of one - i.e. vlans with the forthcoming change from dlg.
this allows fragmented frames to be sent on such an interface, hoping
that the interface underneath copes correctly - A better fix for this
will be forthcoming soon, but this is good enough for now, and will
allow the change for vlans to use an ifq length of 1.
tested by me and dlg@, ok dlg@, claudio@, deraadt@
|
|
From Gleydson Soares, OK beck@
|
|
ok miod@
|
|
the route messages so that people and compilers will not get
confused.
ok claudio
|