We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b4263cc commit f04bdbdCopy full SHA for f04bdbd
nat46/modules/nat46-netdev.c
@@ -120,8 +120,10 @@ static void nat46_netdev_setup(struct net_device *dev)
120
dev->mtu = 16384; /* iptables does reassembly. Rather than using ETH_DATA_LEN, let's try to get as much mileage as we can with the Linux stack */
121
#if LINUX_VERSION_CODE < KERNEL_VERSION(6,12,0)
122
dev->features = NETIF_F_NETNS_LOCAL;
123
-#else
+#elif LINUX_VERSION_CODE < KERNEL_VERSION(6,15,0)
124
dev->netns_local = true;
125
+#else
126
+ dev->netns_immutable = true;
127
#endif
128
dev->flags = IFF_NOARP | IFF_POINTOPOINT;
129
}
0 commit comments