net: icmpv6: Return valid verdict in case of success
Verdict NET_DROP returned even though it handled properly. Change-Id: I61e04b12f971b39585e983aa9a1007c63acd8b4e Signed-off-by: Ravi kumar Veeramally <ravikumar.veeramally@linux.intel.com>
This commit is contained in:
parent
e17fe10673
commit
5a26d8dacd
|
@ -144,9 +144,10 @@ static enum net_verdict handle_echo_request(struct net_buf *orig)
|
||||||
goto drop;
|
goto drop;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
net_nbuf_unref(orig);
|
||||||
net_stats_update_icmp_sent();
|
net_stats_update_icmp_sent();
|
||||||
|
|
||||||
return NET_DROP;
|
return NET_OK;
|
||||||
|
|
||||||
drop:
|
drop:
|
||||||
net_nbuf_unref(buf);
|
net_nbuf_unref(buf);
|
||||||
|
|
Loading…
Reference in a new issue