annotate some data structures with the lock protecting them.
authordlg <dlg@openbsd.org>
Tue, 27 Feb 2018 06:16:23 +0000 (06:16 +0000)
committerdlg <dlg@openbsd.org>
Tue, 27 Feb 2018 06:16:23 +0000 (06:16 +0000)
commite0f86f93e72ff22ee415a17c90dd7aad384bff85
tree477af036dbd77d05f12caceab88b69d1e51f351b
parent6f5d1d028d733dc213ab066047bc97ebe2028840
annotate some data structures with the lock protecting them.

in practice this means NET_ASSERT_LOCKED() near the lists and trees
holding the different types of gre interfaces.

suggested by mpi@
sys/net/if_gre.c