Module Name: src
Committed By: rjs
Date: Tue Oct 17 15:53:01 UTC 2017
Modified Files:
src/sys/netinet: sctp_pcb.c
Log Message:
Remove duplicate assignment, comment doesn't match it anyway.
To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/sys/netinet/sctp_pcb.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/netinet/sctp_pcb.c
diff -u src/sys/netinet/sctp_pcb.c:1.12 src/sys/netinet/sctp_pcb.c:1.13
--- src/sys/netinet/sctp_pcb.c:1.12 Tue Oct 17 15:49:00 2017
+++ src/sys/netinet/sctp_pcb.c Tue Oct 17 15:53:01 2017
@@ -1,5 +1,5 @@
/* $KAME: sctp_pcb.c,v 1.39 2005/06/16 18:29:25 jinmei Exp $ */
-/* $NetBSD: sctp_pcb.c,v 1.12 2017/10/17 15:49:00 rjs Exp $ */
+/* $NetBSD: sctp_pcb.c,v 1.13 2017/10/17 15:53:01 rjs Exp $ */
/*
* Copyright (c) 2001, 2002, 2003, 2004 Cisco Systems, Inc.
@@ -33,7 +33,7 @@
* SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: sctp_pcb.c,v 1.12 2017/10/17 15:49:00 rjs Exp $");
+__KERNEL_RCSID(0, "$NetBSD: sctp_pcb.c,v 1.13 2017/10/17 15:53:01 rjs Exp $");
#ifdef _KERNEL_OPT
#include "opt_inet.h"
@@ -1351,9 +1351,6 @@ sctp_inpcb_alloc(struct socket *so)
/* zap it */
memset(inp, 0, sizeof(*inp));
- /* bump generations */
- inp->ip_inp.inp.inp_socket = so;
-
/* setup socket pointers */
inp->sctp_socket = so;