[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20061204165253.GA11905@ms2.inr.ac.ru>
Date: Mon, 4 Dec 2006 19:52:53 +0300
From: Alexey Kuznetsov <kuznet@....inr.ac.ru>
To: Patrick McHardy <kaber@...sh.net>
Cc: James Morris <jmorris@...ei.org>,
Linux Netdev List <netdev@...r.kernel.org>
Subject: Re: RFC: consistent disable_xfrm behaviour
Hello!
> Alexey, do you remember what the original intent of this was?
disable_policy was supposed to skip policy checks on input.
It makes sense only on input device.
disable_xfrm was supposed to skip transformations on output.
It makes sense only on output device.
If it does not work, it was done wrong. :-)
As I see it, root of the problem is that DST_NOXFRM flag
is calculated using wrong device. out_dev should be used
in __mkroute_input(). It looks as a cut-n-paste error, the code
was taken from output path, where it is correct.
-
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