Date: Thu, 11 Jul 1996 09:32:57 -0700 (PDT) From: Garrett Wollman <wollman> To: CVS-committers, cvs-all, cvs-sys Subject: cvs commit: src/sys/net if.c src/sys/nfs nfs_socket.c src/sys/sys protosw.h src/sys/kern sys_socket.c uipc_domain.c uipc_socket.c uipc_socket2.c uipc_syscalls.c src/sys/netinet in_proto.c tcp_timer.c tcp_usrreq.c tcp_var.h Message-ID: <199607111632.JAA09902@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
wollman 96/07/11 09:32:54 Modified: sys/kern sys_socket.c uipc_domain.c uipc_socket.c uipc_socket2.c uipc_syscalls.c sys/net if.c sys/netinet in_proto.c tcp_timer.c tcp_usrreq.c tcp_var.h sys/nfs nfs_socket.c sys/sys protosw.h Log: Modify the kernel to use the new pr_usrreqs interface rather than the old pr_usrreq mechanism which was poorly designed and error-prone. This commit renames pr_usrreq to pr_ousrreq so that old code which depended on it would break in an obvious manner. This commit also implements the new interface for TCP, although the old function is left as an example (#ifdef'ed out). This commit ALSO fixes a longstanding bug in the TCP timer processing (introduced by davidg on 1995/04/12) which caused timer processing on a TCB to always stop after a single timer had expired (because it misinterpreted the return value from tcp_usrreq() to indicate that the TCB had been deleted). Finally, some code related to polling has been deleted from if.c because it is not relevant t -current and doesn't look at all like my current code. Revision Changes Path 1.8 +3 -6 src/sys/kern/sys_socket.c 1.14 +2 -4 src/sys/kern/uipc_domain.c 1.19 +18 -36 src/sys/kern/uipc_socket.c 1.12 +27 -95 src/sys/kern/uipc_socket2.c 1.18 +3 -3 src/sys/kern/uipc_syscalls.c 1.33 +9 -24 src/sys/net/if.c 1.33 +4 -3 src/sys/netinet/in_proto.c 1.18 +16 -4 src/sys/netinet/tcp_timer.c 1.23 +428 -1 src/sys/netinet/tcp_usrreq.c 1.34 +2 -3 src/sys/netinet/tcp_var.h 1.17 +6 -5 src/sys/nfs/nfs_socket.c 1.11 +9 -6 src/sys/sys/protosw.h
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199607111632.JAA09902>