wpaul
cf16a7efdb
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
n_hibma
6ee166cb62
Don't fail if less then MAXDEV /dev/usb\d+ entries exist.
2000-01-10 22:35:33 +00:00
n_hibma
35a61f699e
Add an entry for dhclient and the USB ethernet adapters.
2000-01-10 22:34:36 +00:00
n_hibma
4f552c607e
Add an extra debugging message.
2000-01-10 22:33:43 +00:00
n_hibma
1f5f1389c1
Add Sun keyboard and NetChip
2000-01-10 22:31:01 +00:00
marcel
92c098293e
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
3814a8bd83
Update the syscalls to Linux kernel 2.3.38.
2000-01-10 22:16:35 +00:00
archie
3fecca5734
Fix 'make world' breakage caused by missing comment character.
2000-01-10 21:44:28 +00:00
kris
98f787026a
malloc more space for temp file name
...
Noticed by: marcel
2000-01-10 20:26:24 +00:00
dbaker
adefa8db94
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
61829ec554
Add a comment to hopefully prevent more bugs like kern/8596.
2000-01-10 19:34:40 +00:00
ru
9eb1ed4d64
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
imp
59b416572e
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
08b92debde
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
c1ef93f5ca
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
phantom
67b117eb9d
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
efb67858cd
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
yokota
847df92358
Added PCIR_BIOS (0x30).
2000-01-10 12:53:19 +00:00
phantom
f8fa9c2202
Add `.Nm rrestore' to NAME section.
2000-01-10 12:27:33 +00:00
phantom
11e2b2d434
Add .Nm fastboot' and
.Nm fasthalt' to NAME section.
2000-01-10 12:24:47 +00:00
phk
0c41ecfa99
remove check now done in vn_isdisk().
2000-01-10 12:24:36 +00:00
phk
8eb5bbb861
Also handle zero return from dscheck().
...
PR: 15956
2000-01-10 12:21:39 +00:00
phantom
21f8ce7480
Add `.Nm red' to NAME section.
2000-01-10 12:20:30 +00:00
phantom
007e0ea746
Add `.Nm rdump' to NAME section.
2000-01-10 12:18:10 +00:00
phantom
12408f1416
Install html files to /usr/share/doc/ncurses/
2000-01-10 12:12:51 +00:00
phantom
336ede38cc
Create /usr/share/doc/ncurses (place for html files from ncurses dist)
2000-01-10 12:11:51 +00:00
phk
8dbfb233e4
Remove controller miibus, there already were a device miibus.
2000-01-10 12:06:32 +00:00
phk
ae0c1ec8f7
Give vn_isdisk() a second argument where it can return a suitable errno.
...
Suggested by: bde
2000-01-10 12:04:27 +00:00
phantom
5a624ba378
Install contents of the TESTS subdirectory to /usr/share/examples/libdialog
2000-01-10 12:04:18 +00:00
phantom
0482dfee37
Create /usr/share/examples/libdialog (examples of dialog(3) usage)
2000-01-10 12:01:27 +00:00
phantom
db0722c827
Remove -lncurses and -lmytinfo from LDFLAGS
2000-01-10 11:54:55 +00:00
phantom
9705bf46f9
Cleanup warnings.
2000-01-10 11:52:10 +00:00
phantom
75e1a7fe31
Fix typo: MAINAINER -> MAINTAINER
2000-01-10 11:38:51 +00:00
alfred
c638b2b362
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
a6c95ea747
10 X's for mktemp(). This seems to be free from race conditions.
2000-01-10 09:33:37 +00:00
phantom
073bba6f6b
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
ac11ce63fd
10 X's for mkstemp(), and don't redefine _PATH_TMP
2000-01-10 09:25:32 +00:00
phantom
4581ccb36d
Activate doc/ subdir
2000-01-10 09:20:27 +00:00
phantom
ef41e876ea
Install ntp html docs as /usr/share/doc/ntp
2000-01-10 09:20:03 +00:00
phantom
f09d6cc64d
Create doc dir for ntp (/usr/share/doc/ntp)
2000-01-10 09:18:02 +00:00
kris
e5b1a8eb3e
10 X's in mkstemp().
2000-01-10 09:17:46 +00:00
phantom
3189df3961
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
phantom
7600d97af8
Create dirs for bind's additional documentation:
...
/usr/share/doc/bind/{html,misc}
2000-01-10 08:58:00 +00:00
kris
3b6a5fa38a
Use X x X's in mkstemp().
2000-01-10 08:56:01 +00:00
phantom
27ab1d8799
install contrib/bc/Examples as /usr/share/examples/bc
2000-01-10 08:55:02 +00:00
phantom
6a1ee28fe0
add /usr/share/examples/bc
2000-01-10 08:54:24 +00:00
kris
5cc62bc93f
Feed mkstemp() some more X's to keep it safe.
2000-01-10 08:54:09 +00:00
yokota
cb9328b9a1
Obtain the initial key repeat rate setting via BIOS in i386 if
...
possible.
2000-01-10 08:52:32 +00:00
yokota
828713d689
Add some keyboard IDs.
2000-01-10 08:50:43 +00:00
yokota
fb454a04bb
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