cvs commit: src/sys/netipx spx_usrreq.c

2008-07-02 Thread Robert Watson
rwatson 2008-07-02 15:23:08 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/netipx spx_usrreq.c Log: SVN rev 180185 on 2008-07-02 15:23:08Z by rwatson Merge spx_usrreq.c:1.87 (r179332) from head to stable/7: Avoid unnecessary one

cvs commit: src/sys/netipx spx_usrreq.c

2008-07-02 Thread Robert Watson
rwatson 2008-07-02 15:38:20 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/netipx spx_usrreq.c Log: SVN rev 180186 on 2008-07-02 15:38:20Z by rwatson Merge spx_usrreq.c:1.88 (r179408) from head to stable/7: Correct minor comment

cvs commit: src/sys/netipx spx_usrreq.c

2008-07-02 Thread Robert Watson
rwatson 2008-07-02 16:08:42 UTC FreeBSD src repository Modified files:(Branch: RELENG_7) sys/netipx spx_usrreq.c Log: SVN rev 180188 on 2008-07-02 16:08:42Z by rwatson Merge spx_usrreq.c:1.89 (r179410) from head to stable/7: Rather than

cvs commit: src/sys/netipx spx_usrreq.c

2008-05-29 Thread Robert Watson
rwatson 2008-05-29 06:50:26 UTC FreeBSD src repository Modified files: sys/netipx spx_usrreq.c Log: Correct minor comment typos, make white space use before block comments more consistent. MFC after: 3 days Revision ChangesPath 1.88 +19 -6

cvs commit: src/sys/netipx spx_usrreq.c

2008-05-29 Thread Robert Watson
rwatson 2008-05-29 07:18:43 UTC FreeBSD src repository Modified files: sys/netipx spx_usrreq.c Log: Rather than m_free(dtom(si)) in spx_reass(), return (1) which causes the caller to free the mbuf without using dtom(). MFC after: 3 days Revision

cvs commit: src/sys/netipx spx_usrreq.c

2006-06-08 Thread Robert Watson
rwatson 2006-06-08 23:17:29 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netipx spx_usrreq.c Log: Merge spx_usrreq.c:1.68 from HEAD to RELENG_6: Canonicalize, update copyright. Remove 'register'. Use ANSI prototypes, not KR.

cvs commit: src/sys/netipx spx_usrreq.c

2006-06-08 Thread Robert Watson
rwatson 2006-06-08 23:12:22 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netipx spx_usrreq.c Log: Merge spx_usrreq.c:1.65 from HEAD to RELENG_6: In spx_attach() and spx_detach(), there is no need to check whether the ipxpcb is

cvs commit: src/sys/netipx spx_usrreq.c

2006-06-08 Thread Robert Watson
rwatson 2006-06-08 23:18:01 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netipx spx_usrreq.c Log: Merge spx_usrreq.c:1.69 from HEAD to RELENG_6: Move definition of spxrexmtthresh to top of file with other global variables.

cvs commit: src/sys/netipx spx_usrreq.c

2006-06-08 Thread Robert Watson
rwatson 2006-06-08 23:18:40 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netipx spx_usrreq.c Log: Merge spx_usrreq.c:1.70 from HEAD to RELENG_6: Protect spx_iss using its own mutex, spx_mtx, rather than piggy-backing on the global

cvs commit: src/sys/netipx spx_usrreq.c

2006-06-08 Thread Robert Watson
rwatson 2006-06-08 23:21:25 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netipx spx_usrreq.c Log: Merge spx_usrreq.c:1.72 from HEAD to RELENG_6: Slight style reformatting of spx_timers() comments; panic if an unrecognized timer is

cvs commit: src/sys/netipx spx_usrreq.c

2006-06-08 Thread Robert Watson
rwatson 2006-06-08 23:22:02 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netipx spx_usrreq.c Log: Merge spx_usrreq.c:1.73 from HEAD to RELENG_6: In spx_ctloutput(), acquire the ipxp lock around read operations, especially reads of

cvs commit: src/sys/netipx spx_usrreq.c

2006-06-08 Thread Robert Watson
rwatson 2006-06-08 23:22:48 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netipx spx_usrreq.c Log: Merge spx_usrreq.c:1.74 from HEAD to RELENG_6: Don't bother restoring host byte order of mbuf fields when we're just about to free

cvs commit: src/sys/netipx spx_usrreq.c

2006-06-08 Thread Robert Watson
rwatson 2006-06-08 23:28:55 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netipx spx_usrreq.c Log: Merge spx_usrreq.c:1.75 from HEAD to RELENG_6: Restructure spx_attach() to properly free memory in the event that one of its

cvs commit: src/sys/netipx spx_usrreq.c

2006-06-08 Thread Robert Watson
rwatson 2006-06-08 23:31:47 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netipx spx_usrreq.c Log: Merge spx_usrreq.c:1.77 from HEAD to RELENG_6: Restore original formulation of SPX segment queue draining during SPX PCB detach.

cvs commit: src/sys/netipx spx_usrreq.c

2006-06-08 Thread Robert Watson
rwatson 2006-06-08 23:33:24 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netipx spx_usrreq.c Log: Merge spx_usrreq.c:1.79 from HEAD to RELENG_6: In various SPX protocol entry points from the socket layer, check IPXP_DROPPED before

cvs commit: src/sys/netipx spx_usrreq.c

2006-06-08 Thread Robert Watson
rwatson 2006-06-08 23:33:58 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netipx spx_usrreq.c Log: Merge spx_usrreq.c:1.80 from HEAD to RELENG_6: In spx_accept, assert ipxp != NULL, not == NULL. Revision ChangesPath

cvs commit: src/sys/netipx spx_usrreq.c

2006-06-08 Thread Robert Watson
rwatson 2006-06-08 23:34:43 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netipx spx_usrreq.c Log: Merge spx_usrreq.c:1.81 from HEAD to RELENG_6: In spx_input(), change a '' to a '||', as the spx trace code is able to handle a NULL

cvs commit: src/sys/netipx spx_usrreq.c

2006-06-08 Thread Robert Watson
rwatson 2006-06-08 23:35:16 UTC FreeBSD src repository Modified files:(Branch: RELENG_6) sys/netipx spx_usrreq.c Log: Merge spx_usrreq.c:1.82 from HEAD to RELENG_6: In spx_output(), use M_DONTWAIT instead of M_TRYWAIT, as we hold the ipxpcb mutex.

cvs commit: src/sys/netipx spx_usrreq.c

2006-03-26 Thread Robert Watson
rwatson 2006-03-26 19:37:37 UTC FreeBSD src repository Modified files: sys/netipx spx_usrreq.c Log: In various SPX protocol entry points from the socket layer, check IPXP_DROPPED before continuing, and return EINVAL or ECONNRESET if it is flagged. It's unclear why

cvs commit: src/sys/netipx spx_usrreq.c

2006-03-26 Thread Robert Watson
rwatson 2006-03-26 19:51:44 UTC FreeBSD src repository Modified files: sys/netipx spx_usrreq.c Log: In spx_accept, assert ipxp != NULL, not == NULL. MFC after: 1 month Revision ChangesPath 1.80 +1 -1 src/sys/netipx/spx_usrreq.c

cvs commit: src/sys/netipx spx_usrreq.c

2006-03-26 Thread Robert Watson
rwatson 2006-03-27 00:08:32 UTC FreeBSD src repository Modified files: sys/netipx spx_usrreq.c Log: In spx_input(), change a '' to a '||', as the spx trace code is able to handle a NULL 'cb' here. MFC after: 1 month Revision ChangesPath 1.81

cvs commit: src/sys/netipx spx_usrreq.c

2006-03-25 Thread Robert Watson
rwatson 2006-03-25 14:29:03 UTC FreeBSD src repository Modified files: sys/netipx spx_usrreq.c Log: Slight style reformatting of spx_timers() comments; panic if an unrecognized timer is passed into the function. MFC after: 1 month Revision Changes

cvs commit: src/sys/netipx spx_usrreq.c

2006-03-25 Thread Robert Watson
rwatson 2006-03-25 14:44:05 UTC FreeBSD src repository Modified files: sys/netipx spx_usrreq.c Log: In spx_ctloutput(), acquire the ipxp lock around read operations, especially reads of spx header structures, which will now be cached in the stack until they can be

cvs commit: src/sys/netipx spx_usrreq.c

2006-03-25 Thread Robert Watson
rwatson 2006-03-25 14:45:08 UTC FreeBSD src repository Modified files: sys/netipx spx_usrreq.c Log: Don't bother restoring host byte order of mbuf fields when we're just about to free the mbuf in the spx_input() error path. MFC after: 1 month Revision

cvs commit: src/sys/netipx spx_usrreq.c

2006-03-25 Thread Robert Watson
rwatson 2006-03-25 15:03:29 UTC FreeBSD src repository Modified files: sys/netipx spx_usrreq.c Log: Restructure spx_attach() to properly free memory in the event that one of its allocations fails. Allocate the ipxp last so as to avoid having to free it if another

cvs commit: src/sys/netipx spx_usrreq.c

2006-03-25 Thread Robert Watson
rwatson 2006-03-26 02:33:44 UTC FreeBSD src repository Modified files: sys/netipx spx_usrreq.c Log: Restore original formulation of SPX segment queue draining during SPX PCB detach. MFC after: 1 month Revision ChangesPath 1.77 +3 -1

cvs commit: src/sys/netipx spx_usrreq.c

2006-03-23 Thread Robert Watson
rwatson 2006-03-24 00:15:58 UTC FreeBSD src repository Modified files: sys/netipx spx_usrreq.c Log: Canonicalize, update copyright. Remove 'register'. Use ANSI prototypes, not KR. MFC after: 1 month Revision ChangesPath 1.68 +54 -104

cvs commit: src/sys/netipx spx_usrreq.c

2006-03-23 Thread Robert Watson
rwatson 2006-03-24 00:22:25 UTC FreeBSD src repository Modified files: sys/netipx spx_usrreq.c Log: Move definition of spxrexmtthresh to top of file with other global variables. MFC after: 1 month Revision ChangesPath 1.69 +1 -2

cvs commit: src/sys/netipx spx_usrreq.c

2006-03-23 Thread Robert Watson
rwatson 2006-03-24 00:26:26 UTC FreeBSD src repository Modified files: sys/netipx spx_usrreq.c Log: Protect spx_iss using its own mutex, spx_mtx, rather than piggy-backing on the global IPX mutex, which is not held at all necessary strategic points. MFC after:

cvs commit: src/sys/netipx spx_usrreq.c

2006-01-13 Thread Robert Watson
rwatson 2006-01-14 00:05:44 UTC FreeBSD src repository Modified files: sys/netipx spx_usrreq.c Log: In spx_attach() and spx_detach(), there is no need to check whether the ipxpcb is NULL or not: in attach it will be, and on detach it won't be. If for any reason