aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorYotam Gigi <yotamg@mellanox.com>2016-10-04 09:46:05 +0200
committerDavid S. Miller <davem@davemloft.net>2016-10-04 20:27:54 -0400
commit251d41c58b765f00d73b1b4230cad256e25f2735 (patch)
tree8306708465b3fa7376f9063b1e386d1456ac6d5a /lib
parentmlxsw: spectrum: Fix misuse of hard_header_len (diff)
downloadlinux-dev-251d41c58b765f00d73b1b4230cad256e25f2735.tar.xz
linux-dev-251d41c58b765f00d73b1b4230cad256e25f2735.zip
mlxsw: switchx2: Fix misuse of hard_header_len
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>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions