|
@@ -881,7 +881,7 @@ static void nl_fib_lookup_exit(struct net *net)
|
|
* initial network namespace. So the socket will be safe to free.
|
|
* initial network namespace. So the socket will be safe to free.
|
|
*/
|
|
*/
|
|
net->ipv4.fibnl->sk_net = get_net(&init_net);
|
|
net->ipv4.fibnl->sk_net = get_net(&init_net);
|
|
- sock_put(net->ipv4.fibnl);
|
|
|
|
|
|
+ sock_release(net->ipv4.fibnl->sk_socket);
|
|
}
|
|
}
|
|
|
|
|
|
static void fib_disable_ip(struct net_device *dev, int force)
|
|
static void fib_disable_ip(struct net_device *dev, int force)
|