Re: [PATCH] IPv6: Don't Process ND Messages with Invalid Options

From: David S. Miller (davem@redhat.com)
Date: Thu Sep 26 2002 - 16:31:31 EST


   From: YOSHIFUJI Hideaki / $B5HF#1QL@(B <yoshfuji@linux-ipv6.org>
   Date: Wed, 25 Sep 2002 13:30:31 +0900 (JST)

   Linux happened to process invalid ND messages with invalid options
   such as
    - length of ND options is 0
    - length of ND options is not enough
   Specification says that such messages must be silently discarded.
   This patch parses/checks ND options before it changes state of
   neighbour / address etc. and ignores such messages.
   
   Following patch is against linux-2.4.19.

Patch applied to 2.4.x and 2.5.x, thanks a lot.

Let us hope more patches like this one are coming :-)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Sep 30 2002 - 22:00:28 EST