]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit6973f3d60ce7b4f02c446f56ab1f60ade20337e9
tree90ea4b2fe248fd3b0e10f846329868c12f8b4123
parentf62185bf216b7744243cb3d3583256a52094f561
[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