| To: | "David S. Miller" <davem@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [NET] Add barriers for dst refcnt |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Fri, 4 Feb 2005 18:33:11 +1100 |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040722i |
Hi Dave: In light of the recent discussion about sk_buff, I think we need the following patch for dst_entry. This adds a memory barrier before dst_release drops the refcnt, and a read memory barrier before dst_destroy starts destroying the entry. Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> Cheers, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <herbert@xxxxxxxxxxxxxxxxxxx> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [PATCH 2.6.11 PKT_SCHED]: ipt action: add back pskb_expand_head call, Patrick McHardy |
|---|---|
| Next by Date: | [PATCH 4 2.4.27] pcnet32: Add HomePNA parameter for 79C978., Richard Hobbs |
| Previous by Thread: | [PATCH 2.6.11 PKT_SCHED]: ipt action: add back pskb_expand_head call, Patrick McHardy |
| Next by Thread: | Re: [NET] Add barriers for dst refcnt, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |