[IPV6]: Do no rely on skb->dst before it is assigned.
authorYOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Wed, 9 May 2007 21:01:59 +0000 (14:01 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Fri, 11 May 2007 06:45:58 +0000 (23:45 -0700)
commite76b2b2567b83448c2ee85a896433b96150c92e6
tree4f75e3b425c265fbbb4668c7452f3d3a8962dc56
parent5bb1ab09e4f6287c0b6c9cdbd463147cbd003f54
[IPV6]: Do no rely on skb->dst before it is assigned.

Because skb->dst is assigned in ip6_route_input(), it is really
bad to use it in hop-by-hop option handler(s).

Closes: Bug #8450 (Eric Sesterhenn <snakebyte@gmx.de>)
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/exthdrs.c