Date: Wed, 15 Feb 2017 09:49:30 -0800 From: =?UTF-8?Q?Ermal_Lu=C3=A7i?= <eri@freebsd.org> To: =?UTF-8?Q?Olivier_Cochard=2DLabb=C3=A9?= <olivier@freebsd.org>, "Alexander V. Chernikov" <melifaro@freebsd.org> Cc: "Andrey V. Elsukov" <bu7cher@yandex.ru>, "freebsd-net@freebsd.org" <freebsd-net@freebsd.org> Subject: Re: How to enable ECMP flow based forwarding ? Message-ID: <CAPBZQG1oHJXMspqNHqFTLor-k2yQr19PSr1GHPG%2B8-%2B6nyJJ=w@mail.gmail.com> In-Reply-To: <CAPBZQG0C2vHC_EADk1ewGAtfgDoKG5ChsfooBZKaX03E5w646Q@mail.gmail.com> References: <CA%2Bq%2BTcqXv1HryUaBW1LBFVcyDMwDAMs0Ujp8jBRD96zO_63OQw@mail.gmail.com> <6162c934-3f22-889e-f45f-6f988342f4b3@yandex.ru> <CAPBZQG3hwjDkE8NUBoe%2BoHoMp6QLpn-gNCTq=zbhwqcs9n3-sA@mail.gmail.com> <3d53aad4-f005-659e-5939-579d67a185ab@yandex.ru> <CAPBZQG0UCoEMKkZVUzXDfFAsqEaKSo8ammQ_d=Z_Ax7hq-j9Ww@mail.gmail.com> <CA%2Bq%2BTcqhgDCV=pEc1e6XJ4e7AWB7f=o%2BsY9BqPrM4n3=Bx-GfQ@mail.gmail.com> <CAPBZQG0C2vHC_EADk1ewGAtfgDoKG5ChsfooBZKaX03E5w646Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --]
On Wed, Feb 15, 2017 at 9:39 AM, Ermal Luçi <eri@freebsd.org> wrote:
>
>
> On Wed, Feb 15, 2017 at 9:32 AM, Olivier Cochard-Labbé <
> olivier@freebsd.org> wrote:
>
>> On Wed, Feb 15, 2017 at 6:17 PM, Ermal Luçi <eri@freebsd.org> wrote:
>>
>>>
>>>
>>>> Yeah but for 11 branch still is.
>>>
>>>
>>
>> FIB4 KPI was MFC to 11-stable branch 6 weeks ago (r310771).
>>
>
> I missed that and i created the patch on releng/11... i did not notice
> that it was merged to 11-stable.
>
> Seems only solution for this regression is to create some IPSEC policies
> than!
> Which should be filed as a bug against the tryforward implementation.
>
>
> Most probably this should be committed to on HEAD and merged back to avoid
broken behaviour until the new routing code can complement the feature.
--
Ermal
[-- Attachment #2 --]
iff --git a/sys/netinet/ip_fastfwd.c b/sys/netinet/ip_fastfwd.c
index c0c6186..dff4cee 100644
--- a/sys/netinet/ip_fastfwd.c
+++ b/sys/netinet/ip_fastfwd.c
@@ -77,6 +77,7 @@
__FBSDID("$FreeBSD$");
#include "opt_ipstealth.h"
+#include "opt_mpath.h"
#include <sys/param.h>
#include <sys/systm.h>
@@ -163,6 +164,9 @@ ip_tryforward(struct mbuf *m)
M_ASSERTVALID(m);
M_ASSERTPKTHDR(m);
+#ifdef RADIX_MPATH
+ return m;
+#endif
#ifdef ALTQ
/*
* Is packet dropped by traffic conditioner?
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPBZQG1oHJXMspqNHqFTLor-k2yQr19PSr1GHPG%2B8-%2B6nyJJ=w>
