[PATCH v7 07/13] netlink, pasta: refactor function pasta_ns_conf()