diff options
author | Moshe Shemesh <moshe@mellanox.com> | 2017-08-08 15:56:37 +0300 |
---|---|---|
committer | Saeed Mahameed <saeedm@mellanox.com> | 2017-08-30 21:20:43 +0300 |
commit | 6aace17e64f4aa1c49802c46bd10688968b3787f (patch) | |
tree | b48f81b9492882c33445d3a338658eb6b399dd6b /drivers/net/virtio_net.c | |
parent | 191220396db840822fc818edf03c49f0c02eb237 (diff) |
net/mlx5e: Fix inline header size for small packets
Fix inline header size, make sure it is not greater than skb len.
This bug effects small packets, for example L2 packets with size < 18.
Fixes: ae76715d153e ("net/mlx5e: Check the minimum inline header mode before xmit")
Signed-off-by: Moshe Shemesh <moshe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Diffstat (limited to 'drivers/net/virtio_net.c')
0 files changed, 0 insertions, 0 deletions