patch-2.2.11 linux/net/core/neighbour.c
Next file: linux/net/core/rtnetlink.c
Previous file: linux/net/core/dev.c
Back to the patch index
Back to the overall index
- Lines: 11
- Date:
Mon Aug 9 12:04:41 1999
- Orig file:
v2.2.10/linux/net/core/neighbour.c
- Orig date:
Thu Apr 22 19:45:19 1999
diff -u --recursive --new-file v2.2.10/linux/net/core/neighbour.c linux/net/core/neighbour.c
@@ -354,8 +354,8 @@
u32 h;
for (h=0; h<=PNEIGH_HASHMASK; h++) {
- np = &tbl->phash_buckets[h];
- for (np = &tbl->phash_buckets[h]; (n=*np) != NULL; np = &n->next) {
+ np = &tbl->phash_buckets[h];
+ while ((n=*np) != NULL) {
if (n->dev == dev || dev == NULL) {
*np = n->next;
synchronize_bh();
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)