linux/drivers/net
Hangbin Liu e74216b8de bonding: fix macvlan over alb bond support
The commit 14af9963ba ("bonding: Support macvlans on top of tlb/rlb mode
bonds") aims to enable the use of macvlans on top of rlb bond mode. However,
the current rlb bond mode only handles ARP packets to update remote neighbor
entries. This causes an issue when a macvlan is on top of the bond, and
remote devices send packets to the macvlan using the bond's MAC address
as the destination. After delivering the packets to the macvlan, the macvlan
will rejects them as the MAC address is incorrect. Consequently, this commit
makes macvlan over bond non-functional.

To address this problem, one potential solution is to check for the presence
of a macvlan port on the bond device using netif_is_macvlan_port(bond->dev)
and return NULL in the rlb_arp_xmit() function. However, this approach
doesn't fully resolve the situation when a VLAN exists between the bond and
macvlan.

So let's just do a partial revert for commit 14af9963ba in rlb_arp_xmit().
As the comment said, Don't modify or load balance ARPs that do not originate
locally.

Fixes: 14af9963ba ("bonding: Support macvlans on top of tlb/rlb mode bonds")
Reported-by: susan.zheng@veritas.com
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2117816
Signed-off-by: Hangbin Liu <liuhangbin@gmail.com>
Acked-by: Jay Vosburgh <jay.vosburgh@canonical.com>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
2023-08-24 10:07:13 +02:00
..
appletalk
arcnet
bonding bonding: fix macvlan over alb bond support 2023-08-24 10:07:13 +02:00
caif
can net: validate veth and vxcan peer ifindexes 2023-08-20 11:40:03 +01:00
dsa net: dsa: mt7530: fix handling of 802.1X PAE frames 2023-08-19 12:29:33 +01:00
ethernet ibmveth: Use dcbf rather than dcbfl 2023-08-23 11:51:16 +01:00
fddi
fjes
hamradio
hippi
hyperv
ieee802154
ipa net: ipa: only reset hashed tables when supported 2023-07-25 20:34:20 -07:00
ipvlan ipvlan: Fix a reference count leak warning in ipvlan_ns_exit() 2023-08-18 19:38:44 -07:00
mctp
mdio net: mdio: mdio-bitbang: Fix C45 read/write protocol 2023-08-19 12:41:33 +01:00
netdevsim
pcs net: pcs: Add missing put_device call in miic_create 2023-08-11 10:21:07 +01:00
phy net: phy: Fix deadlocking in phy_error() invocation 2023-08-19 19:26:50 +01:00
plip
ppp
pse-pd
slip
team team: Fix incorrect deletion of ETH_P_8021AD protocol vid from slaves 2023-08-15 19:03:11 -07:00
thunderbolt
usb USB: zaurus: Add ID for A-300/B-500/C-700 2023-08-01 14:44:27 -07:00
vmxnet3
vxlan drivers: vxlan: vnifilter: free percpu vni stats on error path 2023-08-06 16:43:07 +01:00
wan
wireguard wireguard: allowedips: expand maximum node depth 2023-08-07 12:26:57 -07:00
wireless wifi: iwlwifi: mvm: add dependency for PTP clock 2023-08-15 10:54:06 +02:00
wwan
xen-netback xen/netback: Fix buffer overrun triggered by unusual packet 2023-08-03 09:04:08 +02:00
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c
ifb.c
Kconfig
LICENSE.SRC
loopback.c
macsec.c macsec: use DEV_STATS_INC() 2023-08-06 13:19:57 +01:00
macvlan.c macvlan: add forgotten nla_policy for IFLA_MACVLAN_BC_CUTOFF 2023-07-25 19:48:50 -07:00
macvtap.c
Makefile
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c
rionet.c
sb1000.c
Space.c
sungem_phy.c
tap.c net: tap_open(): set sk_uid from current_fsuid() 2023-08-02 10:06:06 +01:00
tun.c drivers: net: prevent tun_build_skb() to exceed the packet size limit 2023-08-07 19:14:41 -07:00
veth.c net: validate veth and vxcan peer ifindexes 2023-08-20 11:40:03 +01:00
virtio_net.c Including fixes from ipsec and netfilter. 2023-08-18 06:52:23 +02:00
vrf.c vrf: Fix lockdep splat in output path 2023-07-18 12:49:57 +02:00
vsockmon.c
xen-netfront.c