commit | 61b132f67c0d69ff367a8b52f42f0ececffc89e4 | [log] [tgz] |
---|---|---|
author | Zheng Yongjun <zhengyongjun3@huawei.com> | Thu Jun 10 09:41:36 2021 +0800 |
committer | Sasha Levin <sashal@kernel.org> | Wed Jun 30 08:47:20 2021 -0400 |
tree | 3bbdcddb7d1d52ca098670f42d4ca1afb945535d | |
parent | 08c389de6d53ce6055573e4edd4e2010d1789f05 [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>