View | Details | Raw Unified | Return to bug 239891 | Differences between
and this patch

Collapse All | Expand All

(-)dev/aoe/aoenet.c (+5 lines)
Lines 49-54 Link Here
49
#include <net/if_types.h>
49
#include <net/if_types.h>
50
#include <net/if_arp.h>
50
#include <net/if_arp.h>
51
#include <net/netisr.h>
51
#include <net/netisr.h>
52
#include <net/vnet.h>
52
53
53
#include <dev/aoe/aoe.h>
54
#include <dev/aoe/aoe.h>
54
55
Lines 311-316 Link Here
311
	h->ah_minor = aoeminor;
312
	h->ah_minor = aoeminor;
312
	h->ah_cmd = AOECMD_CFG;
313
	h->ah_cmd = AOECMD_CFG;
313
314
315
	CURVNET_SET(vnet0);
316
314
	IFNET_RLOCK();
317
	IFNET_RLOCK();
315
	IFNET_FOREACH(ifp) {
318
	IFNET_FOREACH(ifp) {
316
		if (!is_aoe_netif(ifp))
319
		if (!is_aoe_netif(ifp))
Lines 324-329 Link Here
324
		ether_output_frame(ifp, m);
327
		ether_output_frame(ifp, m);
325
	}
328
	}
326
	IFNET_RUNLOCK();
329
	IFNET_RUNLOCK();
330
331
	CURVNET_RESTORE();
327
332
328
	m_freem(m0);
333
	m_freem(m0);
329
}
334
}

Return to bug 239891