net: ipv6: Check neighbor pointer in NS reply timeout
If neighbor is not found, then ignore the timeout. Coverity-CID: 157583 Change-Id: Ia2199970bd862e43901f5717025271c11c74af5e Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
This commit is contained in:
parent
66f5dfa04f
commit
d3301aae88
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ static void ns_reply_timeout(struct k_work *work)
|
|||
|
||||
struct net_nbr *nbr = get_nbr_from_data(data);
|
||||
|
||||
if (!data) {
|
||||
if (!nbr) {
|
||||
NET_DBG("NS timeout but no nbr data");
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue