Thread (3 messages) flat view 3 messages, 3 authors, 22d ago

Re: [PATCH v2 net] bonding: use skb_cow_head() in bond_do_alb_xmit() and rlb_arp_xmit()

From: patchwork-bot+netdevbpf@kernel.org
Date: 2026-09-04 22:21:17

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

On Thu,  3 Sep 2026 14:39:40 +0000 you wrote:
In bond_do_alb_xmit() and rlb_arp_xmit(), make sure to unclone
skb head via skb_cow_head() before modifying the source MAC address
(Ethernet header and ARP payload) to avoid silent corruption if
the skb is shared or cloned. Avoid caching the header pointers
across skb_cow_head().

In rlb_arp_xmit(), only modify arp->mac_src if it differs from
tx_slave->dev->dev_addr to avoid an unnecessary copy and head
reallocation.

[...]
Here is the summary with links:
  - [v2,net] bonding: use skb_cow_head() in bond_do_alb_xmit() and rlb_arp_xmit()
    https://git.kernel.org/netdev/net/c/1746ef2e2df2

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help