diff options
author | Xianting Tian <xianting.tian@linux.alibaba.com> | 2021-06-05 18:31:00 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-07 23:06:46 +0300 |
commit | 85eb1389458d134bdb75dad502cc026c3753a619 (patch) | |
tree | f374e6cbcaf8e7bc5a16f27688b9c4bea75f09a9 /net/core/pktgen.c | |
parent | ec89c2b55dc798096c5c16af4ee0094ff6c8cb3b (diff) | |
download | linux-85eb1389458d134bdb75dad502cc026c3753a619.tar.xz |
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