[PATCH net-2.6.25 1/19] [NETNS] Add netns parameter to fib_rules_(un)register.

2008-01-09 Thread Denis V. Lunev
The patch extends the different fib rules API in order to pass the network namespace pointer. That will allow to access the different tables from a namespace relative object. As usual, the pointer to the init_net variable is passed as parameter so we don't break the network. Acked-by: Benjamin The

Re: [PATCH net-2.6.25 1/19] [NETNS] Add netns parameter to fib_rules_(un)register.

2007-12-20 Thread David Miller
From: "Denis V. Lunev" <[EMAIL PROTECTED]> Date: Wed, 19 Dec 2007 18:24:31 +0300 > @@ -101,14 +101,12 @@ static inline u32 frh_get_table(struct fib_rule_hdr > *frh, struct nlattr **nla) > return frh->table; > } > > -extern int fib_rules_register(struct fib_rules_ops *);

[PATCH net-2.6.25 1/19] [NETNS] Add netns parameter to fib_rules_(un)register.

2007-12-19 Thread Denis V. Lunev
This provides a ground for further fib rules operations virtualization. Currently pass the init_net into them. Acked-by: Benjamin Thery <[EMAIL PROTECTED]> Signed-off-by: Denis V. Lunev <[EMAIL PROTECTED]> --- include/net/fib_rules.h | 16 +++- net/core/fib_rules.c|4 ++-- n