Move the NET_LOCK() inside the switch and start documenting which field
authormpi <mpi@openbsd.org>
Tue, 2 Jan 2018 12:52:17 +0000 (12:52 +0000)
committermpi <mpi@openbsd.org>
Tue, 2 Jan 2018 12:52:17 +0000 (12:52 +0000)
commitedce10f0bf583dd1330223d6bf623e5377c28528
treecfc2c399009e1b709d41c6a8fff6d3981a2ac677
parentb8342e0240b186e6bc08fca642b2a26438fcfe01
Move the NET_LOCK() inside the switch and start documenting which field
is protected by which lock.

ok bluhm@, visa@
sys/net/if.c
sys/net/if_var.h