[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190820104839.511367fa@cakuba.netronome.com>
Date: Tue, 20 Aug 2019 10:48:39 -0700
From: Jakub Kicinski <jakub.kicinski@...ronome.com>
To: YueHaibing <yuehaibing@...wei.com>
Cc: <davem@...emloft.net>, <idosch@...lanox.com>, <jiri@...lanox.com>,
<mcroce@...hat.com>, <linux-kernel@...r.kernel.org>,
<netdev@...r.kernel.org>
Subject: Re: [PATCH v2 net-next] netdevsim: Fix build error without
CONFIG_INET
On Tue, 20 Aug 2019 22:14:46 +0800, YueHaibing wrote:
> 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@...wei.com>
> Fixes: da58f90f11f5 ("netdevsim: Add devlink-trap support")
> Signed-off-by: YueHaibing <yuehaibing@...wei.com>
Thank you!
Acked-by: Jakub Kicinski <jakub.kicinski@...ronome.com>
Powered by blists - more mailing lists