OpenVZ Forum


Home » Mailing lists » Devel » [PATCH 0/3 net-2.6.25] call FIB rule->action in the correct namespace
[PATCH 0/3 net-2.6.25] call FIB rule->action in the correct namespace [message #26204] Thu, 17 January 2008 10:08 Go to previous message
den is currently offline  den
Messages: 494
Registered: December 2005
Senior Member
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>
 
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: Wed Sep 11 23:20:29 GMT 2024

Total time taken to generate the page: 0.05421 seconds