From: yzhu1 Date: Sat, 23 Nov 2013 07:07:40 +0000 (+0000) Subject: e1000: prevent oops when adapter is being closed and reset simultaneously X-Git-Tag: v3.13-rc3~28^2~12^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6a7d64e3e09e11181a07a2e8cd6af5d6355133be;p=pandora-kernel.git e1000: prevent oops when adapter is being closed and reset simultaneously This change is based on a similar change made to e1000e support in commit bb9e44d0d0f4 ("e1000e: prevent oops when adapter is being closed and reset simultaneously"). The same issue has also been observed on the older e1000 cards. Here, we have increased the RESET_COUNT value to 50 because there are too many accesses to e1000 nic on stress tests to e1000 nic, it is not enough to set RESET_COUT 25. Experimentation has shown that it is enough to set RESET_COUNT 50. Signed-off-by: yzhu1 Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed