summaryrefslogtreecommitdiff
path: root/accel-pppd/lua/lua_bit.c
diff options
context:
space:
mode:
authorDenys Fedoryshchenko <denys.f@collabora.com>2026-11-03 00:26:17 +0200
committerDenys Fedoryshchenko <denys.f@collabora.com>2026-11-03 00:26:17 +0200
commit323a98362b1488f68de8878ad3fd3e58eab398fb (patch)
treea3beb475080f2e856f610962ae496c27c63ef0bc /accel-pppd/lua/lua_bit.c
parentd80cdc61e82f7beb578f6c8232644f508ec95bb5 (diff)
downloadaccel-ppp-323a98362b1488f68de8878ad3fd3e58eab398fb.tar.gz
accel-ppp-323a98362b1488f68de8878ad3fd3e58eab398fb.zip
ipoe: probe netdevice.h for netns_local/netns_immutable
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>
Diffstat (limited to 'accel-pppd/lua/lua_bit.c')
0 files changed, 0 insertions, 0 deletions