diff options
author | Zheng Yongjun <zhengyongjun3@huawei.com> | 2021-06-10 09:41:36 +0800 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2021-06-30 08:49:37 -0400 |
commit | 563bd9fbba96e5912fa2510b2f0ea4ff851e8f67 (patch) | |
tree | 2815cc1c957b68c8663932077739f0bea047eba6 /net/lapb/lapb_timer.c | |
parent | deb0f05255ad4478aae7964a1eb8a20893eb9bce (diff) |
ping: Check return value of function 'ping_queue_rcv_skb'
[ Upstream commit 9d44fa3e50cc91691896934d106c86e4027e61ca ]
Function 'ping_queue_rcv_skb' not always return success, which will
also return fail. If not check the wrong return value of it, lead to function
`ping_rcv` return success.
Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions