patch-2.4.0-test6 linux/net/core/neighbour.c
Next file: linux/net/core/netfilter.c
Previous file: linux/net/bridge/br.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri Aug 4 18:18:49 2000
- Orig file:
v2.4.0-test5/linux/net/core/neighbour.c
- Orig date:
Mon Jul 10 16:47:27 2000
diff -u --recursive --new-file v2.4.0-test5/linux/net/core/neighbour.c linux/net/core/neighbour.c
@@ -407,7 +407,7 @@
for (h=0; h<=PNEIGH_HASHMASK; h++) {
np = &tbl->phash_buckets[h];
- for (np = &tbl->phash_buckets[h]; (n=*np) != NULL; np = &n->next) {
+ while ((n=*np) != NULL) {
if (n->dev == dev || dev == NULL) {
*np = n->next;
if (tbl->pdestructor)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)