On Wed, 2011-03-02 at 10:46 -0800, prasanna.panchamukhi@riverbed.com
wrote:
This race conditions occurs with reentrant e1000_down(), which gets
called by multiple threads while driver unload or reset.
This patch fixes the race condition when one thread tries to destroy
the memory allocated for tx buffer_info, while another thread still
happen to access tx buffer_info.
This patch fixes the above race condition using kref count.
Signed-off-by: Prasanna S. Panchamukhi
[off-list ref]
---
drivers/net/e1000/e1000.h | 2 +
drivers/net/e1000/e1000_main.c | 41
+++++++++++++++++++++++++++++++++++++--
2 files changed, 40 insertions(+), 3 deletions(-)
Thanks Prasanna! I have added the patch to my e1000 queue of patches.