netdev
[Top] [All Lists]

Re: nfmark routing in ip_route_output()

To: Rusty Russell <rusty@xxxxxxxxxxxxxxxx>
Subject: Re: nfmark routing in ip_route_output()
From: Andi Kleen <ak@xxxxxx>
Date: Sun, 13 Aug 2000 04:30:35 +0200
Cc: kuznet@xxxxxxxxxxxxx, netdev@xxxxxxxxxxx
In-reply-to: <20000812173439.285B58172@halfway.linuxcare.com.au>; from rusty@linuxcare.com.au on Sat, Aug 12, 2000 at 07:36:28PM +0200
References: <20000812173439.285B58172@halfway.linuxcare.com.au>
Sender: owner-netdev@xxxxxxxxxxx
On Sat, Aug 12, 2000 at 07:36:28PM +0200, Rusty Russell wrote:
> Forgot this one.
> 
> Can we add an argument for nfmark field in ip_route_output()?  Needed
> so local traffic can be routed in complex ways (mark altered in
> NF_IP_LOCAL_OUT).
> 
> The other option is less invasive: make route_me_harder call
> ip_route_output_slow() directly, and simply add the parameter there.
> 
> Trivial patch follows,

It seems it is missing the patch to route.c
I also do not understand why you cannot simply change skb->nfmark before
calling ip_route_output.


-Andi

<Prev in Thread] Current Thread [Next in Thread>