svn commit: r283710 - stable/10/sys/netinet

Michael Tuexen tuexen at FreeBSD.org
Fri May 29 12:08:50 UTC 2015


Author: tuexen
Date: Fri May 29 12:08:49 2015
New Revision: 283710
URL: https://svnweb.freebsd.org/changeset/base/283710

Log:
  MFC r277031
  
  Remove dead code.
  
  Reported by:	Coverity
  CID:		748665

Modified:
  stable/10/sys/netinet/sctp_pcb.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/netinet/sctp_pcb.c
==============================================================================
--- stable/10/sys/netinet/sctp_pcb.c	Fri May 29 12:06:00 2015	(r283709)
+++ stable/10/sys/netinet/sctp_pcb.c	Fri May 29 12:08:49 2015	(r283710)
@@ -1441,9 +1441,6 @@ sctp_findassociation_ep_addr(struct sctp
 		}
 		head = &inp->sctp_tcbhash[SCTP_PCBHASH_ALLADDR(rport,
 		    inp->sctp_hashmark)];
-		if (head == NULL) {
-			goto null_return;
-		}
 		LIST_FOREACH(stcb, head, sctp_tcbhash) {
 			if (stcb->rport != rport) {
 				/* remote port does not match */


More information about the svn-src-stable mailing list