net/mlx5e: Do not modify the TX SKB
authorAchiad Shochat <achiad@mellanox.com>
Tue, 29 Dec 2015 12:58:29 +0000 (14:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Jan 2016 19:11:50 +0000 (14:11 -0500)
commit34802a42b3528b0e18ea4517c8b23e1214a09332
tree20c9aeba84c5c97165444d2b9e4bd9ddaabdf2a6
parent33c152972e625bd29f083dda75a37263f8b95a41
net/mlx5e: Do not modify the TX SKB

If the SKB is cloned, or has an elevated users count, someone else
can be looking at it at the same time.

Signed-off-by: Achiad Shochat <achiad@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/en.h
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c