commit | f3b96f4b6b2d8726c5382b3e429b85369939c04c | [log] [tgz] |
---|---|---|
author | Xianting Tian <xianting.tian@linux.alibaba.com> | Sat Jun 05 11:31:00 2021 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Jul 19 09:44:47 2021 +0200 |
tree | 1a67f7765cce1f5aceb509d99bb088d60ebe11bd | |
parent | 87c39048ec7f1f102f8ae232823c52d39c7e3f8c [diff] |
virtio_net: Remove BUG() to avoid machine dead [ Upstream commit 85eb1389458d134bdb75dad502cc026c3753a619 ] We should not directly BUG() when there is hdr error, it is better to output a print when such error happens. Currently, the caller of xmit_skb() already did it. Signed-off-by: Xianting Tian <xianting.tian@linux.alibaba.com> Reviewed-by: Leon Romanovsky <leonro@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>