]> git.baikalelectronics.ru Git - kernel.git/commit
ipv6: fix NULL reference in proxy neighbor discovery
authorstephen hemminger <shemminger@vyatta.com>
Mon, 21 Jun 2010 11:00:13 +0000 (11:00 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Jun 2010 04:16:57 +0000 (21:16 -0700)
commitf49f6770754d044c152ddec6a0562b942e7e743d
tree6366fff5417a97bbecdfe4d5f4e63c6fe5cb1b97
parent75c5e22149af69d964ecd5de9c6149eab40d0e72
ipv6: fix NULL reference in proxy neighbor discovery

The addition of TLLAO option created a kernel OOPS regression
for the case where neighbor advertisement is being sent via
proxy path.  When using proxy, ipv6_get_ifaddr() returns NULL
causing the NULL dereference.

Change causing the bug was:
commit 3cbb3e0e95165b83eb1c1dfe67848b31a7f1d848
Author: Octavian Purdila <opurdila@ixiacom.com>
Date:   Fri Oct 2 11:39:15 2009 +0000

    make TLLAO option for NA packets configurable

Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ndisc.c