Commit fb2ff7dd authored by Xianting Tian's avatar Xianting Tian Committed by Yang Yingliang
Browse files

virtio_net: Remove BUG() to avoid machine dead



stable inclusion
from linux-4.19.198
commit 34218ccb387c1e5e94b2baa6e337fb0367edede0

--------------------------------

[ Upstream commit 85eb1389 ]

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: default avatarXianting Tian <xianting.tian@linux.alibaba.com>
Reviewed-by: default avatarLeon Romanovsky <leonro@nvidia.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
parent 38cb5d45
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment