Created attachment 973759 [details] add a pthread_t attribute to the mstate structure and use that instead when creating the thread The UDP mount thread (pthread_t structure) should move into the mount-state structure. This was include as part of the exports/netgroups feature, but is not relevant for the feature itself. These changes have been moved out of the changeset that implements the feature, and should be applied afterwards (patch attached). TODO: find a way to correctly stop the udp-thread.