[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20111117153357.7bc5a4d4@asterix.rh>
Date: Thu, 17 Nov 2011 15:33:57 -0200
From: Flavio Leitner <fbl@...hat.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: David Miller <davem@...emloft.net>,
Ivan Zahariev <famzah@...soft.com>, netdev@...r.kernel.org,
Vasiliy Kulikov <segoon@...nwall.com>
Subject: Re: Unable to flush ICMP redirect routes in kernel 3.0+
On Thu, 17 Nov 2011 18:18:22 +0100
Eric Dumazet <eric.dumazet@...il.com> wrote:
> Le jeudi 17 novembre 2011 à 15:01 -0200, Flavio Leitner a écrit :
>
> > Right, so the loop trying different oif and saddr isn't working at
> > all because __ip_route_output_key() will create a route in the first
> > attempt. Looks like you're right and we need the 'create' parameter
> > in __ip_route_output_key().
>
> And we have to loop on all possible keys combinations.
>
> (like code before David commit (f39925dbde77 ipv4: Cache learned
> redirect information in inetpeer.) : it had a goto do_next;
That is correct. I realize that now.
> I am preparing a patch.
thank you.
fbl
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists