<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test2/sys/kern/uipc_accf.c, branch releng/11.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F11.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test2/atom?h=releng%2F11.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/'/>
<updated>2014-07-26T19:27:34Z</updated>
<entry>
<title>The accept filter code is not specific to the FreeBSD IPv4 network stack,</title>
<updated>2014-07-26T19:27:34Z</updated>
<author>
<name>Marcel Moolenaar</name>
<email>marcel@FreeBSD.org</email>
</author>
<published>2014-07-26T19:27:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1e0a021e3dae7d1885a947b9c353d64ad4c27c04'/>
<id>urn:sha1:1e0a021e3dae7d1885a947b9c353d64ad4c27c04</id>
<content type='text'>
so it really should not be under "optional inet". The fact that uipc_accf.c
lives under kern/ lends some weight to making it a "standard" file.

Moving kern/uipc_accf.c from "optional inet" to "standard" eliminates the
need for #ifdef INET in kern/uipc_socket.c.

Also, this meant the net.inet.accf.unloadable sysctl needed to move, as
net.inet does not exist without networking compiled in (as it lives in
netinet/in_proto.c.) The new sysctl has been named net.accf.unloadable.

In order to support existing accept filter sysctls, the net.inet.accf node
has been added netinet/in_proto.c.

Submitted by:	Steve Kiernan &lt;stevek@juniper.net&gt;
Obtained from:	Juniper Networks, Inc.
</content>
</entry>
<entry>
<title>(S)LIST_HEAD_INITIALIZER takes a (S)LIST_HEAD as an argument.</title>
<updated>2009-12-28T22:56:30Z</updated>
<author>
<name>Antoine Brodin</name>
<email>antoine@FreeBSD.org</email>
</author>
<published>2009-12-28T22:56:30Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=13e403fdeadd26f9748ba83ea50ee271fbfc862a'/>
<id>urn:sha1:13e403fdeadd26f9748ba83ea50ee271fbfc862a</id>
<content type='text'>
Fix some wrong usages.
Note: this does not affect generated binaries as this argument is not used.

PR:		137213
Submitted by:	Eygene Ryabinkin (initial version)
MFC after:	1 month
</content>
</entry>
<entry>
<title>Retire the MALLOC and FREE macros.  They are an abomination unto style(9).</title>
<updated>2008-10-23T15:53:51Z</updated>
<author>
<name>Dag-Erling Smørgrav</name>
<email>des@FreeBSD.org</email>
</author>
<published>2008-10-23T15:53:51Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1ede983cc905643549d8cae56a9d0e28fc68375f'/>
<id>urn:sha1:1ede983cc905643549d8cae56a9d0e28fc68375f</id>
<content type='text'>
MFC after:	3 months
</content>
</entry>
<entry>
<title>o setsockopt(2) cannot remove accept filter. [1]</title>
<updated>2005-06-11T11:59:48Z</updated>
<author>
<name>Maxim Konovalov</name>
<email>maxim@FreeBSD.org</email>
</author>
<published>2005-06-11T11:59:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=922a5d9c2b1b2aef398492af343a38b86b5f01c7'/>
<id>urn:sha1:922a5d9c2b1b2aef398492af343a38b86b5f01c7</id>
<content type='text'>
o getsockopt(SO_ACCEPTFILTER) always returns success on listen socket
  even we didn't install accept filter on the socket.
o Fix these bugs and add regression tests for them.

Submitted by:	Igor Sysoev [1]
Reviewed by:	alfred
MFC after:	2 weeks
</content>
</entry>
<entry>
<title>Move the logic implementing retrieval of the SO_ACCEPTFILTER socket option</title>
<updated>2005-03-12T12:57:18Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2005-03-12T12:57:18Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=a59f81d263e5094a85febffb0cf4a5e874c238a3'/>
<id>urn:sha1:a59f81d263e5094a85febffb0cf4a5e874c238a3</id>
<content type='text'>
from uipc_socket.c to uipc_accf.c in do_getopt_accept_filter(), so that it
now matches do_setopt_accept_filter().  Slightly reformulate the logic to
match the optimistic allocation of storage for the argument in advance,
and slightly expand the coverage of the socket lock.
</content>
</entry>
<entry>
<title>Part two of post-SMPng cleanup of accept filter registration: perform all</title>
<updated>2005-03-12T12:27:47Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2005-03-12T12:27:47Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=92081a83448485450fc19bdce8f5c23449f29dd4'/>
<id>urn:sha1:92081a83448485450fc19bdce8f5c23449f29dd4</id>
<content type='text'>
allocation up front before grabbing the socket mutex and doing the
registration work.  The result is a lot cleaner.
</content>
</entry>
<entry>
<title>First step in simplifying accept filter socket option logic in the</title>
<updated>2005-03-11T21:37:45Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2005-03-11T21:37:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=64c238075f5e84c9a790683b46a711bdc9409107'/>
<id>urn:sha1:64c238075f5e84c9a790683b46a711bdc9409107</id>
<content type='text'>
post-SMPng world order.  Centralize handling of the socket option
clear case in do_setopt_accept_filter().
</content>
</entry>
<entry>
<title>Re-style do_setopt_accept_filter() to match uipc_accf.c style, and fix</title>
<updated>2005-02-18T19:01:22Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2005-02-18T19:01:22Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=11d06c4b782447d9510836cc74130fea543a8651'/>
<id>urn:sha1:11d06c4b782447d9510836cc74130fea543a8651</id>
<content type='text'>
one other style nit in the file.

MFC after:	3 days
</content>
</entry>
<entry>
<title>Move do_setopt_accept_filter() from uipc_socket.c to uipc_accf.c, where</title>
<updated>2005-02-18T18:54:42Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2005-02-18T18:54:42Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=78e436448fc5e2010261078307c55382d7307355'/>
<id>urn:sha1:78e436448fc5e2010261078307c55382d7307355</id>
<content type='text'>
the rest of the accept filter code currently lives.

MFC after:	3 days
</content>
</entry>
<entry>
<title>Minor style tweaks: line wrap comments and lines more consistently.</title>
<updated>2005-02-18T18:49:44Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2005-02-18T18:49:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test2/commit/?id=1ed716a1494b396708ab280c8f1032ea70d2f320'/>
<id>urn:sha1:1ed716a1494b396708ab280c8f1032ea70d2f320</id>
<content type='text'>
MFC after:	3 days
</content>
</entry>
</feed>
