net: ipvlan_l3s: fix kconfig dependency warning
authorRandy Dunlap <rdunlap@infradead.org>
Wed, 13 Feb 2019 16:55:02 +0000 (08:55 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 14 Feb 2019 16:58:37 +0000 (11:58 -0500)
commita37d45b6fa1113f96200abdfdb0d8c454c97a30e
treeec0bde9af0a10ea5a92b506177e6107f00a0bc5c
parentae6279ecb786d9132da0315700580dc23f939986
net: ipvlan_l3s: fix kconfig dependency warning

Fix the kconfig warning in IPVLAN_L3S when neither INET nor IPV6
is enabled:

WARNING: unmet direct dependencies detected for NET_L3_MASTER_DEV
  Depends on [n]: NET [=y] && (INET [=n] || IPV6 [=n])
  Selected by [y]:
  - IPVLAN_L3S [=y] && NETDEVICES [=y] && NET_CORE [=y] && NETFILTER [=y]

Signed-off-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Mahesh Bandewar <maheshb@google.com>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/Kconfig