[IPV6] __inet6_csk_dst_store(): fix check-after-use
authorAdrian Bunk <bunk@stusta.de>
Mon, 15 Oct 2007 08:37:55 +0000 (01:37 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Mon, 15 Oct 2007 19:26:32 +0000 (12:26 -0700)
commit1dff92e09eb3adfcf3d3dffd0507b850f911f280
tree87cce6ce11f242e5983f1ba41e438f1fd4df33d1
parente6a5fdf56e3a5fc179cd8c8c19081a9a11882b0c
[IPV6] __inet6_csk_dst_store(): fix check-after-use

The Coverity checker spotted that we have already oops'ed if "dst" was
NULL.

Since "dst" being NULL doesn't seem to be possible at this point this
patch removes the NULL check.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Acked-by: Masahide NAKAMURA <nakam@linux-ipv6.org>
Acked-by: Noriaki TAKAMIYA <takamiya@po.ntts.co.jp>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/inet6_connection_sock.c