Skip to content
Commit 1dff92e0 authored by Adrian Bunk's avatar Adrian Bunk Committed by David S. Miller
Browse files

[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: default avatarAdrian Bunk <bunk@stusta.de>
Acked-by: default avatarMasahide NAKAMURA <nakam@linux-ipv6.org>
Acked-by: default avatarNoriaki TAKAMIYA <takamiya@po.ntts.co.jp>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent e6a5fdf5
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment