From: John Fastabend Date: Wed, 27 Jan 2010 16:38:06 +0000 (+0000) Subject: ixgbe: if ixgbe_copy_dcb_cfg is going to fail learn about it early X-Git-Tag: v2.6.33-rc7~20^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3ce1cc52d2e76b6a6b9d0b52b70eb181497efa50;p=pandora-kernel.git ixgbe: if ixgbe_copy_dcb_cfg is going to fail learn about it early Call ixgbe_copy_dcb_cfg() earlier in the ixgbe_dcbnl_set_all() so that we can learn if this is going to fail as early as possible. Previously, ixgbe_down or ixgbe_close were being called before this check and the IXGBE_RESETTING bit was being set and cleared. Worse if this failed the corresponding ixgbe_up/ndo_open would not called. Signed-off-by: John Fastabend Acked-by: PJ Waskiewicz Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed