Home | History | Annotate | Download | only in kern
History log of /src/sys/kern/uipc_accf.c
RevisionDateAuthorComments
 1.16  06-Dec-2024  riastradh sys/kern/sys_socket.c, uipc_*.c: Sprinkle SET_ERROR dtrace probes.

PR kern/58378: Kernel error code origination lacks dtrace probes
 1.15  06-Dec-2024  riastradh sys/kern/sys_socket.c, uipc_*.c: Nix trailing whitespace.

No functional change intended.
 1.14  06-Dec-2024  riastradh sys/kern/sys_socket.c, uipc_*.c: Sort includes.

No functional change intended.
 1.13  25-Feb-2014  pooka Ensure that the top level sysctl nodes (kern, vfs, net, ...) exist before
the sysctl link sets are processed, and remove redundancy.

Shaves >13kB off of an amd64 GENERIC, not to mention >1k duplicate
lines of code.
 1.12  21-Aug-2010  pgoyette branches: 1.12.8; 1.12.18; 1.12.22;
Update the rest of the kernel to conform to the module subsystem's new
locking protocol.
 1.11  13-Mar-2010  christos branches: 1.11.2;
call accept_filter_init int setopt so that don't use an uninitialized lock
from the setsockopt path.
 1.10  17-Sep-2009  pooka branches: 1.10.2;
Can't use CTLFLAG_PERMANENT here without providing a rollback log,
since accept filters aren't (necessarily) added during kernel boot
phase.

pointed out & tested by Geoff Wing
 1.9  16-Sep-2009  pooka Replace a large number of link set based sysctl node creations with
calls from subsystem constructors. Benefits both future kernel
modules and rump.

no change to sysctl nodes on i386/MONOLITHIC & build tested i386/ALL
 1.8  20-Nov-2008  ad branches: 1.8.6;
Autoload accept filter modules.
 1.7  12-Nov-2008  ad Remove LKMs and switch to the module framework, pass 1.

Proposed on tech-kern@.
 1.6  15-Oct-2008  ad branches: 1.6.2; 1.6.4;
Correction to previous.
 1.5  14-Oct-2008  ad Accept filters:

- Remove remaining #ifdef INET.
- Avoid holding locks so we don't need to do KM_NOSLEEP allocations.
- Use a rwlock to protect the accept filter list.
- Make it safe to unload accept filter modules.
- Minor KNF.
 1.4  11-Oct-2008  tls Address problems with accept filters noted by ad in his source-changes
mail: http://mail-index.netbsd.org/source-changes/2008/10/10/msg211109.html

* Scary-looking socket locking stubs (changed to KASSERT of locked)

* depends on INET inappropriately (though now you must add new
accept filter names to the uipc_accf.c line in conf/files if
you aren't using dataready or httpready)

* New code uses MALLOC/FREE -- changed to kmem_alloc/kmem_free;
could be pool_cache, these are all fixed-size allocations.

We need to verify that this works as expected with protocols with per-socket
locking, like PF_LOCAL. I'm a little concerned about the case where the
lock on the listen socket isn't the same lock as on the eventual connected
socket.
 1.3  27-Sep-2008  pooka branches: 1.3.2;
RCS Id polizei
 1.2  06-Aug-2008  plunky branches: 1.2.2;
Convert socket options code to use a sockopt structure
instead of laying everything into an mbuf.

approved by core
 1.1  04-Aug-2008  tls Add accept filters, ported from FreeBSD by Coyote Point Systems. Add inetd
support for specifying an accept filter for a service (mostly as a usage
example, but it can be handy for other things). Manual pages to follow
in a day or so.

OK core@.
 1.2.2.3  10-Oct-2008  skrll Sync with HEAD.
 1.2.2.2  18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.2.2.1  06-Aug-2008  wrstuden file uipc_accf.c was added on branch wrstuden-revivesa on 2008-09-18 04:31:44 +0000
 1.3.2.4  17-Jan-2009  mjf Sync with HEAD.
 1.3.2.3  05-Oct-2008  mjf Sync with HEAD.
 1.3.2.2  28-Sep-2008  mjf Sync with HEAD.
 1.3.2.1  27-Sep-2008  mjf file uipc_accf.c was added on branch mjf-devfs2 on 2008-09-28 10:40:54 +0000
 1.6.4.1  19-Jan-2009  skrll Sync with HEAD.
 1.6.2.3  13-Dec-2008  haad Update haad-dm branch to haad-dm-base2.
 1.6.2.2  19-Oct-2008  haad Sync with HEAD.
 1.6.2.1  15-Oct-2008  haad file uipc_accf.c was added on branch haad-dm on 2008-10-19 22:17:29 +0000
 1.8.6.5  09-Oct-2010  yamt sync with head
 1.8.6.4  11-Aug-2010  yamt sync with head.
 1.8.6.3  11-Mar-2010  yamt sync with head
 1.8.6.2  04-May-2009  yamt sync with head.
 1.8.6.1  20-Nov-2008  yamt file uipc_accf.c was added on branch yamt-nfs-mp on 2009-05-04 08:13:49 +0000
 1.10.2.2  22-Oct-2010  uebayasi Sync with HEAD (-D20101022).
 1.10.2.1  30-Apr-2010  uebayasi Sync with HEAD.
 1.11.2.1  05-Mar-2011  rmind sync with head
 1.12.22.1  18-May-2014  rmind sync with head
 1.12.18.1  20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.12.8.1  22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")

RSS XML Feed