* Re: Fwd: [PATCH 1 of 3] move destructor to struct neigh_parms [not found] <OFB2D358DB.F7A4CFB5-ON872570FA.007138E4-882570FA.00714019@us.ibm.com> @ 2006-01-18 21:27 ` Michael S. Tsirkin 0 siblings, 0 replies; only message in thread From: Michael S. Tsirkin @ 2006-01-18 21:27 UTC (permalink / raw) To: Shirley Ma; +Cc: netdev, openib-general-bounces, LKML, openib-general 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 ^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2006-01-18 21:27 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <OFB2D358DB.F7A4CFB5-ON872570FA.007138E4-882570FA.00714019@us.ibm.com>
2006-01-18 21:27 ` Fwd: [PATCH 1 of 3] move destructor to struct neigh_parms Michael S. Tsirkin
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox