ipv6: fix icmp6_dst_alloc()
authorEric Dumazet <eric.dumazet@gmail.com>
Wed, 14 Mar 2012 21:13:11 +0000 (21:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Mar 2012 08:53:42 +0000 (01:53 -0700)
commit122bdf67f15a22bcabf6c2cab3a545d17ccf68dc
tree194cd16507ab67c34280c0c490268514bbe7f86a
parent762ad8a5330325b789cfb6dc896f81cf273ff4e9
ipv6: fix icmp6_dst_alloc()

commit 87a115783 ( ipv6: Move xfrm_lookup() call down into
icmp6_dst_alloc().) forgot to convert one error path, leading
to crashes in mld_sendpack()

Many thanks to Dave Jones for providing a very complete bug report.

Reported-by: Dave Jones <davej@redhat.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/route.c