Skip to content

Commit

Permalink
vnet: add CURVNET_ASSERT_SET for !VIMAGE
Browse files Browse the repository at this point in the history
Reported by:	ler
Sponsored by:	Rubicon Communications, LLC ("Netgate")

(cherry picked from commit 430e0e4)
  • Loading branch information
mjguzik authored and fichtner committed Mar 22, 2024
1 parent 878c694 commit aa4fd75
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sys/net/vnet.h
Original file line number Diff line number Diff line change
Expand Up @@ -399,6 +399,7 @@ do { \
#define CURVNET_SET(arg)
#define CURVNET_SET_QUIET(arg)
#define CURVNET_RESTORE()
#define CURVNET_ASSERT_SET() \

#define VNET_LIST_RLOCK()
#define VNET_LIST_RLOCK_NOSLEEP()
Expand Down

0 comments on commit aa4fd75

Please sign in to comment.