Bill Paul
a0067d7b89
Attempt to fix a problem with receiving packets on USB ethernet interfaces.
...
Packets are received inside USB bulk transfer callbacks, which run at
splusb() (actually splbio()). The packet input queues are meant to be
manipulated at splimp(). However the locking apparently breaks down under
certain circumstances and the input queues can get trampled.
There's a similar problem with if_ppp, which is driven by hardware/tty
interrupts from the serial driver, but which must also manipulate the
packet input queues at splimp(). The fix there is to use a netisr, and
that's the fix I used here. (I can hear you groaning back there. Hush up.)
The usb_ethersubr module maintains a single queue of its own. When a
packet is received in the USB callback routine, it's placed on this
queue with usb_ether_input(). This routine also schedules a soft net
interrupt with schednetisr(). The ISR routine then runs later, at
splnet, outside of the USB callback/interrupt context, and passes the
packet to ether_input(), hopefully in a safe manner.
The reason this is implemented as a separate module is that there are
a limited number of NETISRs that we can use, and snarfing one up for
each driver that needs it is wasteful (there will be three once I get
the CATC driver done). It also reduces code duplication to a certain
small extent. Unfortunately, it also needs to be linked in with the
usb.ko module in order for the USB ethernet drivers to share it.
Also removed some uneeded includes from if_aue.c and if_kue.c
Fix suggested by: peter
Not rejected as a hairbrained idea by: n_hibma
2000-01-10 23:12:54 +00:00
Nick Hibma
38e144ec2b
Don't fail if less then MAXDEV /dev/usb\d+ entries exist.
2000-01-10 22:35:33 +00:00
Nick Hibma
c37cedc57d
Add an entry for dhclient and the USB ethernet adapters.
2000-01-10 22:34:36 +00:00
Nick Hibma
3a08f9ce41
Add an extra debugging message.
2000-01-10 22:33:43 +00:00
Nick Hibma
57d56d6643
Add Sun keyboard and NetChip
2000-01-10 22:31:01 +00:00
Marcel Moolenaar
0484ef81d9
Update syscalls to Linux kernel 2.3.38. These syscalls are
...
implemented as dummies to ease problem solving.
2000-01-10 22:19:06 +00:00
Marcel Moolenaar
20ebea30eb
Update the syscalls to Linux kernel 2.3.38.
2000-01-10 22:16:35 +00:00
Archie Cobbs
4a415d50e9
Fix 'make world' breakage caused by missing comment character.
2000-01-10 21:44:28 +00:00
Kris Kennaway
af98c2e2cf
malloc more space for temp file name
...
Noticed by: marcel
2000-01-10 20:26:24 +00:00
Daniel Baker
dcca9856c6
Include a note below the example qmail entry that mentions that inetd is
...
no longer the correct way to have qmail handle incoming qmail smtp
connections. Also provide a url to the correct method.
2000-01-10 20:02:28 +00:00
Archie Cobbs
0bd38143fa
Add a comment to hopefully prevent more bugs like kern/8596.
2000-01-10 19:34:40 +00:00
Ruslan Ermilov
5db1e34ea4
MGETHDR() does not initialize m_pkthdr.rcvif, do it here.
...
This fixes page fault panic observed when diverting packets
with IP options (e.g. ping -R remoteIP over natd).
PR: kern/8596, kern/11199
2000-01-10 18:46:05 +00:00
Warner Losh
968f82b738
Use GENERIC for both pccard and non-pccard disks now that GENERIC is
...
(or should be) everything that PCCARD is.
2000-01-10 16:27:32 +00:00
Peter Wemm
d62b57c22f
Sigh. RFC2038 and bind 8.2.2 have a slight variation of interpretation
...
of the SOA 'minimum' field. Now it's necessary to define $TTL seperately
to shut it up. Bind does reasonable things by default but it's annoying
still.
PR: 15834
Submitted by: Daniel Lewart <d-lewart@uiuc.edu>
2000-01-10 15:31:40 +00:00
Peter Wemm
aa5344b7d7
Fix the use of an uninitialized variable in the previous commit.
...
Also, in addition to the previous log message, the last change had a fix
for the case where where f.mntfromname is a relative path like da0a.
Submitted by: bde
2000-01-10 14:20:53 +00:00
Alexey Zelkin
3ef3fac74f
Add items for pop3 and imap
...
PR: conf/14714
Submitted by: Ronald F. Guilmette <rfg@monkeys.com>
2000-01-10 14:08:30 +00:00
Marcel Moolenaar
759eb4613e
Return Linux kernel version 2.2.12 by default. This is in line
...
with linux_base-6.1.
2000-01-10 13:09:08 +00:00
Kazutaka YOKOTA
689e7081eb
Added PCIR_BIOS (0x30).
2000-01-10 12:53:19 +00:00
Alexey Zelkin
0c39ec0311
Add `.Nm rrestore' to NAME section.
2000-01-10 12:27:33 +00:00
Alexey Zelkin
08ad04ce42
Add .Nm fastboot' and
.Nm fasthalt' to NAME section.
2000-01-10 12:24:47 +00:00
Poul-Henning Kamp
200988017c
remove check now done in vn_isdisk().
2000-01-10 12:24:36 +00:00
Poul-Henning Kamp
d685023e68
Also handle zero return from dscheck().
...
PR: 15956
2000-01-10 12:21:39 +00:00
Alexey Zelkin
daa40efd8c
Add `.Nm red' to NAME section.
2000-01-10 12:20:30 +00:00
Alexey Zelkin
07a48f4bcc
Add `.Nm rdump' to NAME section.
2000-01-10 12:18:10 +00:00
Alexey Zelkin
a8abed9426
Install html files to /usr/share/doc/ncurses/
2000-01-10 12:12:51 +00:00
Alexey Zelkin
7acf45ca1e
Create /usr/share/doc/ncurses (place for html files from ncurses dist)
2000-01-10 12:11:51 +00:00
Poul-Henning Kamp
86807e1622
Remove controller miibus, there already were a device miibus.
2000-01-10 12:06:32 +00:00
Poul-Henning Kamp
ba4ad1fcea
Give vn_isdisk() a second argument where it can return a suitable errno.
...
Suggested by: bde
2000-01-10 12:04:27 +00:00
Alexey Zelkin
54294f4494
Install contents of the TESTS subdirectory to /usr/share/examples/libdialog
2000-01-10 12:04:18 +00:00
Alexey Zelkin
a54f697602
Create /usr/share/examples/libdialog (examples of dialog(3) usage)
2000-01-10 12:01:27 +00:00
Alexey Zelkin
52a7c4d030
Remove -lncurses and -lmytinfo from LDFLAGS
2000-01-10 11:54:55 +00:00
Alexey Zelkin
c11c0da371
Cleanup warnings.
2000-01-10 11:52:10 +00:00
Alexey Zelkin
bd186dee63
Fix typo: MAINAINER -> MAINTAINER
2000-01-10 11:38:51 +00:00
Alfred Perlstein
a9dd30b96b
revision 1.40 backed out the removal of PCATCH in a tsleep allowing
...
an infinite loop if a signal is delivered here.
remove it again, this still ought to be revisited as the error should
probably be returned.
2000-01-10 10:24:47 +00:00
Kris Kennaway
afb5459b5d
10 X's for mktemp(). This seems to be free from race conditions.
2000-01-10 09:33:37 +00:00
Alexey Zelkin
d5083ac4a1
Completely reconstruct page. Make it mdoc(7) style compatible also :)
...
Page still needs some work about english refinements and some actualization.
2000-01-10 09:29:21 +00:00
Kris Kennaway
aaae3130c9
10 X's for mkstemp(), and don't redefine _PATH_TMP
2000-01-10 09:25:32 +00:00
Alexey Zelkin
ab6b0e3e64
Activate doc/ subdir
2000-01-10 09:20:27 +00:00
Alexey Zelkin
8a3b8e2afa
Install ntp html docs as /usr/share/doc/ntp
2000-01-10 09:20:03 +00:00
Alexey Zelkin
73bac37e75
Create doc dir for ntp (/usr/share/doc/ntp)
2000-01-10 09:18:02 +00:00
Kris Kennaway
4f38e89827
10 X's in mkstemp().
2000-01-10 09:17:46 +00:00
Alexey Zelkin
bff593145a
Install additional documentation:
...
contrib/bind/doc/{html,misc} as /usr/share/doc/bind/{html,misc}
Install additional manpages:
. named.conf.5
. nsupdate.8
. named-bootconf.8
2000-01-10 09:05:30 +00:00
Alexey Zelkin
fabf0101ce
Create dirs for bind's additional documentation:
...
/usr/share/doc/bind/{html,misc}
2000-01-10 08:58:00 +00:00
Kris Kennaway
cb358f5cfb
Use X x X's in mkstemp().
2000-01-10 08:56:01 +00:00
Alexey Zelkin
0b59cdbe84
install contrib/bc/Examples as /usr/share/examples/bc
2000-01-10 08:55:02 +00:00
Alexey Zelkin
dbc5f306f8
add /usr/share/examples/bc
2000-01-10 08:54:24 +00:00
Kris Kennaway
757219ec43
Feed mkstemp() some more X's to keep it safe.
2000-01-10 08:54:09 +00:00
Kazutaka YOKOTA
56f5e27c4b
Obtain the initial key repeat rate setting via BIOS in i386 if
...
possible.
2000-01-10 08:52:32 +00:00
Kazutaka YOKOTA
934d11e395
Add some keyboard IDs.
2000-01-10 08:50:43 +00:00
Kazutaka YOKOTA
4d00f04203
Rework the algorithm to detect MDA/CGA/EGA/VGA cards, so that
...
the vga driver won't be fooled to believe it has a CGA card when
in fact it is a VGA card.
2000-01-10 08:49:49 +00:00