diff options
| author | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-11-03 00:36:59 +0200 |
|---|---|---|
| committer | Denys Fedoryshchenko <denys.f@collabora.com> | 2026-11-03 00:36:59 +0200 |
| commit | b139b3b85f130b3f07eae278f3b34dee2a464a1b (patch) | |
| tree | d5bb8a4b8b7cc4dbe63d5789094a79c3d213810b | |
| parent | 323a98362b1488f68de8878ad3fd3e58eab398fb (diff) | |
| download | accel-ppp-fix-ipoe-netns-immutable.tar.gz accel-ppp-fix-ipoe-netns-immutable.zip | |
ipoe: use rtnl_newlink_params signature only from 6.15fix-ipoe-netns-immutable
struct rtnl_newlink_params was introduced in 6.15, but the newlink
callback switched to it at 6.13, so the module failed to build on
6.13 and 6.14 kernels with an incompatible pointer type for .newlink.
Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
| -rw-r--r-- | drivers/ipoe/ipoe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/ipoe/ipoe.c b/drivers/ipoe/ipoe.c index 6a4ab978..47dc6955 100644 --- a/drivers/ipoe/ipoe.c +++ b/drivers/ipoe/ipoe.c @@ -1135,7 +1135,7 @@ static int ipoe_ctrl_attached(void) /* Sessions are created through IPOE_CMD_CREATE, which also sets up the * private state. A device made by rtnetlink would have none of it, so * refuse 'ip link add ... type ipoe' explicitly. */ -#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,13,0) +#if LINUX_VERSION_CODE >= KERNEL_VERSION(6,15,0) static int ipoe_newlink(struct net_device *dev, struct rtnl_newlink_params *params, struct netlink_ext_ack *extack) |
