diff options
author | Xianting Tian <xianting.tian@linux.alibaba.com> | 2021-06-05 17:31:00 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-07 22:06:46 +0200 |
commit | 85eb1389458d134bdb75dad502cc026c3753a619 (patch) | |
tree | f374e6cbcaf8e7bc5a16f27688b9c4bea75f09a9 /net/core/pktgen.c | |
parent | net: ethernet: ixp4xx_eth: Use devm_platform_get_and_ioremap_resource() (diff) | |
download | linux-85eb1389458d134bdb75dad502cc026c3753a619.tar.xz linux-85eb1389458d134bdb75dad502cc026c3753a619.zip |
virtio_net: Remove BUG() to avoid machine dead
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>
Diffstat (limited to 'net/core/pktgen.c')
0 files changed, 0 insertions, 0 deletions