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

Collapse All | Expand All

(-)sys/netinet/ip_divert.c (+6 lines)
Lines 489-494 div_output(struct socket *so, struct mbuf *m, stru Link Here
489
		/* Send packet to input processing via netisr */
489
		/* Send packet to input processing via netisr */
490
		switch (ip->ip_v) {
490
		switch (ip->ip_v) {
491
		case IPVERSION:
491
		case IPVERSION:
492
			/*
493
			 * Set M_BCAST flag when destination address is
494
			 * broadcast. It is expected by ip_tryforward().
495
			 */
496
			if (in_broadcast(ip->ip_dst, m->m_pkthdr.rcvif))
497
				m->m_flags |= M_BCAST;
492
			netisr_queue_src(NETISR_IP, (uintptr_t)so, m);
498
			netisr_queue_src(NETISR_IP, (uintptr_t)so, m);
493
			break;
499
			break;
494
#ifdef INET6
500
#ifdef INET6

Return to bug 209491