From owner-svn-src-all@FreeBSD.ORG Thu Jun 24 07:43:25 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6D19D1065670; Thu, 24 Jun 2010 07:43:25 +0000 (UTC) (envelope-from tuexen@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 5C22D8FC12; Thu, 24 Jun 2010 07:43:25 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o5O7hPJu021587; Thu, 24 Jun 2010 07:43:25 GMT (envelope-from tuexen@svn.freebsd.org) Received: (from tuexen@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o5O7hP1H021585; Thu, 24 Jun 2010 07:43:25 GMT (envelope-from tuexen@svn.freebsd.org) Message-Id: <201006240743.o5O7hP1H021585@svn.freebsd.org> From: Michael Tuexen Date: Thu, 24 Jun 2010 07:43:25 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r209499 - head/sys/netinet X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 07:43:25 -0000 Author: tuexen Date: Thu Jun 24 07:43:25 2010 New Revision: 209499 URL: http://svn.freebsd.org/changeset/base/209499 Log: Fix a bug I introduced in r209470. MFC after: 3 days Modified: head/sys/netinet/sctp_pcb.c Modified: head/sys/netinet/sctp_pcb.c ============================================================================== --- head/sys/netinet/sctp_pcb.c Thu Jun 24 06:31:23 2010 (r209498) +++ head/sys/netinet/sctp_pcb.c Thu Jun 24 07:43:25 2010 (r209499) @@ -1233,7 +1233,7 @@ sctp_findassociation_ep_addr(struct sctp SCTP_TCB_UNLOCK(stcb); goto null_return; } - if (!(local && sctp_does_stcb_own_this_addr(stcb, local))) { + if (local && !sctp_does_stcb_own_this_addr(stcb, local)) { SCTP_TCB_UNLOCK(stcb); goto null_return; } @@ -1334,7 +1334,7 @@ sctp_findassociation_ep_addr(struct sctp SCTP_TCB_UNLOCK(stcb); continue; } - if (!(local && sctp_does_stcb_own_this_addr(stcb, local))) { + if (local && !sctp_does_stcb_own_this_addr(stcb, local)) { SCTP_TCB_UNLOCK(stcb); continue; }