From: "Michael S. Tsirkin" <mst@mellanox.co.il>
To: Shirley Ma <xma@us.ibm.com>
Cc: netdev <netdev@vger.kernel.org>,
openib-general-bounces@openib.org,
LKML <linux-kernel@vger.kernel.org>,
openib-general@openib.org
Subject: Re: Fwd: [PATCH 1 of 3] move destructor to struct neigh_parms
Date: Wed, 18 Jan 2006 23:27:32 +0200 [thread overview]
Message-ID: <20060118212732.GA32283@mellanox.co.il> (raw)
In-Reply-To: <OFB2D358DB.F7A4CFB5-ON872570FA.007138E4-882570FA.00714019@us.ibm.com>
Quoting Shirley Ma <xma@us.ibm.com>:
> Subject: Re: Fwd: [PATCH 1 of 3] move destructor to struct neigh_parms
>
>
> >+ if (neigh->parms->neigh_destructor)
> >+ (neigh->parms->neigh_destructor)(neigh);
>
> Is that safe without checking neigh->parms here?
Yes, we have neigh_parms_put(neigh->parms); a couple of lines below.
--
MST
parent reply other threads:[~2006-01-18 21:27 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <OFB2D358DB.F7A4CFB5-ON872570FA.007138E4-882570FA.00714019@us.ibm.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060118212732.GA32283@mellanox.co.il \
--to=mst@mellanox.co.il \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=openib-general-bounces@openib.org \
--cc=openib-general@openib.org \
--cc=xma@us.ibm.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox