net/ipv6: Pass net to fib6_update_sernum
Pass net namespace to fib6_update_sernum. It can not be marked const as fib6_new_sernum will change ipv6.fib6_sernum. Signed-off-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
43b059a312
commit
7aef6859ee
@@ -105,9 +105,8 @@ enum {
|
||||
FIB6_NO_SERNUM_CHANGE = 0,
|
||||
};
|
||||
|
||||
void fib6_update_sernum(struct rt6_info *rt)
|
||||
void fib6_update_sernum(struct net *net, struct rt6_info *rt)
|
||||
{
|
||||
struct net *net = dev_net(rt->dst.dev);
|
||||
struct fib6_node *fn;
|
||||
|
||||
fn = rcu_dereference_protected(rt->rt6i_node,
|
||||
|
Reference in New Issue
Block a user