mbox series

[net,0/2] bonding/team: basic dev->needed_headroom support

Message ID 20200925133808.1242950-1-edumazet@google.com
Headers show
Series bonding/team: basic dev->needed_headroom support | expand

Message

Eric Dumazet Sept. 25, 2020, 1:38 p.m. UTC
Both bonding and team drivers support non-ethernet devices,
but missed proper dev->needed_headroom initializations.

syzbot found a crash caused by bonding, I mirrored the fix in team as well.

Eric Dumazet (2):
  bonding: set dev->needed_headroom in bond_setup_by_slave()
  team: set dev->needed_headroom in team_setup_by_port()

 drivers/net/bonding/bond_main.c | 1 +
 drivers/net/team/team.c         | 1 +
 2 files changed, 2 insertions(+)

Comments

David Miller Sept. 26, 2020, 12:06 a.m. UTC | #1
From: Eric Dumazet <edumazet@google.com>
Date: Fri, 25 Sep 2020 06:38:06 -0700

> Both bonding and team drivers support non-ethernet devices,
> but missed proper dev->needed_headroom initializations.
> 
> syzbot found a crash caused by bonding, I mirrored the fix in team as well.

Series applied, thanks Eric.