svn commit: r344658 - stable/11/sys/dev/netmap

Vincenzo Maffione vmaffione at FreeBSD.org
Thu Feb 28 09:42:04 UTC 2019


Author: vmaffione
Date: Thu Feb 28 09:42:03 2019
New Revision: 344658
URL: https://svnweb.freebsd.org/changeset/base/344658

Log:
  MFC r344510
  
  netmap: remove redundant call to nm_set_native_flags()
  
  This redundant call was introduced by mistake in r343772.
  
  Sponsored by:   Sunny Valley Networks

Modified:
  stable/11/sys/dev/netmap/if_vtnet_netmap.h
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/dev/netmap/if_vtnet_netmap.h
==============================================================================
--- stable/11/sys/dev/netmap/if_vtnet_netmap.h	Thu Feb 28 09:40:26 2019	(r344657)
+++ stable/11/sys/dev/netmap/if_vtnet_netmap.h	Thu Feb 28 09:42:03 2019	(r344658)
@@ -132,7 +132,6 @@ vtnet_netmap_reg(struct netmap_adapter *na, int state)
 
 	if (state) {
 		netmap_krings_mode_commit(na, state);
-		nm_set_native_flags(na);
 	} else {
 		nm_clear_native_flags(na);
 		netmap_krings_mode_commit(na, state);


More information about the svn-src-stable mailing list