| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Only tun0 -> tun32767 may now be opened as struct ifnet's if_unit
is a short.
It's now possible to open /dev/tun and get a handle back for an available
tun device (use devname to find out what you got).
The implementation uses rman by popular demand (and against my judgement)
to track opened devices and uses the new dev_depends() to ensure that
all make_dev()d devices go away before the module is unloaded.
Reviewed by: phk
Notes:
svn path=/head/; revision=77589
|
|
|
|
|
|
|
| |
contained have been moved to i386/isa/icu.h and sys/interrupt.h.
Notes:
svn path=/head/; revision=77584
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- move the sysctl code to kern_intr.c
- do not use INTRCNT_COUNT, but rather eintrcnt - intrcnt to determine
the length of the intrcnt array
- move the declarations of intrnames, eintrnames, intrcnt and eintrcnt
from machine-dependent include files to sys/interrupt.h
- remove the hw.nintr sysctl, it is not needed.
- fix various style bugs
Requested by: bde
Reviewed by: bde (some time ago)
Notes:
svn path=/head/; revision=77582
|
|
|
|
|
|
|
| |
Approved by: mjacob
Notes:
svn path=/head/; revision=77581
|
|
|
|
|
|
|
|
|
| |
- msdos.ko -> msdosfs.ko
- mount_msdos(8) -> mount_msdosfs(8)
- "msdos" -> "msdosfs" compatibility glue in mount(8)
Notes:
svn path=/head/; revision=77577
|
|
|
|
| |
Notes:
svn path=/head/; revision=77575
|
|
|
|
|
|
|
|
|
|
|
|
| |
This closes a minor information leak which allows a remote observer to
determine the rate at which the machine is generating packets, since the
default behaviour is to increment a counter for each packet sent.
Reviewed by: -net
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=77574
|
|
|
|
| |
Notes:
svn path=/head/; revision=77572
|
|
|
|
|
|
|
| |
name. I didn't do repo magic because this is so new.
Notes:
svn path=/head/; revision=77569
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes a witness lock violation for nfssvc returning with locks
held.
Submitted by: Jean-Luc Richier <Jean-Luc.Richier@imag.fr>
PR: kern/27776
Notes:
svn path=/head/; revision=77563
|
|
|
|
| |
Notes:
svn path=/head/; revision=77558
|
|
|
|
| |
Notes:
svn path=/head/; revision=77556
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
setting the 'max packet size' register in window 3. This only
works for cards based on the cyclone or newer chipsets (i.e. it
won't work with the original 3c905/boomerang cards).
There is a trick which will work with the boomerang, which is to turn
on the 'large packets ok' bit in the MAC control register, however this
lets the chip accept any frame up to 4K in length, which is larger than
the mbuf cluster buffers we use to receive frames. If somebody sends us
such a frame and the chip DMAs it to us, it could write past the end
of the cluster buffer and clobber something.
PR: kern/27742
Notes:
svn path=/head/; revision=77548
|
|
|
|
|
|
|
|
|
| |
to <sys/param.h>, so it's available to src/sys/netinet/ip_input.c
MFC after: 1 week
Notes:
svn path=/head/; revision=77547
|
|
|
|
|
|
|
|
|
| |
200 to NMBCLUSTERS/4 to match the IPv4 case.
MFC after: 1 week
Notes:
svn path=/head/; revision=77546
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
A attacker sending a lot of bogus fragmented packets to the target
(with different IPv4 identification field - ip_id), may be able
to put the target machine into mbuf starvation state.
By setting a upper limit on the number of reassembly queues we
prevent this situation.
This upper limit is controlled by the new sysctl
net.inet.ip.maxfragpackets which defaults to NMBCLUSTERS/4
If you want old behaviour (no upper limit) set this sysctl
to a negative value.
If you don't want to accept any fragments (not recommended)
set the sysctl to 0 (zero)
Obtained from: NetBSD (partially)
MFC after: 1 week
Notes:
svn path=/head/; revision=77545
|
|
|
|
|
|
|
|
|
|
| |
to <sys/param.h>, so it's available to src/sys/netinet/ip_input.c,
and remove the now unneeded includes of "opt_param.h".
MFC after: 1 week
Notes:
svn path=/head/; revision=77544
|
|
|
|
|
|
|
|
|
|
| |
all alphas with devices behind ppb's. I'm working on a better solution now.
Note that all alphas that use per-platform interrupt mapping are broken
again (as they have been for several months)
Notes:
svn path=/head/; revision=77543
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
gigabit ethernet controller chip. This device is used on some
fiber optic gigE cards from SMC, D-Link and Addtron. Jumbograms and
TCP/IP checksum offload on receive are supported. Hardware VLAN
filtering is not, because it doesn't play well with our existing
VLAN code. Also add manual page.
There is a 4.x version of this driver available at
http://www.freebsd.org/~wpaul/Level1/4.x if anyone feels adventurous
and wants to test it. I still need to do performance testing and
tuning with this device.
(For my next trick, I will make the 3Com 3cR990 sit up and beg.)
Notes:
svn path=/head/; revision=77542
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
any response to our third SYN to work-around some broken
terminal servers (most of which have hopefully been retired)
that have bad VJ header compression code which trashes TCP
segments containing unknown-to-them TCP options.
PR: kern/1689
Submitted by: jesper
Reviewed by: wollman
MFC after: 2 weeks
Notes:
svn path=/head/; revision=77539
|
|
|
|
| |
Notes:
svn path=/head/; revision=77536
|
|
|
|
|
|
|
|
| |
but I'll be fleshing this out as I have time. This should mean we no
longer need to have an and wi pci attachments, but that's a ways off.
Notes:
svn path=/head/; revision=77535
|
|
|
|
|
|
|
|
|
| |
ufs/ffs/ffs_extern.h instead.
Requested by: bde
Notes:
svn path=/head/; revision=77509
|
|
|
|
|
|
|
| |
Submitted by: bde
Notes:
svn path=/head/; revision=77508
|
|
|
|
|
|
|
| |
Forgotten by: a Danish axe-wielder
Notes:
svn path=/head/; revision=77507
|
|
|
|
| |
Notes:
svn path=/head/; revision=77506
|
|
|
|
| |
Notes:
svn path=/head/; revision=77505
|
|
|
|
|
|
|
|
|
| |
this works on cs4630 chips, and should implement the clkrun hack for
thinkpads- this will display diagnostic messages when triggered until its
correctness is established.
Notes:
svn path=/head/; revision=77504
|
|
|
|
| |
Notes:
svn path=/head/; revision=77503
|
|
|
|
|
|
|
| |
conditional on #ifdef SMP.
Notes:
svn path=/head/; revision=77502
|
|
|
|
|
|
|
| |
Obtained From: Yamaha
Notes:
svn path=/head/; revision=77495
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
from cpu_switch(), curproc has been changed, but the sched_lock owner will
not be updated until we return to mi_switch(), thus we deadlock against
ourselves. As a workaround, push the acquire and release of sched_lock out
to the callers of set_user_ldt(). Note that we can't use a mtx_assert() in
set_user_ldt for the same reason.
Sleuting by: tmm
Tested by: tmm, dougb
Notes:
svn path=/head/; revision=77486
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
For FTP control connection, keep the CRLF end-of-line termination
status in there.
Fixed the bug when the first FTP command in a session was ignored.
PR: 24048
MFC after: 1 week
Notes:
svn path=/head/; revision=77485
|
|
|
|
| |
Notes:
svn path=/head/; revision=77483
|
|
|
|
|
|
|
| |
PR 26647
Notes:
svn path=/head/; revision=77476
|
|
|
|
| |
Notes:
svn path=/head/; revision=77474
|
|
|
|
| |
Notes:
svn path=/head/; revision=77469
|
|
|
|
| |
Notes:
svn path=/head/; revision=77468
|
|
|
|
|
|
|
|
|
| |
timeout fix and put proc.h into the right file.
Submitted by: nnd@mail.nsk.ru
Notes:
svn path=/head/; revision=77466
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* all members of msginfo from sysv_msg.c;
* msqids from sysv_msg.c;
* sema from sysv_sem.c; and
* shmsegs from sysv_shm.c;
These will be used by ipcs(1) in non-kvm mode.
Reviewed by: tmm
Notes:
svn path=/head/; revision=77461
|
|
|
|
| |
Notes:
svn path=/head/; revision=77455
|
|
|
|
|
|
|
| |
- Sort includes in a few places.
Notes:
svn path=/head/; revision=77448
|
|
|
|
|
|
|
| |
warning.
Notes:
svn path=/head/; revision=77445
|
|
|
|
| |
Notes:
svn path=/head/; revision=77444
|
|
|
|
|
|
|
|
|
|
| |
they can be used with cell operators like !.
As I did this, I noticed the whole CELL thing might have problems with
big endian architectures with sizeof(int)!=sizeof(void*).
Notes:
svn path=/head/; revision=77443
|
|
|
|
|
|
|
| |
lock.
Notes:
svn path=/head/; revision=77442
|
|
|
|
|
|
|
|
|
|
| |
UDP checksums too, not just IP. The chip only tells us if the checksum
is ok, it does not give us a copy of the partial checksum for later
processing. We have to deal with this the right way, but we can deal
with it.
Notes:
svn path=/head/; revision=77440
|
|
|
|
|
|
|
| |
CSUM_IP_CHECKED|CSUM_IP_VALID.
Notes:
svn path=/head/; revision=77438
|
|
|
|
| |
Notes:
svn path=/head/; revision=77437
|
|
|
|
| |
Notes:
svn path=/head/; revision=77435
|