Browse Source

fib_algo: set vnet when destroying algo instance

Reported by:	Konrad Kręciwilk <konrad.kreciwilk@korbank.pl>
MFC after:	2 weeks
main
Alexander V. Chernikov 5 days ago
parent
commit
93dd3adac7
  1. 2
      sys/net/route/fib_algo.c

2
sys/net/route/fib_algo.c

@ -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…
Cancel
Save