| To: | ravinandan.arakali@xxxxxxxx |
|---|---|
| Subject: | Re: [PATCH 2.6.9-rc2 2/8] S2io: sw bug fixes |
| From: | Jeff Garzik <jgarzik@xxxxxxxxx> |
| Date: | Thu, 14 Oct 2004 10:44:21 -0400 |
| Cc: | "'Francois Romieu'" <romieu@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx, leonid.grossman@xxxxxxxx, raghavendra.koushik@xxxxxxxx, rapuru.sriram@xxxxxxxx |
| In-reply-to: | <004201c4b18b$14b2f720$6c10100a@S2IOtech.com> |
| References: | <004201c4b18b$14b2f720$6c10100a@S2IOtech.com> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.3) Gecko/20040922 |
Ravinandan Arakali wrote:
Hi, Attached is the second patch in this submission. It contains the following software bug fixes. Comments: 1) the following code looks wrong: Typically you want to stop the queue _and_ schedule_work(). Otherwise, the net stack will continually call your ->hard_start_xmit() hook with new skbs, _during_ your rst_timer_task. 2) can this 'if' test be removed? there is no harm in unconditionally calling flush_scheduled_work() 3) I do not think that s2io_close should be called from anywhere except the net stack... The following code should not be needed, unless I am missing something:
4) the following code is correct, but should additional propagate the register_netdev() error code back to its caller, upon failure: sp->rx_csum = 1; /* Rx chksum verify enabled by default */ |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 2.6.9-rc2 1/8] S2io: cosmetic changes, Jeff Garzik |
|---|---|
| Next by Date: | Re: [PATCH 2.6.9-rc2 3/8] S2io: optimizations, Jeff Garzik |
| Previous by Thread: | [PATCH 2.6.9-rc2 2/8] S2io: sw bug fixes, Ravinandan Arakali |
| Next by Thread: | RE: [PATCH 2.6.9-rc2 2/8] S2io: sw bug fixes, Raghavendra Koushik |
| Indexes: | [Date] [Thread] [Top] [All Lists] |