aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/tg3.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@woody.linux-foundation.org>2007-04-06 21:15:30 -0400
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-04-06 21:15:30 -0400
commitbbef618190fb484b28b7d441e6fc5d524027c4fa (patch)
treebb9dc3902e225621127f02f95251b77b9191e4df /drivers/net/tg3.c
parenta21bd69e1509b43823c317c3bf3f7ffa99884356 (diff)
parentb8fa2f3a82069304acac1f9e957d491585f4f49a (diff)
Merge master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6
* master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6: [TG3]: Fix crash during tg3_init_one(). [IPV6]: Revert recent change to rt6_check_dev(). [XFRM]: beet: fix IP option decapsulation [XFRM]: beet: fix beet mode decapsulation [XFRM]: beet: use IPOPT_NOP for option padding [XFRM]: beet: fix IP option encapsulation
Diffstat (limited to 'drivers/net/tg3.c')
-rw-r--r--drivers/net/tg3.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c
index 0acee9f324e9..256969e1300c 100644
--- a/drivers/net/tg3.c
+++ b/drivers/net/tg3.c
@@ -4834,8 +4834,10 @@ static int tg3_chip_reset(struct tg3 *tp)
4834 * sharing or irqpoll. 4834 * sharing or irqpoll.
4835 */ 4835 */
4836 tp->tg3_flags |= TG3_FLAG_CHIP_RESETTING; 4836 tp->tg3_flags |= TG3_FLAG_CHIP_RESETTING;
4837 tp->hw_status->status = 0; 4837 if (tp->hw_status) {
4838 tp->hw_status->status_tag = 0; 4838 tp->hw_status->status = 0;
4839 tp->hw_status->status_tag = 0;
4840 }
4839 tp->last_tag = 0; 4841 tp->last_tag = 0;
4840 smp_mb(); 4842 smp_mb();
4841 synchronize_irq(tp->pdev->irq); 4843 synchronize_irq(tp->pdev->irq);