On Sunday 17 July 2011 21:14:07 Simon Wunderlich wrote:
Hey Sven,
actually I wanted an ugly macro which keeps the kernel version check in the compat.h only - I tried my luck based on your patch, but i failed miserably... I just can't tame the preprocessor. Sorry. :D
I never expected that you are able to fix it without doing more ugly things inside the source code.
[...]
As a compromise, we might upload compat patches on open-mesh.org for release versions of batman-adv. No maintaining, just "best effort service". We keep some more unmaintained patches there too [1]. What do you think?
That is exactly what we started to discuss. Personally I don't have anything against it, but Marek said that nobody will test it and it will be harder and harder to backport. My answer was that it is already even harder to backport it to 2.6.21 without modifying the actual sources. But at least it is a way to share some work for people which have to work together with.... against a marketing department that doesn't understands that "supports latest linux" doesn't mean some old and rotting linux 2.6.x.
The current steps for the compat patch is to revert David's patch (but modify it to use >= 2.6.29 instead of HAVE_....) and revert my "remove that old compat stuff" patch.
Kind regards, Sven