History log of /freebsd/sys/netgraph/ng_base.c (Results 101 – 125 of 1868)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: vendor/file/4.23-r1.46
# 942fe01f 01-Feb-2008 Dmitry Morozovsky <marck@FreeBSD.org>

Reword recent comment a bit.


# d4529f98 01-Feb-2008 Alexander Motin <mav@FreeBSD.org>

Add comments about stack protection mechanism.


# e72a98f4 31-Jan-2008 Alexander Motin <mav@FreeBSD.org>

Some code reformat.


# 81a253a4 31-Jan-2008 Alexander Motin <mav@FreeBSD.org>

Implement stack protection based on GET_STACK_USAGE() macro.
This fixes system panics possible with complicated netgraph setups
and allows to avoid unneded extra queueing for stack unwrapping.


Revision tags: vendor/binutils/2.15.cvsrev_1_51, release/6.3.0_cvs, release/6.3.0, vendor/file/4.23, vendor/misc-GNU/cvs/1.11.22, vendor/tzdata/tzdata2007k, vendor/ncurses/5.6-20071222
# 3de213cc 25-Dec-2007 Robert Watson <rwatson@FreeBSD.org>

Add a new 'why' argument to kdb_enter(), and a set of constants to use
for that argument. This will allow DDB to detect the broad category of
reason why the debugger has been entered, which it can u

Add a new 'why' argument to kdb_enter(), and a set of constants to use
for that argument. This will allow DDB to detect the broad category of
reason why the debugger has been entered, which it can use for the
purposes of deciding which DDB script to run.

Assign approximate why values to all current consumers of the
kdb_enter() interface.

show more ...


Revision tags: vendor/openpam/HYDRANGEA, vendor/amd/6.1.5, vendor/tzdata/tzdata2007j, vendor/resolver/9.4.2, vendor/bind9/9.4.2, vendor/less/v416, vendor/less/v415
# b332b91f 14-Nov-2007 Gleb Smirnoff <glebius@FreeBSD.org>

- Merge all the ng_send_fn2* functions into one - ng_send_fn2(),
removing some copy&pasted code.
- Reduce copy and paste in ng_apply_item().
- Resurrect ng_send_fn() as a valid symbol, not a define

- Merge all the ng_send_fn2* functions into one - ng_send_fn2(),
removing some copy&pasted code.
- Reduce copy and paste in ng_apply_item().
- Resurrect ng_send_fn() as a valid symbol, not a define.

Reviewed by: mav, julian

show more ...


Revision tags: vendor/libreadline/5.2p3_p7, vendor/sendmail/8.14.2, vendor/tzdata/tzdata2007i, vendor/openbsm/1.0
# eb4687d2 28-Oct-2007 Alexander Motin <mav@FreeBSD.org>

Minor debug message fix.


Revision tags: vendor/one-true-awk/20071023
# 857304e6 19-Oct-2007 Ruslan Ermilov <ru@FreeBSD.org>

Fix build with NETGRAPH_DEBUG.


# e088dd4c 19-Oct-2007 Alexander Motin <mav@FreeBSD.org>

Implement new apply callback mechanism to handle item forwarding.
When item forwarded refence counter is incremented, when item
processed, counter decremented. When counter reaches zero,
apply handle

Implement new apply callback mechanism to handle item forwarding.
When item forwarded refence counter is incremented, when item
processed, counter decremented. When counter reaches zero,
apply handler is getting called.
Now it allows to report right connect() call status from user-level
at the right time.

show more ...


Revision tags: vendor/ipfilter/4.1.28, vendor/ipfilter-sys/4-1-28, vendor/openssl/0.9.8-20071018, vendor/tcpdump/3.9.8, vendor/libpcap/0.9.8, vendor/tcsh/6.15a, vendor/less/v409, vendor/tzdata/tzdata2007h, vendor/less/v408, vendor/tzdata/tzdata2007g
# 3fb87c24 18-Aug-2007 Alexander Motin <mav@FreeBSD.org>

Add ng_send_fn() error handeling inside ng_con_nodes().
Without it some errors may left unnoticed and unhandeled
that will lead to hooks left in half-connected state.

Reviewed by: julian@
Approved b

Add ng_send_fn() error handeling inside ng_con_nodes().
Without it some errors may left unnoticed and unhandeled
that will lead to hooks left in half-connected state.

Reviewed by: julian@
Approved by: re (kensmith), glebius (mentor)

show more ...


Revision tags: vendor/gcc/4.2.1-20070718-SVN126787, vendor/bind9/9.4.1p1, vendor/openbsm/1.0-ALPHA-15, vendor/wpa_supplicant/0.5.8, vendor/hostapd/0.5.8, vendor/pf/4.1, vendor/pf-sys/4.1, vendor/less/v406, vendor/misc-GNU/diff/2.8.7, vendor/bind9/9.4.1, vendor/one-true-awk/20070501
# 041b706b 04-Jun-2007 David Malone <dwmalone@FreeBSD.org>

Despite several examples in the kernel, the third argument of
sysctl_handle_int is not sizeof the int type you want to export.
The type must always be an int or an unsigned int.

Remove the instances

Despite several examples in the kernel, the third argument of
sysctl_handle_int is not sizeof the int type you want to export.
The type must always be an int or an unsigned int.

Remove the instances where a sizeof(variable) is passed to stop
people accidently cut and pasting these examples.

In a few places this was sysctl_handle_int was being used on 64 bit
types, which would truncate the value to be exported. In these
cases use sysctl_handle_quad to export them and change the format
to Q so that sysctl(1) can still print them.

show more ...


Revision tags: vendor/ipfilter/4.1.23, vendor/ipfilter-sys/4-1-23, vendor/less/v403, vendor/resolver/9.4.1
# 27757487 01-Jun-2007 Gleb Smirnoff <glebius@FreeBSD.org>

Partially back out rev. 1.127, to restore broken functionality. This
should be redesigned, but better enter RELENG_7 with a working ngctl(8).

Agreed by: julian


# e1e8f51b 27-May-2007 Robert Watson <rwatson@FreeBSD.org>

Universally adopt most conventional spelling of acquire.


Revision tags: vendor/file/4.21, vendor/file/4.19, vendor/tzdata/tzdata2007f, vendor/gcc/4.2.0-20070514-SVN124707, vendor/openbsm/1.0-ALPHA-14, vendor/libreadline/5.2p2, vendor/sendmail/8.14.1, vendor/binutils/2.15.20050217, vendor/tcpdump/3.9.1a, vendor/tcsh/6.15p1
# 4abab3d5 31-Mar-2007 Wojciech A. Koszek <wkoszek@FreeBSD.org>

We don't need spinning locks here. Change them to the adaptive mutexes. This
change should bring no performance decrease, as it did not in my tests.

Reviewed by: julian, glebius
Approved by: cognet

We don't need spinning locks here. Change them to the adaptive mutexes. This
change should bring no performance decrease, as it did not in my tests.

Reviewed by: julian, glebius
Approved by: cognet (mentor)

show more ...


# 2c8dda8d 30-Mar-2007 Wojciech A. Koszek <wkoszek@FreeBSD.org>

Instead of direct manipulation on queue and worklist mutexes, bring macros
for doing this job. This change will make it easy to migrate from using
spinning locks to adaptive ones.

Reviewed by: glebi

Instead of direct manipulation on queue and worklist mutexes, bring macros
for doing this job. This change will make it easy to migrate from using
spinning locks to adaptive ones.

Reviewed by: glebius, julian
Approved by: cognet (mentor)

show more ...


Revision tags: vendor/bzip2/1.0.4, vendor/netcat/4.1, vendor/acpica/20070320
# 64efc707 18-Mar-2007 Robert Watson <rwatson@FreeBSD.org>

Prefer more traditional spellings of some words in comments.


Revision tags: vendor/openssl/0.9.8-20070315, vendor/openssl/0.9.8e, vendor/tcsh/6.15
# a54a69d7 10-Mar-2007 Julian Elischer <julian@FreeBSD.org>

oops committed the wrong patch.
try this one..


# 262dfd7f 09-Mar-2007 Julian Elischer <julian@FreeBSD.org>

ng_apply_item should be void. It is called from the interrupt source or
from whoever has dequeued the item from the queue. Generally they have
no interest in the result, and even if it is called by t

ng_apply_item should be void. It is called from the interrupt source or
from whoever has dequeued the item from the queue. Generally they have
no interest in the result, and even if it is called by the queuer, it
should still pretend that it was queued. The queuer should be assuming
that the call was queued and giving them the false confidence that they
are getting status leads to hard to find bugs.

Make it a void and remove all the code that tried to return status through it.

show more ...


Revision tags: vendor/bind9/9.3.4, vendor/ncurses/5.6-20061217, release/6.2.0_cvs, release/6.2.0, vendor/gdtoa/20050923, vendor/libreadline/5.2p1, vendor/libreadline/5.2, vendor/resolver/9.3.4, vendor/resolver/9.3.3, vendor/ath/0.9.20.3, vendor/bind9/9.3.3, vendor/pppd/2.3.11, vendor/openssh/4.5p1, vendor/bind9/9.3.2p2, vendor/resolver/9.3.3RC2, vendor/tzdata/tzdata2006n
# cf3254aa 11-Oct-2006 Gleb Smirnoff <glebius@FreeBSD.org>

Do not leak hooks in ng_bypass().

Submitted by: Alexander Motin <mav alkar.net>


Revision tags: vendor/openssl/0.9.8-20060929, vendor/openssl/0.9.8d, vendor/openssh/4.4p1, vendor/openbsm/1.0-ALPHA-12, vendor/openbsm/1.0-ALPHA-11, vendor/bind9/9.3.2p1, vendor/tcpdump/3.9.4, vendor/libpcap/0.9.4, vendor/openbsm/1.0-ALPHA-10, vendor/openbsm/1.0-ALPHA9-kwikfix_backout, vendor/NetBSD/lukemftpd/20060831, vendor/openbsm/1.0-ALPHA9-kwikfix, vendor/gcc/3.4.6-20060825-SVN116475, vendor/openbsm/1.0-ALPHA-9, vendor/gdb/6.1.1, vendor/less/v394, vendor/sendmail/8.13.8, vendor/ipfilter/4.1.13, vendor/ipfilter-sys/4-1-13, vendor/openssl/0.9.8b, vendor/libuwx/BETA10, vendor/openbsm/1.0-ALPHA-7, vendor/OpenBSD/cvs_20060501, vendor/file/4.17a, vendor/file/4.17, vendor/sendmail/8.13.7, vendor/binutils/2.15.NOTHING
# b96baf0a 07-Jun-2006 Gleb Smirnoff <glebius@FreeBSD.org>

When counting nodes second time, use the same criteria as for
the first time.

PR: kern/98529
Submitted by: Michael Heyman


# 27e21659 06-Jun-2006 Gleb Smirnoff <glebius@FreeBSD.org>

Use NET_CALLOUT_MPSAFE for netgraph callout initializer.


Revision tags: vendor/ath/0.9.17.2, vendor/openbsm/1.0-ALPHA-6
# b1e30c4c 02-Jun-2006 John Baldwin <jhb@FreeBSD.org>

Conditionally acquire Giant in netgraph callouts to honor mpsafenet=0.

Reported by: sekes <gexlie at gmail dot com>
MFC after: 1 week


Revision tags: release/5.5.0_cvs, release/5.5.0, vendor/netcat/3.9, vendor/resolver/9.3.2, vendor/tzdata/tzdata2006g, release/6.1.0_cvs, release/6.1.0, vendor/libreadline/5.1p1-p4, vendor/libreadline/5.1, vendor/zlib/1.2.3, vendor/openssh/4.3p1, vendor/sendmail/8.13.6, vendor/csup/20060313, vendor/hostapd/0.4.8, vendor/wpa_supplicant/0.4.8, vendor/openbsm/1.0-ALPHA-5, vendor/csup/20060303, vendor/csup/20060302, vendor/bsnmp/1.12, vendor/tcsh/6.14, vendor/openbsm/1.0-ALPHA-4, vendor/ath/0.9.16.16, vendor/openbsm/1.0-ALPHA-3, vendor/openbsm/1.0-ALPHA-2, vendor/openbsm/1.0-ALPHA-1
# 2955ee18 12-Jan-2006 Gleb Smirnoff <glebius@FreeBSD.org>

- Print also node ID in ktr(9) messages. [1]
- Use fixed length for function name, making ktrdump(8) output
easier to read.

Suggested by: julian [1]


# 22b28628 12-Jan-2006 Gleb Smirnoff <glebius@FreeBSD.org>

Remove old debugging leftover.

Reviewed by: julian


# 1be0418c 12-Jan-2006 Gleb Smirnoff <glebius@FreeBSD.org>

Fix wording in last commit.

Submitted by: julian


12345678910>>...75