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

Collapse All | Expand All

(-)b/sys/dev/hyperv/netvsc/if_hn.c (-1 / +1 lines)
Lines 861-867 hn_set_hlen(struct mbuf *m_head) Link Here
861
861
862
		PULLUP_HDR(m_head, ehlen + sizeof(*ip6));
862
		PULLUP_HDR(m_head, ehlen + sizeof(*ip6));
863
		ip6 = mtodo(m_head, ehlen);
863
		ip6 = mtodo(m_head, ehlen);
864
		if (ip6->ip6_nxt != IPPROTO_TCP) {
864
		if (ip6->ip6_nxt != IPPROTO_TCP && ip6->ip6_nxt != IPPROTO_UDP) {
865
			m_freem(m_head);
865
			m_freem(m_head);
866
			return (NULL);
866
			return (NULL);
867
		}
867
		}

Return to bug 231797