# Re: \[PATCH net v4\] team: Move team device type change at the end of team\_port\_add

- From: patchwork-bot+netdevbpf@kernel.org
- Date: 2025-11-26 03:00:39 
- List: netdev
- Page: https://ratatoskr.run/netdev/2025/11/3313035
- Thread: https://ratatoskr.run/netdev/2025/11/3308588/t.md

```text
Hello:

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

On Sat, 22 Nov 2025 02:20:27 +0200 you wrote:
> Attempting to add a port device that is already up will expectedly fail,
> but not before modifying the team device header_ops.
> 
> In the case of the syzbot reproducer the gre0 device is
> already in state UP when it attempts to add it as a
> port device of team0, this fails but before that
> header_ops->create of team0 is changed from eth_header to ipgre_header
> in the call to team_dev_type_check_change.
> 
> [...]

Here is the summary with links:
  - [net,v4] team: Move team device type change at the end of team_port_add
    https://git.kernel.org/netdev/net/c/0ae9cfc454ea

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


```
