openvswitch: partially restore kmod-mpls dependency
authorStijn Tintel <stijn@linux-ipv6.be>
Wed, 15 Dec 2021 13:11:56 +0000 (15:11 +0200)
committerYousong Zhou <yszhou4tech@gmail.com>
Thu, 16 Dec 2021 05:27:24 +0000 (13:27 +0800)
commit6fe18ac4de8816ffbcdb97a705a067f2cfc5b1cf
treeb082d84ba828c528430e8f2265080942ce1e0136
parent5ffc45126d886f8d4767f9784f561e14a41bb493
openvswitch: partially restore kmod-mpls dependency

Enabling OPENVSWITCH in the kernel config selects MPLS. This exposes the
MPLS_ROUTING symbol, which is missing if kmod-mpls is not enabled. On
kernel 5.4 this problem doesn't show up, as the Open vSwitch package
uses the in-tree kernel modules rather than the upstream ones.

Restore the kmod-mpls dependency when using the upstream kernel modules
to fix build.

Reported-by: Matthew Hagan <mnhagan88@gmail.com>
Signed-off-by: Stijn Tintel <stijn@linux-ipv6.be>
net/openvswitch/Makefile