[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <1371496266.5012.14.camel@LTIRV-MCHAN1.corp.ad.broadcom.com>
Date: Mon, 17 Jun 2013 12:11:06 -0700
From: "Michael Chan" <mchan@...adcom.com>
To: "Benjamin Poirier" <benjamin.poirier@...il.com>
cc: "Nithin Nayak Sujir" <nsujir@...adcom.com>, davem@...emloft.net,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next] tg3: Prevent system hang during repeated
EEH errors.
On Mon, 2013-06-17 at 14:56 -0400, Benjamin Poirier wrote:
> Nevertheless, this hunk
>
> > > @@ -17826,6 +17833,8 @@ static void tg3_io_resume(struct pci_dev *pdev)
> > > if (err) {
> > > tg3_full_unlock(tp);
> > > netdev_err(netdev, "Cannot restart hardware after reset.\n");
> > > + tg3_napi_enable(tp);
> > > + dev_close(netdev);
> > > goto done;
> > > }
>
> duplicates the error handling code already in tg3_restart_hw().
Very good point. We'll modify the patch and re-send. Thanks a lot
Benjamin.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists