Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 May 2018 05:37:18 +0000 (UTC)
From:      Matt Macy <mmacy@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r333865 - head/sys/dev/netmap
Message-ID:  <201805190537.w4J5bIY8068869@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mmacy
Date: Sat May 19 05:37:18 2018
New Revision: 333865
URL: https://svnweb.freebsd.org/changeset/base/333865

Log:
  netmap: compare e1 with e2, not with itself

Modified:
  head/sys/dev/netmap/netmap_freebsd.c

Modified: head/sys/dev/netmap/netmap_freebsd.c
==============================================================================
--- head/sys/dev/netmap/netmap_freebsd.c	Sat May 19 05:27:49 2018	(r333864)
+++ head/sys/dev/netmap/netmap_freebsd.c	Sat May 19 05:37:18 2018	(r333865)
@@ -651,7 +651,7 @@ nm_os_extmem_nextpage(struct nm_os_extmem *e)
 int
 nm_os_extmem_isequal(struct nm_os_extmem *e1, struct nm_os_extmem *e2)
 {
-	return (e1->obj == e1->obj);
+	return (e1->obj == e2->obj);
 }
 
 int



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805190537.w4J5bIY8068869>