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
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to