| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
412: warning: long unsigned int format, unsigned int arg (arg 3)
418: warning: long unsigned int format, unsigned int arg (arg 3)
424: warning: long unsigned int format, unsigned int arg (arg 3)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
MFC'ed i due time. I can't test it under current right now because
netgraph seems to do unethical things with mutexes.
musycc:
Add status per channel.
Reduce printf chattyness
Keep error counters line if_mn does.
Increase descriptor count.
if_mn:
Support experimental unframed E1 lines.
These two drivers should share more code relating to framed channelized
TDM media in general (T1/E1/E3/T3, Sonet). Anyone interested email me.
|
|
|
|
| |
using the removed compatability register names. (this broke LINT)
|
|
|
|
|
|
| |
This is mostly cosmetic changes, (though I caught a bug or two while
makeing them)
Reviewed by: archie@freebsd.org
|
|
|
|
|
|
|
|
| |
This version is functional and is aproaching solid..
notice I said APROACHING. There are many node types I cannot test
I have tested: echo hole ppp socket vjc iface tee bpf async tty
The rest compile and "Look" right. More changes to follow.
DEBUGGING is enabled in this code to help if people have problems.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This is because calls with M_WAIT (now M_TRYWAIT) may not wait
forever when nothing is available for allocation, and may end up
returning NULL. Hopefully we now communicate more of the right thing
to developers and make it very clear that it's necessary to check whether
calls with M_(TRY)WAIT also resulted in a failed allocation.
M_TRYWAIT basically means "try harder, block if necessary, but don't
necessarily wait forever." The time spent blocking is tunable with
the kern.ipc.mbuf_wait sysctl.
M_WAIT is now deprecated but still defined for the next little while.
* Fix a typo in a comment in mbuf.h
* Fix some code that was actually passing the mbuf subsystem's M_WAIT to
malloc(). Made it pass M_WAITOK instead. If we were ever to redefine the
value of the M_WAIT flag, this could have became a big problem.
|
|
|
|
|
|
|
|
|
| |
format version number. (userland programs should not need to be
recompiled when the netgraph kernel internal ABI is changed.
Also fix modules that don;t handle the fact that a caller may not supply
a return message pointer. (benign at the moment because the calling code
checks, but that will change)
|
|
|
|
|
|
|
| |
This fixes the possibility of a NULL pointer dereference in the case where
there are no mbufs or mbuf clusters left.
Approved by: phk
|
|
|
|
|
| |
This was still sitting in my commit tree.
Luckily I always compare my before and after trees...
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This clears out my outstanding netgraph changes.
There is a netgraph change of design in the offing and this is to some
extent a superset of soem of the new functionality and some of the old
functionality that may be removed.
This code works as before, but allows some new features that I want to
work with and evaluate. It is the basis for a version of netgraph
with integral locking for SMP use.
This is running on my test machine with no new problems :-)
|
|
|
|
|
| |
Submitted by: josh@zipperup.org
Submitted by: Robert Drehmel <robd@gmx.net>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
to support future work in flow-control and 'packet reject/replace'
processing modes.
reviewed by: phk, archie
|
|
|
|
| |
Remove ~60 unneeded #include <sys/malloc.h>
|
|
|
|
|
|
| |
them.
Pointed out by: bde
|
|
|
|
|
| |
Remove debugging printfs.
Now compatible with ports/net/mpd-netgraph
|
|
|
|
| |
have the right compatibility shims enabled. ISA drivers to follow later.
|
|
|
|
| |
(And try to make it first post-freeze commit :-)
|
|
|
|
|
| |
Report xmit queue length.
Remove old magic and clean up some printfs.
|
| |
|
|
|
|
| |
Approved by: jkh
|
|
|
|
|
|
| |
is an application space macro and the applications are supposed to be free
to use it as they please (but cannot). This is consistant with the other
BSD's who made this change quite some time ago. More commits to come.
|
|
|
|
| |
in rev.1.4.
|
|
|
|
|
|
| |
commands.
Discussed with: phk (driver author)
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
parameter a char ** instead of a const char **. This make these
kernel routines consistent with the corresponding libc userland
routines.
Which is actually 'correct' is debatable, but consistency and
following the spec was deemed more important in this case.
Reviewed by (in concept): phk, bde
|
|
|
|
| |
Spotted by: julian
|
| |
|
|
This is a netgraph driver.
|