On 20.05.2020 01:34, David Miller wrote:
From: Vadim Fedorenko <vfedore...@novek.ru>
Date: Mon, 18 May 2020 23:33:43 +0300

The support for MPLS-in-IPv4 was added earlier. This patchset adds
support for MPLS-in-IPv6.
This adds way too many ifdefs into the C code, please find another way
to abstract this such that you don't need to add ifdefs all over the
place.

Thank you.

This patchset was based on support for MPLS in ipip tunnel which is full
of ifdefs. Can you suggest me a way to eliminate them?

I think that almost all code can be compiled without any ifdef because it
uses constants that are always defined execpt the init/deinit code. The
only way I see is to check presence of AF_MPLS at runtime but I don't know
how to do it right.

Thanks.

Reply via email to