Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-12-27 | Handle binat-anchor rules in pf_match_translation(), they don't have a | Daniel Hartmeier | |
redirection target address. Reported by Michael Lucas. ok mcbride@ | |||
2002-12-27 | Initialize rt_ifp in newly allocated pf_state objects to NULL. | Daniel Hartmeier | |
Solves the crashes in pf_route() with -current. Reports from Michael Lucas and Bjorn Runaker. | |||
2002-12-26 | Prettier debug printing in pf_map_addr. | Ryan Thomas McBride | |
2002-12-26 | Additional sanity checks for pf_route(). Please report when any of these | Daniel Hartmeier | |
panics should occur. ok mcbride@ | |||
2002-12-25 | No need to define FOO?=foo for AS, CC, CPP and LD, as they are always already | Miod Vallat | |
set from <sys.mk> | |||
2002-12-25 | Turn xxUNIT, xxPARt, xxLABELDEV macro names into uppercase. | Miod Vallat | |
2002-12-25 | Get prototypes from *dev_decl() macros rather than running our own. | Miod Vallat | |
2002-12-25 | Do not force DEBUG to be defined here. hp300 is already slow enough. | Miod Vallat | |
2002-12-25 | Initialize color palette from rasops settings (from sparc) rather than | Miod Vallat | |
from incorrect values, and restore it after X11 use (from macppc). | |||
2002-12-24 | cleanup; ok costa@ | Alexander Yurchenko | |
2002-12-24 | Received a christmas card from Diego and Wim -- thanks! | Hugh Graham | |
It works even, so enable the dhu. | |||
2002-12-23 | regen | Michael Shalayeff | |
2002-12-23 | a few more machines and devs | Michael Shalayeff | |
2002-12-23 | no need to htons the port, it's already in net order, since we swapped it ↵ | Michael Shalayeff | |
back in tcpdump, worked fine (; from bdd@ieee.org | |||
2002-12-23 | Change from array to single pf_pabuf (no longer need multiple buffers as | Ryan Thomas McBride | |
we don't need the second list of addresses for DIOCCHANGE* operations) Also get rid of a bug where DIOCBEGINADDRS clears pabuf[1] when pabuf[0] is the one being used. ok henning@ dhartmei@ | |||
2002-12-23 | Repair minor indentation problem. | Miod Vallat | |
2002-12-23 | dev/ata/ata.c should depends on wdc_base since it uses some calls | Alexander Yurchenko | |
from dev/ic/wdc.c; from NetBSD. ok miod@ deraadt@ | |||
2002-12-23 | Fix complete botch in handling of 'openings'. | Kenneth R Westerback | |
Assign a fixed value (SIOP_NTAGS) to the openings field in the adapter's template sc_link, rather than incrementing the value as cbd's are allocated. The template value is the one copied into each device's sc_link structure as it is created. Incrementing the value meant that each new device got a larger value for openings. The total number of openings claimed by devices on a bus soon exceeded the number of cbd's available. e.g. after 5 devices there would be 132 allocated cbd's, but the total number of openings claimed by devices would be 300. A heavy i/o load on an adapter with multiple devices could have caused the upper scsi layer to try to queue more i/o's than the driver had cbd's to store them in. Such i/o's would fail with EIO if they were started with SCSI_NOSLEEP (e.g. sdstart()) or were not queued within the specified retry limit. I/o's for devices 'later' on the bus would be more likely to trigger this behaviour, due to their inflated openings values. This is good candidate for -stable. | |||
2002-12-22 | pfioc_changealtq is not needed anymore; queues will eventually be | Ryan Thomas McBride | |
referenced by number in DIOCCHANGEALTQ (like rule and pooladdress) "go for it" henning@ | |||
2002-12-22 | Define atagettrace_t type and use it instead of struct atagettrace. | Alexander Yurchenko | |
ok costa@ | |||
2002-12-22 | No more magic wdc events types, give them names. | Alexander Yurchenko | |
ok costa@ | |||
2002-12-22 | better handling of bigendian batteries; problem noticed by blovett@bsdguru.com | Michael Shalayeff | |
2002-12-22 | Do not attempt to select keyboard layout until it has been determined from | Miod Vallat | |
the keyboard (oops). This also fixes a bad interaction with wskbd_cnattach that would hose the underlying sabtty device. | |||
2002-12-22 | Flargs -> Flags. | Artur Grabowski | |
Reported by Dave Steinberg <lists@redterror.net> | |||
2002-12-22 | Cosmetic changes: | Todd C. Miller | |
o Add a DPRINTF macro instead of using debugging #ifdefs all over the place o KNF says to use "return (foo)" not "return(foo)" o #define EIDRM and ENOMSG at the top instead of using #ifdefs to work around the fact that we don't have them later on. | |||
2002-12-22 | Clear the high bit of ipc_perm.seq so msgget(3) never returns a | Todd C. Miller | |
negative message queue id; Vladimir B.Grebenschikov | |||
2002-12-22 | Handle rdr rules with unspecified proxy ports correctly. Also don't | Ryan Thomas McBride | |
print the port number in pf_print_host if it's 0 (like when pf_print_host is called from pf_map_addr) ok dhartmei@ | |||
2002-12-22 | mv PF_RULESET_MAX into the enum, slightly less confusing. | Ryan Thomas McBride | |
ok dhartmei@ | |||
2002-12-20 | replace struct assignment w/ bcopy w/ help and testing of millert@; henning@ ↵ | Michael Shalayeff | |
ok; fixes unaligned trap on alpha from pr3037 | |||
2002-12-20 | Clear error before jumping back to the input loop. If error was set | Todd C. Miller | |
to EWOULDBLOCK it would otherwise not get cleared; Jim Geovedi | |||
2002-12-20 | dino is ataken | Michael Shalayeff | |
2002-12-20 | - Clean up the defines in pool.h | Artur Grabowski | |
- Allow a pool to be initialized with PR_DEBUG which will cause it to allocate with malloc_debug. - sprinkle some splassert. | |||
2002-12-20 | Add a special malloc type M_DEBUG. | Artur Grabowski | |
If the kernel is compiled with MALLOC_DEBUG, M_DEBUG will force the allocation to be done through malloc_debug. | |||
2002-12-20 | user-defined stacks check is the same for grownups as for growndowns | Michael Shalayeff | |
2002-12-20 | do not compile what we already get from libkern (size does not matter) | Michael Shalayeff | |
2002-12-20 | those are gone now | Michael Shalayeff | |
2002-12-20 | no need for these to sit in their own dirs, there not gonna be any sources ↵ | Michael Shalayeff | |
there anyway, all code is in the particular bus adapter's source | |||
2002-12-19 | make sure we are hitting user stack and not smth else here, make init show ↵ | Michael Shalayeff | |
normal vsz in ps now | |||
2002-12-19 | regen | Henning Brauer | |
2002-12-19 | more O2Micro PCI-Cardbus; FreeBSD via pamifer at terra.es | Henning Brauer | |
2002-12-19 | arc4random seems better now | Michael Shalayeff | |
2002-12-19 | Protect WDCDEBUG_PRINT macro with do {} while (0) | Alexander Yurchenko | |
ok costa@ | |||
2002-12-19 | Clear pf_state.nat_rule pointers when non-main nat rules are removed. | Daniel Hartmeier | |
Unlike with filter rules, nat rules inside anchors might be pointed to. | |||
2002-12-19 | Replace skip step calculation so it scales O(n) instead of O(n*n). | Daniel Hartmeier | |
Loading large rulesets consists of two phases. First, the rules are parsed and added, one by one, to the inactive ruleset. The machine remains responsive during that phase. Then, the new ruleset is activated, and the skip steps are calculated. The machine locks up during that phase. This second phase is greatly reduced with the new algorithm. With the old one, calculation could take 30s for 12k rules, with the new one, 100k rules take less than 1s. For small rulesets (less than 1000 rules), the gain is insignificant. ok mcbride@, henning@ | |||
2002-12-19 | fix 'no nat/rdr/binat' evaluation. from mcbride@, slightly modified :) | Daniel Hartmeier | |
2002-12-19 | Initialize pf_state.nat_rule to NULL if there's no translation used. | Daniel Hartmeier | |
Found by markus@ | |||
2002-12-19 | fix a debugging printf on cmd wait timeout | Michael Shalayeff | |
2002-12-19 | proper barrier call in ie_ack | Michael Shalayeff | |
2002-12-19 | comparam() does not need an spltty() for it, already called there. | Michael Shalayeff | |
time-bound loops in com_common_cnputc() and lower to spltty(), which i guess is left from times when timeouts were processed at splhigh(). jason@ tested and ok, art@ ok | |||
2002-12-19 | simplify stack grownups (growndowns are not touched) | Michael Shalayeff | |