[IPV6]: Fix ipv6 address fetching in raw6_icmp_error().
authorDavid S. Miller <davem@davemloft.net>
Mon, 14 Apr 2008 06:14:15 +0000 (23:14 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Apr 2008 06:14:15 +0000 (23:14 -0700)
commitb45e9189c058bfa495073951ff461ee0eea968be
treea620ecd6443b456bdc4b2f0d144d11ee953b166d
parent2ed9926e16094ad143b96b09c64cba8bcba05ee1
[IPV6]: Fix ipv6 address fetching in raw6_icmp_error().

Fixes kernel bugzilla 10437

Based almost entirely upon a patch by Dmitry Butskoy.

When deciding what raw sockets to deliver the ICMPv6
to, we should use the addresses in the ICMPv6 quoted
IPV6 header, not the top-level one.

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