svn commit: r341480 - stable/11/sys/dev/netmap
Vincenzo Maffione
vmaffione at FreeBSD.org
Tue Dec 4 17:47:44 UTC 2018
Author: vmaffione
Date: Tue Dec 4 17:47:43 2018
New Revision: 341480
URL: https://svnweb.freebsd.org/changeset/base/341480
Log:
MFC r341144
netmap: set IFCAP_NETMAP in if_capabilities
Revision r307394 removed (by mistake) the code that sets IFCAP_NETMAP
in if_capabilities on netmap_attach. This patch reverts this change.
Reviewed by: np
Approved by: gnn (mentor)
Differential Revision: https://reviews.freebsd.org/D17987
Modified:
stable/11/sys/dev/netmap/netmap_freebsd.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/netmap/netmap_freebsd.c
==============================================================================
--- stable/11/sys/dev/netmap/netmap_freebsd.c Tue Dec 4 17:46:06 2018 (r341479)
+++ stable/11/sys/dev/netmap/netmap_freebsd.c Tue Dec 4 17:47:43 2018 (r341480)
@@ -1547,6 +1547,7 @@ out:
void
nm_os_onattach(struct ifnet *ifp)
{
+ ifp->if_capabilities |= IFCAP_NETMAP;
}
void
More information about the svn-src-all
mailing list