Re: [Patch] 2.4.32 - Neighbour Cache (ARP) State machine bug Fixed

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 7 Feb 2006 17:50:03 -0800, Pradeep Vincent <[email protected]> wrote:

>One more attempt. Attaching the diff file as well.
>
>Signed off by: Pradeep Vincent <[email protected]>
>
>--- old/net/core/neighbour.c    Wed Nov  9 16:48:10 2005
>+++ new/net/core/neighbour.c    Tue Feb  7 17:38:26 2006
>@@ -14,6 +14,7 @@
>  *     Vitaly E. Lavrov        releasing NULL neighbor in neigh_add.
>  *     Harald Welte            Add neighbour cache statistics like rtstat
>  *     Harald Welte            port neighbour cache rework from 2.6.9-rcX
>+ *     Pradeep Vincent         fix neighbour cache state machine
>  */
>
> #include <linux/config.h>
>@@ -705,6 +706,13 @@
>                        neigh_release(n);
>                        continue;
>                }
>+               /* Move to NUD_STALE state */
>+               if (n->nud_state&NUD_REACHABLE &&
>+                   now - n->confirmed > n->parms->reachable_time) {

Hmm, you're suffering tab -> space conversion syndrome :(

Grant.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux