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

Collapse All | Expand All

(-)b/sys/net/if_vxlan.c (+6 lines)
Lines 2560-2565 vxlan_input(struct vxlan_socket *vso, uint32_t vni, struct mbuf **m0, Link Here
2560
2560
2561
	ifp = sc->vxl_ifp;
2561
	ifp = sc->vxl_ifp;
2562
	m = *m0;
2562
	m = *m0;
2563
	if (m->m_len < ETHER_HDR_LEN &&
2564
	    (m = m_pullup(m, ETHER_HDR_LEN)) == NULL) {
2565
		*m0 = NULL;
2566
		error = ENOBUFS;
2567
		goto out;
2568
	}
2563
	eh = mtod(m, struct ether_header *);
2569
	eh = mtod(m, struct ether_header *);
2564
2570
2565
	if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) {
2571
	if ((ifp->if_drv_flags & IFF_DRV_RUNNING) == 0) {

Return to bug 261711