OpenCloudOS-Kernel/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 leds: Change led_trigger_blink[_oneshot]() delay parameters to pass-by-value 2023-05-25 12:16:27 +01:00
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 hv_netvsc: Allocate rx indirection table size dynamically 2023-06-07 09:46:49 +01:00
ieee802154 Core WPAN changes: 2023-06-24 15:41:46 -07:00
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 mctp i2c: Switch back to use struct i2c_driver's .probe() 2023-06-13 20:46:20 -07:00
mdio net: mdio: mdio-bitbang: Fix C45 read/write protocol 2023-08-19 12:41:33 +01:00
netdevsim netdevsim: fix uninitialized data in nsim_dev_trap_fa_cookie_write() 2023-07-12 12:46:35 -07:00
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 pptp: Fix fib lookup calls. 2023-07-04 19:39:30 +01:00
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 net: introduce and use skb_frag_fill_page_desc() 2023-05-13 19:47:56 +01:00
vxlan drivers: vxlan: vnifilter: free percpu vni stats on error path 2023-08-06 16:43:07 +01:00
wan net: lapbether: only support ethernet devices 2023-06-15 08:55:22 +01:00
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 Networking changes for 6.5. 2023-06-28 16:43:10 -07:00
xen-netback xen/netback: Fix buffer overrun triggered by unusual packet 2023-08-03 09:04:08 +02:00
Kconfig net: veth: make PAGE_POOL_STATS optional 2023-05-10 09:57:39 +01:00
LICENSE.SRC
Makefile
Space.c
amt.c
bareudp.c
dummy.c
eql.c
geneve.c
gtp.c gtp: Fix use-after-free in __gtp_encap_destroy(). 2023-06-24 15:20:42 -07:00
ifb.c
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
mdio.c
mhi_net.c
mii.c
net_failover.c
netconsole.c
nlmon.c
ntb_netdev.c ntb_netdev: Fix module_init problem 2023-07-08 11:03:53 -04:00
rionet.c
sb1000.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