Put the KSTAT part in a different commit. It is not related to the getifaddr fix, so let's keep them separate.