Colin's commit went a step further and protected tun.incomingPacket with a lock on shutdown, but let's see if the tun.stack.Close() call actually solves that on its own. Suggested-by: kshangx <[email protected]> Suggested-by: Colin Adler <[email protected]> Signed-off-by: Jason A. Donenfeld <[email protected]>