diff options
| author | Yotam Gigi <yotamg@mellanox.com> | 2016-10-04 09:46:05 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-05-10 10:26:21 +0200 |
| commit | a5cc5dda39b4fb77198e47699121e61a7f0f663e (patch) | |
| tree | 88e6f7dabe53cceba6f8ad02498b72dd4fa18b0f /kernel | |
| parent | afcc40d0bbf06c36c00736e41951d1a917b9d7da (diff) | |
mlxsw: switchx2: Fix misuse of hard_header_len
commit 251d41c58b765f00d73b1b4230cad256e25f2735 upstream.
In order to specify that the mlxsw switchx2 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: 31557f0f9755 ("mlxsw: Introduce Mellanox SwitchX-2 ASIC support")
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 'kernel')
0 files changed, 0 insertions, 0 deletions
