diff options
author | Saeed Mahameed | 2015-11-12 18:35:25 +0100 |
---|---|---|
committer | David S. Miller | 2015-11-16 00:43:40 +0100 |
commit | ba6c4c094470dc83a7275000bac2fbd46bd5ab69 (patch) | |
tree | 0e410e70db169b915554c673d5b2dfc02c4f0bf1 /drivers/net/ethernet/mellanox/mlx5/core/en_main.c | |
parent | ipvs: use skb_to_full_sk() helper (diff) | |
download | kernel-qcow2-linux-ba6c4c094470dc83a7275000bac2fbd46bd5ab69.tar.gz kernel-qcow2-linux-ba6c4c094470dc83a7275000bac2fbd46bd5ab69.tar.xz kernel-qcow2-linux-ba6c4c094470dc83a7275000bac2fbd46bd5ab69.zip |
net/mlx5e: Fix inline header size calculation
mlx5e_get_inline_hdr_size didn't take into account the vlan insertion
into the inline WQE segment.
This could lead to max inline violation in cases where
skb_headlen(skb) + VLAN_HLEN >= sq->max_inline.
Fixes: 3ea4891db8d0 ("net/mlx5e: Fix LSO vlan insertion")
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx5/core/en_main.c')
0 files changed, 0 insertions, 0 deletions