diff options
| author | Yotam Gigi <yotamg@mellanox.com> | 2016-10-04 09:46:04 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:01 +0200 |
| commit | 7893f7289884251a3bb7c83e31a29093f4401c15 (patch) | |
| tree | 57063210b320f8b3ec6c9dac4b6978858ef1b98c /net/ipv6/tcp_ipv6.c | |
| parent | 32cff698d06fa6a91c12147276f3727da81320f3 (diff) | |
mlxsw: spectrum: Fix misuse of hard_header_len
commit feb7d387a6cf6c1ec66d4a2b6d4b2cc52309876e upstream.
In order to specify that the mlxsw spectrum driver needs additional
headroom for packets, there have been use of the hard_header_len field of
the netdevice struct.
This commit changes that to use needed_headroom instead, as this is the
correct way to do that.
Fixes: 56ade8fe3fe1 ("mlxsw: spectrum: Add initial support for Spectrum ASIC")
Signed-off-by: Yotam Gigi <yotamg@mellanox.com>
Acked-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/ipv6/tcp_ipv6.c')
0 files changed, 0 insertions, 0 deletions
