summaryrefslogtreecommitdiff
path: root/Documentation/hwmon/pmbus.rst
diff options
context:
space:
mode:
authorXin Long <lucien.xin@gmail.com>2022-12-09 18:21:38 +0300
committerJakub Kicinski <kuba@kernel.org>2022-12-13 02:18:25 +0300
commit8a321cf7becc6c065ae595b837b826a2a81036b9 (patch)
tree5a270103ce4029003641188384a70b2f649986b2 /Documentation/hwmon/pmbus.rst
parent1280d4b76f3402645aa7075a53f49a3a14be07a8 (diff)
downloadlinux-8a321cf7becc6c065ae595b837b826a2a81036b9.tar.xz
net: add IFF_NO_ADDRCONF and use it in bonding to prevent ipv6 addrconf
Currently, in bonding it reused the IFF_SLAVE flag and checked it in ipv6 addrconf to prevent ipv6 addrconf. However, it is not a proper flag to use for no ipv6 addrconf, for bonding it has to move IFF_SLAVE flag setting ahead of dev_open() in bond_enslave(). Also, IFF_MASTER/SLAVE are historical flags used in bonding and eql, as Jiri mentioned, the new devices like Team, Failover do not use this flag. So as Jiri suggested, this patch adds IFF_NO_ADDRCONF in priv_flags of the device to indicate no ipv6 addconf, and uses it in bonding and moves IFF_SLAVE flag setting back to its original place. Signed-off-by: Xin Long <lucien.xin@gmail.com> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'Documentation/hwmon/pmbus.rst')
0 files changed, 0 insertions, 0 deletions