[IPV6] NDISC: Calculate packet length correctly for allocation.
authorDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:00:06 +0000 (21:00 -0800)
committerDavid S. Miller <davem@sunset.davemloft.net>
Sun, 3 Dec 2006 05:06:31 +0000 (21:06 -0800)
commitd54a81d341af80875c201890500f727c8188dd9b
tree90ea4b2fe248fd3b0e10f846329868c12f8b4123
parent97be852f81c5bb114aab31974af2c061eb86a6de
[IPV6] NDISC: Calculate packet length correctly for allocation.

MAX_HEADER does not include the ipv6 header length in it,
so we need to add it in explicitly.

With help from YOSHIFUJI Hideaki.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ndisc.c