call FIB rule->action in the correct namespace
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest3 patches 2 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | Add netns to fib_rules_ops.include/ net/ net/ +1 more | +5 | 0 replies | |
| 2/3 | FIB rules API cleanup.include/ net/ net/ +2 more | +22 | 0 replies | |
| 3/3 | Process FIB rule action in the context of the namespace.include/ net/ net/ | +4 | 0 replies |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Daniel Lezcano |
|---|---|
| Series | A-b |
| 1/3 | A-b |
| 2/3 | A-b |
| 3/3 | A-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 0/3 net-2.6.25] call FIB rule->action in the correct namespace
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 <[email protected]>