Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 1 Jul 2011 09:00:21 GMT
From:      "Andrey V. Elsukov" <ae@FreeBSD.org>
To:        freebsd-ipfw@FreeBSD.org
Subject:   Re: kern/131817: [ipfw] blocks layer2 packets that should not be blocked
Message-ID:  <201107010900.p6190LLD027077@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/131817; it has been noted by GNATS.

From: "Andrey V. Elsukov" <ae@FreeBSD.org>
To: bug-followup@FreeBSD.org, eugen@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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107010900.p6190LLD027077>