itojun
63de4c2cb9
nuke the following sysctl variables. "ppsratelimit" should work better.
...
need to recompile sbin/sysctl after updating /usr/include.
net.inet.tcp.rstratelimit
net.inet.icmp.errratelimit
net.inet6.icmp6.errratelimit
2000-07-28 04:06:52 +00:00
itojun
7abf4641c6
forgot to call tcp6_quench(). sync with kame.
2000-07-28 02:39:45 +00:00
bjh21
61edac627c
Convert the arm26 rtc driver to use pk's new todr(9) interface internally.
...
Nothing outside the driver will notice until we get proper MI I^2C.
2000-07-27 23:51:43 +00:00
martin
10debdeb9c
Fix to autonegotiation problem with some fxp cards. Fix found and reported
...
by Erich T. Enke et al. on current-users. This fixes PR 10550.
2000-07-27 22:14:48 +00:00
bouyer
e955a714ba
Add support for the W83627HF: lm7x like, but with more sensors, and more
...
registers.
2000-07-27 21:49:22 +00:00
bouyer
ca5b9b0c22
Force 64bit arithmetic for timeout computation; a 32bit int opverflows for
...
large timeouts. Should fix PR kern/10575.
2000-07-27 21:28:17 +00:00
scw
379de37900
Make these work for the `dependall' target.
2000-07-27 21:06:53 +00:00
bouyer
a7d2293ea4
My 16 port boca seems to fail to update the interrupt bit in it's interrupt
...
register for a port under high load. The effect is that the port is wedged
waiting for an interrupt that will never come.
Add a callout-based watchdog which periodically (hz/10) scan trough the ports
for missed interrupts.
Problem also noted by Chris Jones, and this fix also helped him.
2000-07-27 20:08:47 +00:00
mason
4a353b5330
Moving to a default of 64 PTYs.
2000-07-27 17:53:35 +00:00
mason
fa62f74f37
Moving to a default of 64 PTYs.
2000-07-27 17:32:11 +00:00
cgd
b63ed164a1
convert PRID handling to use macros on an int, not bit-fields.
...
there's no reason to use bit-fields, and they just complexity to
the header.
2000-07-27 17:29:05 +00:00
itojun
4f825aaddd
recover traditional MINCLSIZE (= MHLEN + MLEN + 1). it will make
...
drivers less aggressive about use of cluster mbufs.
this chnage affects drivers with m_devget()-emulation. many of
recent drivers do not look at MINCLSIZE any more, not sure why.
2000-07-27 17:18:19 +00:00
itojun
73a29e35ff
do not forward packet with :: in the source.
...
this is not in the spec - we had rough consensus on it in ipngwg,
spec will get updated to include this behavior.
2000-07-27 15:53:51 +00:00
bouyer
0154cbce36
Ops, forgot this one: Add interrupt disable bit #define for HPT370
2000-07-27 15:26:16 +00:00
scw
0d5db1f645
Bump DFLDSIZ to 32MB since 16MB is no longer enough for some
...
parts of `make build'.
2000-07-27 14:48:58 +00:00
mrg
256fc99a68
include the 32-bit kernel, not myself
2000-07-27 14:39:50 +00:00
mrg
8b5a1a1dea
do the 32 bit / 64 bit name swap, as per GENERIC.
2000-07-27 14:38:45 +00:00
mrg
cc41b6af8f
remove COMPAT_AOUT option.
2000-07-27 14:34:06 +00:00
bouyer
aa0d4a41d5
HPT370: clear disable interrupt bit; make it works in Ultra/66 mode.
2000-07-27 14:28:45 +00:00
scw
8f4e16a29e
G/C some obsolete HP-UX related flags, and prevent multiple
...
inclusion while I'm here.
2000-07-27 14:26:15 +00:00
scw
110b948408
G/C MDP_HPUXTRACE since it is never set anywhere, so we don't actually
...
support HP-UX processes doing the tracing.
2000-07-27 14:25:14 +00:00
mrg
a254dae933
ebus sc_is is a pointer now, already.
2000-07-27 14:17:10 +00:00
mrg
dea4c479f5
intr_list_handler() should only take one argument. it ignored the 2nd anyway.
2000-07-27 14:13:50 +00:00
mrg
556a915306
add commented LOCKDEBUG
2000-07-27 14:10:25 +00:00
mrg
705b50bf32
fix LP64 warnings.
2000-07-27 14:00:56 +00:00
mrg
2726e45533
fix warnings.
2000-07-27 13:59:26 +00:00
mrg
270fd5cc55
delete unused variable.
2000-07-27 13:58:54 +00:00
mrg
eafc0ade2d
fix warnings.
2000-07-27 13:57:23 +00:00
mycroft
9daa55017e
Fix the sparc_v9 hack...
2000-07-27 13:45:59 +00:00
itojun
928dfa5233
do not disable icmp error rate limitation for local address.
...
local address can be abused too. pps rate limitation should work fine for
moderate amount of icmp errors.
2000-07-27 11:36:14 +00:00
itojun
dd9f2f7f1d
implement net.inet.tcp.rstppslimit to limit TCP RSTs by packet-per-second
...
basis. default: 100pps
set default value for net.inet.tcp.rstratelimit to 0 (disabled),
NOTE: it does not work right for smaller-than-1/hz interval. maybe we should
nuke it, or make it impossible to set smaller-than-1/hz value.
2000-07-27 11:34:06 +00:00
bjh21
926ed939b6
Fix grammatical error in panic msg
2000-07-27 10:12:31 +00:00
jeffs
3eae1609f1
Fix to actually compile MIPS1 only.
2000-07-27 08:28:36 +00:00
jeffs
e4a0934c13
Do not attempt mips3 style cache flush on mips1 in setregs() as it
...
is illegal to flush on user addresses. In theory the race exists
on MIPS1, but it is rather unlikely in common use. I have
seen it with regress/sys/kern/sigtramp on a QED 5231 system.
2000-07-27 06:28:06 +00:00
itojun
a18c2d780f
be proactive about unspecified IPv6 source address. pcb layer uses
...
unspecified address (::) to mean "unbounded" or "unconnected",
and can be confused by packets from outside.
use of :: as source is not documented well in IPv6 specification.
not sure if it presents a real threat. the worst case scenario is a DoS
against TCP listening socket:
- outsider transmit TCP SYN with :: as IPv6 source
- receiving side creates TCP control block with:
local address = my addres
remote address = :: (meaning "unconnected")
state = SYN_RCVD
note that SYN ACK will not be sent due to ip6_output() filter.
this stays until it timeouts.
- the TCP control block prevents listening TCP control block from
being contacted (DoS).
udp6/raw6 socket may have similar problem, but as they are connectionless,
it may too much to filter it out.
2000-07-27 06:18:13 +00:00
cgd
4adc7b9704
add nops after jals in PANIC and PRINTF. (these macros are often used in
...
code which has noreorder set, and they're not used with nops afterwards,
as is appropriate in that case, so put the nops in the macros.)
2000-07-27 05:01:06 +00:00
matt
63466a9699
Un __P.
2000-07-26 21:50:48 +00:00
pk
2079f86890
On-board devices on psycho machines seem to have the `interrupt' property
...
in the parent bus format (i.e. an INO) rather than being represented as
an PCI interrupt line. Provide a hack to work around this in pci_attach_hook().
2000-07-26 17:46:56 +00:00
jeffs
ca2a49c4cf
Back-out vmapbuf() change for now as locally it has been found to sleep
...
in some circumstances that don't sleep when not using pmap_prefer().
2000-07-26 16:24:38 +00:00
mycroft
93a8d5ffea
The ELF ABI declares that argc must fill an `argument slot'. Make it so.
...
For __sparc_v9__ only, do a hack to make old executables continue to work --
for now.
2000-07-26 15:42:09 +00:00
ragge
1d79c50d61
Oops, forgot a debug return.
2000-07-26 15:16:55 +00:00
pk
e668bc0310
Use the mk48txx driver for time-of-day clock access.
2000-07-26 13:39:36 +00:00
ragge
acb96154d0
More intelligent BI vector assignment.
2000-07-26 12:41:40 +00:00
pk
785d8d91b9
Remove unused <sys/dev/ic/intersil7170.h>
...
Remove unused `extern struct idprom idprom'
Pull in <dev/clock_subr.h>
2000-07-26 12:39:20 +00:00
ragge
97c8ae87cd
nmi files.
2000-07-26 12:37:14 +00:00
augustss
72afbf03cf
Run power hooks in reverse installation order when powering down and
...
installation order when powering up. This allows drivers in a hierarchy
to DTRT.
2000-07-26 12:24:52 +00:00
augustss
54fb7baa71
Fix CIRCLEQ_FOREACH so that it actually works. I guess noone has used this
...
macro either.
2000-07-26 12:19:40 +00:00
ragge
f9374fe05f
Add bi interrupt allocator. Should be somewhere else.
2000-07-26 11:55:55 +00:00
ragge
e50ddafc0b
Add badaddr() field.
2000-07-26 11:55:01 +00:00
ragge
550bb5fbb2
Make yeartonum/numtoyear visible.
2000-07-26 11:54:32 +00:00