Re: [PATCHv2 net] bonding: guard ns_targets by CONFIG_IPV6
From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-06-01 09:40:16
From: patchwork-bot+netdevbpf@kernel.org
Date: 2022-06-01 09:40:16
Hello: This patch was applied to netdev/net.git (master) by Paolo Abeni [off-list ref]: On Tue, 31 May 2022 14:37:27 +0800 you wrote:
Guard ns_targets in struct bond_params by CONFIG_IPV6, which could save 256 bytes if IPv6 not configed. Also add this protection for function bond_is_ip6_target_ok() and bond_get_targets_ip6(). Remove the IS_ENABLED() check for bond_opts[] as this will make BOND_OPT_NS_TARGETS uninitialized if CONFIG_IPV6 not enabled. Add a dummy bond_option_ns_ip6_targets_set() for this situation. [...]
Here is the summary with links:
- [PATCHv2,net] bonding: guard ns_targets by CONFIG_IPV6
https://git.kernel.org/netdev/net/c/c4caa500ffeb
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html