commit | 89d01748b2354e210b5d4ea47bc25a42a1b42c82 | [log] [tgz] |
---|---|---|
author | Eric Dumazet <edumazet@google.com> | Fri Sep 25 06:38:08 2020 -0700 |
committer | David S. Miller <davem@davemloft.net> | Fri Sep 25 17:04:55 2020 -0700 |
tree | 2d34a726c9e7d6b2c64c0c5859b61b418d45e6df | |
parent | f32f19339596b214c208c0dba716f4b6cc4f6958 [diff] |
team: set dev->needed_headroom in team_setup_by_port() Some devices set needed_headroom. If we ignore it, we might end up crashing in various skb_push() for example in ipgre_header() since some layers assume enough headroom has been reserved. Fixes: 1d76efe1577b ("team: add support for non-ethernet devices") Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>