net: bonding: Add support for IPV6 ns/na to balance-alb/balance-tlb mode
mainline inclusion from mainline-v5.4 commit 0da8aa00 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: NHu Yadi <huyd12@chinatelecom.cn> Acked-by: NJay Vosburgh <jay.vosburgh@canonical.com> Signed-off-by: NSun Shouxin <sunshouxin@chinatelecom.cn> Signed-off-by: NDavid S. Miller <davem@davemloft.net> Signed-off-by: NSun Shouxin <sunshouxin@chinatelecom.cn>
Showing
想要评论请 注册 或 登录