]> git.baikalelectronics.ru Git - kernel.git/commit
net: bonding: Add support for IPV6 ns/na to balance-alb/balance-tlb mode
authorSun Shouxin <sunshouxin@chinatelecom.cn>
Fri, 28 Jan 2022 14:44:42 +0000 (09:44 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 31 Jan 2022 11:24:12 +0000 (11:24 +0000)
commit0da8aa00bfcfeb3f4e6537dd8e2001e0727ba549
tree054fa1c51e4a968933728468214be6587a5ba81a
parent4f0e30407ef6f2075b8e86d54be42e787087cd61
net: bonding: Add support for IPV6 ns/na to balance-alb/balance-tlb mode

Since ipv6 neighbor solicitation and advertisement messages
isn't handled gracefully in bond6 driver, we can see packet
drop due to inconsistency between mac address in the option
message and source MAC .

Another examples is ipv6 neighbor solicitation and advertisement
messages from VM via tap attached to host bridge, the src mac
might be changed through balance-alb mode, but it is not synced
with Link-layer address in the option message.

The patch implements bond6's tx handle for ipv6 neighbor
solicitation and advertisement messages.

Suggested-by: Hu Yadi <huyd12@chinatelecom.cn>
Acked-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Signed-off-by: Sun Shouxin <sunshouxin@chinatelecom.cn>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/bonding/bond_alb.c