<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/netgraph, branch releng/5.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F5.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F5.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2004-10-21T09:30:48Z</updated>
<entry>
<title>Merge kern_descrip.c:1.246, uipc_socket.c:1.214, uipc_usrreq.c:1.141,</title>
<updated>2004-10-21T09:30:48Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2004-10-21T09:30:48Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=689a28d6610af4c680f8bd5d9c5be33811a50754'/>
<id>urn:sha1:689a28d6610af4c680f8bd5d9c5be33811a50754</id>
<content type='text'>
raw_cb.c:1.30, raw_usrreq.c:1.35, ddp_pcb.c:1.45, atm_socket.c:1.21,
ng_btsocket_hci_raw.c:1.16, ng_btsocket_l2cap.c:1.14,
ng_btsocket_l2cap_raw.c:1.13, ng_btsocket_rfcomm.c:1.13, in_pcb.c:1.156,
tcp_subr.c:1.205, in6_pcb.c:1.61, ipx_pcb.c:1.29, ipx_usrreq.c:1.41,
natm.c:1.35, socketvar.h:1.135 from HEAD to RELENG_5_3:

  Push acquisition of the accept mutex out of sofree() into the caller
  (sorele()/sotryfree()):

  - This permits the caller to acquire the accept mutex before the socket
    mutex, avoiding sofree() having to drop the socket mutex and re-order,
    which could lead to races permitting more than one thread to enter
    sofree() after a socket is ready to be free'd.

  - This also covers clearing of the so_pcb weak socket reference from
    the protocol to the socket, preventing races in clearing and
    evaluation of the reference such that sofree() might be called more
    than once on the same socket.

  This appears to close a race I was able to easily trigger by repeatedly
  opening and resetting TCP connections to a host, in which the
  tcp_close() code called as a result of the RST raced with the close()
  of the accepted socket in the user process resulting in simultaneous
  attempts to de-allocate the same socket.  The new locking increases
  the overhead for operations that may potentially free the socket, so we
  will want to revise the synchronization strategy here as we normalize
  the reference counting model for sockets.  The use of the accept mutex
  in freeing of sockets that are not listen sockets is primarily
  motivated by the potential need to remove the socket from the
  incomplete connection queue on its parent (listen) socket, so cleaning
  up the reference model here may allow us to substantially weaken the
  synchronization requirements.

  RELENG_5_3 candidate.

  MFC after:      3 days
  Reviewed by:    dwhite
  Discussed with: gnn, dwhite, green
  Reported by:    Marc UBM Bocklet &lt;ubm at u-boot-man dot de&gt;
  Reported by:    Vlad &lt;marchenko at gmail dot com&gt;

Approved by:    re (scottl)
</content>
</entry>
<entry>
<title>This commit was manufactured by cvs2svn to create branch 'RELENG_5_3'.</title>
<updated>2004-10-16T08:43:07Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2004-10-16T08:43:07Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5c5cd6c8e7b9cc9c39e56d04459ff9f4b2408bc1'/>
<id>urn:sha1:5c5cd6c8e7b9cc9c39e56d04459ff9f4b2408bc1</id>
<content type='text'>
</content>
</entry>
<entry>
<title>This commit was manufactured by cvs2svn to create branch 'RELENG_5_3'.</title>
<updated>2004-10-14T11:43:17Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2004-10-14T11:43:17Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=e86ddd2deea09f347985611ddbf1ff643914e94e'/>
<id>urn:sha1:e86ddd2deea09f347985611ddbf1ff643914e94e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>This commit was manufactured by cvs2svn to create branch 'RELENG_5'.</title>
<updated>2004-09-24T18:42:06Z</updated>
<author>
<name>cvs2svn</name>
<email>cvs2svn@FreeBSD.org</email>
</author>
<published>2004-09-24T18:42:06Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=66ca21b80722dbd686f0bd7845e2e1cb7b709c24'/>
<id>urn:sha1:66ca21b80722dbd686f0bd7845e2e1cb7b709c24</id>
<content type='text'>
</content>
</entry>
<entry>
<title>MFC: Apply error and success logic consistently to the function netisr_queue()</title>
<updated>2004-09-15T15:14:19Z</updated>
<author>
<name>Andre Oppermann</name>
<email>andre@FreeBSD.org</email>
</author>
<published>2004-09-15T15:14:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=c29d01eeb398bdf5828d3cb2e975346498a2db2d'/>
<id>urn:sha1:c29d01eeb398bdf5828d3cb2e975346498a2db2d</id>
<content type='text'>
and its users.

Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>MFC 1.34:</title>
<updated>2004-09-10T06:16:34Z</updated>
<author>
<name>Gleb Smirnoff</name>
<email>glebius@FreeBSD.org</email>
</author>
<published>2004-09-10T06:16:34Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=d3efcab04e797f8c2204095528a1fdc6f0bbde78'/>
<id>urn:sha1:d3efcab04e797f8c2204095528a1fdc6f0bbde78</id>
<content type='text'>
   Increase PPTP_MAX_TIMEOUT up to 3 seconds. 10 proved too much for high
   packet
   loss links, and 1 second appeared to be too small for high latency links.

Approved by:	re (scottl)
</content>
</entry>
<entry>
<title>Merge ng_ksocket.c:1.47 to RELENG_5:</title>
<updated>2004-09-07T23:09:37Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2004-09-07T23:09:37Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=46d669b1809ea9111abfeedc37b1baff3b02dc9f'/>
<id>urn:sha1:46d669b1809ea9111abfeedc37b1baff3b02dc9f</id>
<content type='text'>
  date: 2004/09/02 19:53:13;  author: rwatson;  state: Exp;  lines: +3 -3
  In FreeBSD 5.x, curthread is always defined, so we don't need to to test
  and optionally use &amp;thread0 if it's NULL.

  Spotted by:     julian

Approved by:	re (scottl)
</content>
</entry>
<entry>
<title>Merge sys/netgraph/ng_tty.c:1.30, sys/netinet6/ipsec.c:1.37,</title>
<updated>2004-09-03T03:12:58Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2004-09-03T03:12:58Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=bbee142b17555cbfe1cc643d5178d63b42214690'/>
<id>urn:sha1:bbee142b17555cbfe1cc643d5178d63b42214690</id>
<content type='text'>
sys/netipx/ipx.c:1.27 to RELENG_5:

  Mark Netgraph TTY, KAME IPSEC, and IPX/SPX as requiring Giant for correct
  operation using NET_NEEDS_GIANT().  This will result in a boot-time
  restoration of Giant-enabled network operation, or run-time warning on
  dynamic load (applicable only to the Netgraph component).  Additional
  components will likely need to be marked with this in the future.

Approved by:	re (scottl, kensmith)
</content>
</entry>
<entry>
<title>Merge ng_socket.c:1.54 to RELENG_5:</title>
<updated>2004-09-02T15:41:44Z</updated>
<author>
<name>Robert Watson</name>
<email>rwatson@FreeBSD.org</email>
</author>
<published>2004-09-02T15:41:44Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=0bb5c1d3fbe3f3cb7beec5a23ec6a9d6de188f1f'/>
<id>urn:sha1:0bb5c1d3fbe3f3cb7beec5a23ec6a9d6de188f1f</id>
<content type='text'>
  date: 2004/08/30 14:41:25;  author: rwatson;  state: Exp;  lines: +2 -0
  Acquire Giant arounds calls into the linker from Netgraph sockets.
  We now no longer hold Giant in send(), so it isn't inheritted by the
  linker, which calls into VFS.

  Reported by:    glebius
  Discussed with: glebius, bz

Approved by:	re (kensmith)
</content>
</entry>
<entry>
<title>MFC of field alignment change and a filed size change.</title>
<updated>2004-08-26T20:58:46Z</updated>
<author>
<name>Julian Elischer</name>
<email>julian@FreeBSD.org</email>
</author>
<published>2004-08-26T20:58:46Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=8e2a6e7ee69b6c2db03b195d47ec5ba7f42339ce'/>
<id>urn:sha1:8e2a6e7ee69b6c2db03b195d47ec5ba7f42339ce</id>
<content type='text'>
5.3 seems the last change to get this in before we freeze the ABI
for a while.
 MFC'd from:
&gt;  1.345     +7 -0      src/UPDATING
&gt;  1.6       +1 -6      src/sys/netgraph/bluetooth/include/ng_btsocket.h
&gt;  1.44      +1 -1      src/sys/netgraph/netgraph.h
&gt;  1.24      +5 -3      src/sys/netgraph/ng_message.h

Submitted by:	jdp, emax
Approved by:	re (scottl)
</content>
</entry>
</feed>
