diff options
| author | YueHaibing <yuehaibing@huawei.com> | 2019-08-20 17:14:46 +0300 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2019-08-20 23:46:32 +0300 |
| commit | d9bd6d279236a1c90c1e73220c2ae52996c8ff52 (patch) | |
| tree | 16ce982931a60e3d19e7d66ae894ed058ba97ee8 /tools/perf/scripts/python/compaction-times.py | |
| parent | b1b5133db19ca2868b4fedaee0b3660559acc142 (diff) | |
| download | linux-d9bd6d279236a1c90c1e73220c2ae52996c8ff52.tar.xz | |
netdevsim: Fix build error without CONFIG_INET
If CONFIG_INET is not set, building fails:
drivers/net/netdevsim/dev.o: In function `nsim_dev_trap_report_work':
dev.c:(.text+0x67b): undefined reference to `ip_send_check'
Use ip_fast_csum instead of ip_send_check to avoid
dependencies on CONFIG_INET.
Reported-by: Hulk Robot <hulkci@huawei.com>
Fixes: da58f90f11f5 ("netdevsim: Add devlink-trap support")
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Tested-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/compaction-times.py')
0 files changed, 0 insertions, 0 deletions
