kern/173477: mpath bugfixes

Ingo Flaschberger if at xip.at
Fri Nov 9 02:00:02 UTC 2012


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

From: Ingo Flaschberger <if at xip.at>
To: bug-followup at FreeBSD.org, if at FreeBSD.org
Cc:  
Subject: Re: kern/173477: mpath bugfixes
Date: Fri, 09 Nov 2012 02:57:18 +0100

 This is a multi-part message in MIME format.
 --------------010804020000000208000504
 Content-Type: text/plain; charset=ISO-8859-15; format=flowed
 Content-Transfer-Encoding: 7bit
 
 this part is also needed:
 
 
 --------------010804020000000208000504
 Content-Type: text/plain; charset=windows-1252;
  name="patch_pf_table.txt"
 Content-Transfer-Encoding: 7bit
 Content-Disposition: attachment;
  filename="patch_pf_table.txt"
 
 --- /usr/src/sys/contrib/pf/net/pf_table.c	2012-07-18 18:13:03.000000000 +0200
 +++ /router/usr/src/sys/contrib/pf/net/pf_table.c	2012-11-09 02:26:24.000000000 +0100
 @@ -1165,17 +1165,9 @@
  #endif
  	if (KENTRY_NETWORK(ke)) {
  		pfr_prepare_network(&mask, ke->pfrke_af, ke->pfrke_net);
 -#ifdef __FreeBSD__
 -		rn = rn_delete(&ke->pfrke_sa, &mask, head);
 -#else
  		rn = rn_delete(&ke->pfrke_sa, &mask, head, NULL);
 -#endif
  	} else
 -#ifdef __FreeBSD__
 -		rn = rn_delete(&ke->pfrke_sa, NULL, head);
 -#else
  		rn = rn_delete(&ke->pfrke_sa, NULL, head, NULL);
 -#endif
  	splx(s);
  
  	if (rn == NULL) {
 
 --------------010804020000000208000504--


More information about the freebsd-bugs mailing list