fib_algo: set vnet when destroying algo instance
Reported by: Konrad Kręciwilk <konrad.kreciwilk@korbank.pl> MFC after: 2 weeks
This commit is contained in:
parent
1ffd352bc2
commit
93dd3adac7
@ -1135,7 +1135,9 @@ destroy_fd_instance_epoch(epoch_context_t ctx)
|
||||
|
||||
fd = __containerof(ctx, struct fib_data, fd_epoch_ctx);
|
||||
|
||||
CURVNET_SET(fd->fd_vnet);
|
||||
destroy_fd_instance(fd);
|
||||
CURVNET_RESTORE();
|
||||
}
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user