Date: Fri, 9 Nov 2012 02:00:01 GMT From: Ingo Flaschberger <if@xip.at> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/173477: mpath bugfixes Message-ID: <201211090200.qA9201xV098307@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/173477; it has been noted by GNATS.
From: Ingo Flaschberger <if@xip.at>
To: bug-followup@FreeBSD.org, if@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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211090200.qA9201xV098307>
