netdev
[Top] [All Lists]

Re: Submission for S2io 10GbE driver

To: ravinandan arakali <ravinandan.arakali@xxxxxxxx>
Subject: Re: Submission for S2io 10GbE driver
From: Jeff Garzik <jgarzik@xxxxxxxxx>
Date: Thu, 19 Feb 2004 22:30:00 -0500
Cc: raghavendra.koushik@xxxxxxxxx, leonid.grossman@xxxxxxxx, netdev@xxxxxxxxxxx, raghavendra.koushik@xxxxxxxx
In-reply-to: <002e01c3f75d$a1413410$8e10100a@xxxxxxxxxxxx>
References: <002e01c3f75d$a1413410$8e10100a@xxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4) Gecko/20030703
ravinandan arakali wrote:
Hi Jeff,
Since the whole nic structure is zeroed out initially, the
"block_virt_addr" is initially NULL. So, if the allocation
succeeds, it will hold a non-NULL value.
So, in the freeSharedMem() if we check for it's non-NULL
value and free it, we should be okay. Do you agree ?


Yes, agreed, sorry if I was not clear earlier.

        Jeff




<Prev in Thread] Current Thread [Next in Thread>