system-linux: fix compilation error if IFLA_DSA_MASTER is not supported
authorChristian Marangi <ansuelsmth@gmail.com>
Thu, 9 Nov 2023 16:24:36 +0000 (17:24 +0100)
committerChristian Marangi <ansuelsmth@gmail.com>
Thu, 9 Nov 2023 16:34:33 +0000 (17:34 +0100)
commit841b05fbb91eb7076ec3170756693bd4f1e9708e
tree94a24462194e9ef5efb5da6c187fe7155fcdee37
parent5c9ecc1ff74fa676454baae21132c50b806214d4
system-linux: fix compilation error if IFLA_DSA_MASTER is not supported

Changing DSA port conduit was introduced only with kernel 6.1. Fix
compilation error by disabling support for this on unsupported kernels.

Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
system-linux.c