OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 0/3 net-2.6.25] call FIB rule->action in the correct namespace
Re: [PATCH 0/3 net-2.6.25] call FIB rule->action in the correct namespace [message #26210 is a reply to message #26204] Thu, 17 January 2008 10:41 Go to previous messageGo to previous message
Daniel Lezcano is currently offline  Daniel Lezcano
Messages: 417
Registered: June 2006
Senior Member
Denis V. Lunev wrote:
> FIB rule->action should operate in the same namespace as fib_lookup.
> This is definitely missed right now.
> 
> There are two ways to implement this: pass struct net into another rules
> API call (2 levels) or place netns into rule struct directly. The second
> approach seems better as the code will grow less.
> 
> Additionally, the patchset cleanups struct net from
> fib_rules_register/unregister to have network namespace context at the
> time of default rules creation.
> 
> Signed-off-by: Denis V. Lunev <den@openvz.org>

Acked-by: Daniel Lezcano <dlezcano@fr.ibm.com>

-- 






















































Sauf indication contraire ci-dessus:
Compagnie IBM France
Sie`ge Social : Tour Descartes, 2, avenue Gambetta, La De'fense 5, 92400
Courbevoie
RCS Nanterre 552 118 465
Forme Sociale : S.A.S.
Capital Social : 542.737.118 ?
SIREN/SIRET : 552 118 465 02430
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [patch] util-linux-ng: unprivileged mounts support
Next Topic: [PATCH 0/4] Devices accessibility control group (v2)
Goto Forum:
  


Current Time: Thu Sep 12 00:16:59 GMT 2024

Total time taken to generate the page: 0.05264 seconds