| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
symlinks.
|
| |
|
|
|
|
| |
Approved by: bms(mentor)
|
|
|
|
|
|
|
|
|
|
| |
(NIC would claim to establish a link with an ad-hoc net but it couldn't
send/receive packets). It turns out that every time the checkforhang
handler was called by ndis_ticktask(), the driver would generate a new
media connect event. The NDIS spec says the checkforhang handler is
called "approximately every 2 seconds" but using exactly 2 seconds seems
too fast. Using 3 seconds makes it happy again, so we'll go with that
for now.
|
|
|
|
|
|
| |
implementation uses the direct virtual-to-physical mapping.
Discussed with: grehan
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fd_set and Sigaction structures. Use these for printing the arguments
to sigaction(), nanosleep(), select(), poll(), gettimeofday(),
clock_gettime(), recvfrom(), getitimer() and setitimer().
This is based on Dan's patch from the PR but I've hacked it for
style and some other issues. While Dan has checked this patch, any
goofs are probably my fault.
(The PR also contains support for the dual return values of pipe().
These will follow once I've ported that support to platforms other
than i386.)
PR: 52190
Submitted by: Dan Nelson <dnelson@allantgroup.com>
|
|
|
|
|
| |
PR: 52190
Submitted by: Dan Nelson <dnelson@allantgroup.com>
|
| |
|
| |
|
|
|
|
|
| |
it led to impossibly high values in the new vmspace, causing it to never
drop to 0 and be freed.
|
|
|
|
|
|
|
| |
to the build.
Should have done this ages ago: markm
Reminded above to do this: peter
|
| |
|
|
|
|
| |
scare users that the kernel won't run on MP systems.
|
|
|
|
|
|
|
| |
called and triggers (typically caused by sleeping with a non-sleepable
lock).
Reviewed by: jhb
|
|
|
|
| |
which is now no longer needed.
|
|
|
|
|
| |
This way we can take stock of the work to be done. boot -v will note those
interrupts that are MPSAFE.
|
|
|
|
|
|
| |
PR: docs/50391
Submitted by: root@edcsm.jussieu.fr
MFC after: 1 week
|
|
|
|
|
|
|
| |
PR: docs/45371
Submitted by: Mattias Pantzare <pantzer@ludd.luth.se>,
Matthew D. Fuller <fullermd@over-yonder.net>
MFC after: 2 days
|
|
|
|
| |
have broken APIC routing. This bug has been present since rev 1.33.
|
| |
|
| |
|
|
|
|
|
| |
_OSI, we can claim compatibility with MS products without claiming to BE
one. :-)
|
| |
|
|
|
|
| |
that checks to see if any devices are still in the devlist was reversed.
|
|
|
|
|
|
| |
extra entry for if_ndis_pci.c that depends on cardbus, just to cover
all the bases. (I don't think you can have cardbus without PCI, but
just in case...)
|
|
|
|
|
|
|
| |
merges, debug.mpsafenet will no longer be safe to use, and that it should
be turned off (which is the default). I will commit a follow-up message
to UPDATING (and post to freebsd-current) when it's safe to turn it on,
with a description of under what circumstances it is safe to use.
|
|
|
|
|
| |
of the ntp servers from ntp.conf is actually used. Remove pidfile since
ntpdate is not a daemon.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add gre_mtx to protect global softc list.
- Hold gre_mtx over various list operations (insert, delete).
- Centralize if_gre interface teardown in gre_destroy(), and call this
from modevent unload and gre_clone_destroy().
- Export gre_mtx to ip_gre.c, which walks the gre list to look up gre
interfaces during encapsulation. Add a wonking comment on how we need
some sort of drain/reference count mechanism to keep gre references
alive while in use and simultaneous destroy.
This commit does not lockdown softc data, which follows in a future
commit.
|
|
|
|
| |
Submitted by: ru
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Add gif_mtx, which protects globals.
- Hold gif_mtx around manipulation of gif_softc_list.
- Abstract gif destruction code into gif_destroy(), which tears down
a softc after it's been removed from the global list by either module
unload or clone destroy.
- Lock gif_called, even though we know gif_called is broken with reentrant
network processing.
- Document an event ordering problem in gif_set_tunnel() that will need
to be fixed.
gif_softc fields not locked down in this commit.
|
|
|
|
|
|
|
|
|
|
|
|
| |
NO_POSIX_COMPAT was added in 1996 as attempt to resolve POSIX regex
functions conflict for fixit floppy (they are both in libc and libgnuregex)
The way it done (simple excluding POSIX functions from compile) breaks
legitimate case when, say, some program from ports calls both POSIX
and GNU regex functions (it will call POSIX ones from libc and fails,
because header <regex.h> is from GNU).
Now our fixit floppy (and other crunched floppies, as I check) not
use libgnuregex, so the hack can be removed.
|
|
|
|
|
|
|
| |
processing with gif interfaces, to a global variable named "gif_called".
Add an annotation that this approach will not work with a reentrant
network stack, and that we should instead use packet tags to detect
excessive recursive processing.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
exactly the same as patch from the PR, which also exited if the
config file was missing. I didn't use Jeff's patch because I was
worried that some people might start inetd, create the config file
and then HUP inetd.
PR: 60806
Submitted by: Jeff Ito <jeffi@rcn.com>
MFC after: 2 weeks
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
implementation could be characterized as a hybrid of the amd64 and i386
implementations. Specifically, the direct virtual-to-physical mapping is
used if possible and sf_buf_alloc() is used if the direct map cannot.
|
| |
|
| |
|
|
|
|
| |
'struct ddpcb'.
|
|
|
|
| |
more easily mechanically distinguished from 'struct at_ifaddr'.
|
|
|
|
|
|
|
| |
if statements.
at_rmx gets a $FreeBSD$ out of the deal also (this code appears to be
unused).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to other files in netatalk:
Log:
Since I have my hands all over netatalk adding locking and restructuring
it, cinch the file's style closer to style(9) with regard to parenthesis:
s/( /(/g
s/ )/)/g
s/return(/return (/g
s/return 0/return (0)/
s/return 1/return (1)/
|
|
|
|
|
|
|
|
|
|
| |
it, cinch the file's style closer to style(9) with regard to parenthesis:
s/( /(/g
s/ )/)/g
s/return(/return (/g
s/return 0/return (0)/
s/return 1/return (1)/
|
| |
|
|
|
|
| |
MFC after: 3 days
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when it associates with a net. Because FreeBSD's kstack size is only
2 pages by default, this blows the stack and causes a double fault.
To deal with this, we now create all our kthreads with 8 stack pages.
Also, we now run all timer callouts in the ndis swi thread (since
they would otherwise run in the clock ithread, whose stack is too
small). It happens that the alloca() in this case was occuring within
the interrupt handler, which was already running in the ndis swi
thread, but I want to deal with the callouts too just to be extra
safe.
NOTE: this will only work if you update vm_machdep.c with the change
I just committed. If you don't include this fix, setting the number
of stack pages with kthread_create() has essentially no effect.
|