summaryrefslogtreecommitdiff
path: root/drivers/ipoe/Makefile
AgeCommit message (Collapse)Author
44 hoursipoe: probe netdevice.h for netns_local/netns_immutableDenys Fedoryshchenko
Stable kernels backport the netns_local -> netns_immutable rename (6.12.114+, e.g. Debian 13's 6.12.115), so LINUX_VERSION_CODE can no longer tell which member the headers provide and the module fails to build with "'struct net_device' has no member named 'netns_local'". Grep the kernel's include/linux/netdevice.h from the Kbuild Makefile and pass -DHAVE_NETNS_IMMUTABLE or -DHAVE_NETNS_LOCAL accordingly. The version checks stay only as a fallback if the probe finds neither. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
2012-06-26ipoe: initial implementation of kernel moduleKozlov Dmitry