[Bugs] [Bug 1211913] nfs : racy condition in export/netgroup feature

bugzilla at redhat.com bugzilla at redhat.com
Mon Apr 20 19:05:27 UTC 2015


https://bugzilla.redhat.com/show_bug.cgi?id=1211913



--- Comment #4 from Niels de Vos <ndevos at redhat.com> ---
>From my understanding and talking to Jiffin, the refresh-thread is active while
the nfs-server is exiting. This causes a (partial) cleanup of some of the
structures, which are later on accessed again, resulting in the segfault.

I see two options to fix this permanently, but need to look into the details to
judge what fix is most reasonable:

1. replace the dict_t structures by rcu-lists
2. lock the structures while the refresh thread is running and stop the thread 
   (+wait) on shutting down the nfs-server

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=bhKb1QdCxh&a=cc_unsubscribe


More information about the Bugs mailing list