Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
net/bonding: fix dropping valid MAC packets
[ upstream commit 30bfba5 ] Currently, by default, bond4 will first try to enable allmulti and then enable promiscuous if fail to enable allmulti. On reception, whether unicast and multicast packets should be dropped depends on which mode has been enabled on the bonding interface. In fact, if MAC address of packets in mac_addrs array of bonding interface, these packets should not be dropped. However, now only check the default MAC address, which will cause the packets with MAC added by the '.mac_addr_add' are dropped. Fixes: 68218b8 ("net/bonding: prefer allmulti to promiscuous for LACP") Signed-off-by: Huisong Li <lihuisong@huawei.com> Reviewed-by: Andrew Rybchenko <andrew.rybchenko@oktetlabs.ru>
- Loading branch information