The following reply was made to PR kern/131817; it has been noted by GNATS.

From: "Andrey V. Elsukov" <a...@freebsd.org>
To: bug-follo...@freebsd.org, eu...@grosbein.pp.ru
Cc:  
Subject: Re: kern/131817: [ipfw] blocks layer2 packets that should not be
 blocked
Date: Fri, 01 Jul 2011 12:56:14 +0400

 This is a multi-part message in MIME format.
 --------------000306040401040406030900
 Content-Type: text/plain; charset=KOI8-R
 Content-Transfer-Encoding: 7bit
 
 Hi, Eugene
 
 can you test this patch?
 
 -- 
 WBR, Andrey V. Elsukov
 
 --------------000306040401040406030900
 Content-Type: text/plain;
  name="arpreply.diff"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="arpreply.diff"
 
 Index: head/sys/netinet/if_ether.c
 ===================================================================
 --- head/sys/netinet/if_ether.c        (revision 223705)
 +++ head/sys/netinet/if_ether.c        (working copy)
 @@ -857,6 +857,7 @@ reply:
        ah->ar_pro = htons(ETHERTYPE_IP); /* let's be sure! */
        m->m_len = sizeof(*ah) + (2 * ah->ar_pln) + (2 * ah->ar_hln);   
        m->m_pkthdr.len = m->m_len;   
 +      m->m_pkthdr.rcvif = NULL;
        sa.sa_family = AF_ARP;
        sa.sa_len = 2;
        (*ifp->if_output)(ifp, m, &sa, NULL);
 
 --------------000306040401040406030900--
_______________________________________________
freebsd-ipfw@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ipfw
To unsubscribe, send any mail to "freebsd-ipfw-unsubscr...@freebsd.org"

Reply via email to