diff options
| author | 2018-12-10 21:44:34 +0100 | |
|---|---|---|
| committer | 2018-12-14 13:17:50 -0800 | |
| commit | 2aa55dccf83d7ca9f1da59ae005426c44fbeb890 (patch) | |
| tree | 056d3aec08df6c8c34e5de71792f44296a576f69 /include/linux | |
| parent | Merge branch 'Introduce-NETDEV_PRE_CHANGEADDR' (diff) | |
hns3: prevent building without CONFIG_INET
We now get a link failure when CONFIG_INET is disabled, since
tcp_gro_complete is unavailable:
drivers/net/ethernet/hisilicon/hns3/hns3_enet.o: In function `hns3_set_gro_param':
hns3_enet.c:(.text+0x230c): undefined reference to `tcp_gro_complete'
Add an explicit CONFIG_INET dependency here to avoid the broken
configuration.
Fixes: a6d53b97a2e7 ("net: hns3: Adds GRO params to SKB for the stack")
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
