[PATCH v2 11/33] net: use ns_common_init()