Skip to content
Snippets Groups Projects
Commit 1eefd25a authored by Sun Shouxin's avatar Sun Shouxin Committed by Xibo.Wang
Browse files

net: bonding: Add support for IPV6 ns/na to balance-alb/balance-tlb mode

mainline inclusion
from mainline-v5.4
commit 0da8aa00bfcfeb3f4e6537dd8e2001e0727ba549
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I5UY5E


CVE: NA

--------------------------------

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: default avatarHu Yadi <huyd12@chinatelecom.cn>
Acked-by: default avatarJay Vosburgh <jay.vosburgh@canonical.com>
Signed-off-by: default avatarSun Shouxin <sunshouxin@chinatelecom.cn>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Signed-off-by: default avatarSun Shouxin <sunshouxin@chinatelecom.cn>
parent b2297d93
No related branches found
No related tags found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment