| To: | "David S. Miller" <davem@xxxxxxxxxxxxx>, netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [NET] Fix neighbour tbl->entries race |
| From: | Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> |
| Date: | Tue, 2 Nov 2004 22:26:51 +1100 |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040722i |
Hi Dave: This patch turns neigh_table's entries counter into an atomic_t. This is needed since tbl->entries is updated with no locks held. This is no big deal in practice since it'll be off by a few entries at most which is way less than any of the neighbour thresholds. 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: linux 2.6.9 still having network code problems, Andrew Morton |
|---|---|
| Next by Date: | IPv6 dead in -bk11, Jeff Garzik |
| Previous by Thread: | linux 2.6.9 still having network code problems, Christopher Chan |
| Next by Thread: | Re: [NET] Fix neighbour tbl->entries race, jamal |
| Indexes: | [Date] [Thread] [Top] [All Lists] |