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) MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D17987
This commit is contained in:
parent
0dd2c459cb
commit
70851b5eb2
@ -1549,6 +1549,7 @@ freebsd_netmap_ioctl(struct cdev *dev __unused, u_long cmd, caddr_t data,
|
||||
void
|
||||
nm_os_onattach(struct ifnet *ifp)
|
||||
{
|
||||
ifp->if_capabilities |= IFCAP_NETMAP;
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user