svn commit: r333865 - head/sys/dev/netmap

Matt Macy mmacy at FreeBSD.org
Sat May 19 05:37:19 UTC 2018


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


More information about the svn-src-head mailing list