diff options
| author | Saeed Mahameed <saeedm@mellanox.com> | 2015-11-12 19:35:25 +0200 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2015-11-15 18:43:40 -0500 |
| commit | ba6c4c094470dc83a7275000bac2fbd46bd5ab69 (patch) | |
| tree | 0e410e70db169b915554c673d5b2dfc02c4f0bf1 /include | |
| parent | ipvs: use skb_to_full_sk() helper (diff) | |
| download | linux-ba6c4c094470dc83a7275000bac2fbd46bd5ab69.tar.gz 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 'include')
0 files changed, 0 insertions, 0 deletions
