diff options
author | Saeed Mahameed <saeedm@mellanox.com> | 2015-11-12 17:35:25 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-15 23:43:40 (GMT) |
commit | ba6c4c094470dc83a7275000bac2fbd46bd5ab69 (patch) | |
tree | 0e410e70db169b915554c673d5b2dfc02c4f0bf1 /crypto | |
parent | 340c78e5906264c42f9415005c7ba0a4efcfe735 (diff) | |
download | linux-ba6c4c094470dc83a7275000bac2fbd46bd5ab69.tar.xz |
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 'crypto')
0 files changed, 0 insertions, 0 deletions