[PATCH v8 08/14] netlink, pasta: refactor function pasta_ns_conf()