]> git.proxmox.com Git - mirror_ubuntu-eoan-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)
commit9f888160bdcccf0565dd2774956b8d9456e610be
tree6366fff5417a97bbecdfe4d5f4e63c6fe5cb1b97
parent1a61a83ff59378a5613d8c706c4a660c353b62a8
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 f7734fdf61ec6bb848e0bafc1fb8bad2c124bb50
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