]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb14f166dcf1d3219fefe42b395df165c78fd038d
tree20c9aeba84c5c97165444d2b9e4bd9ddaabdf2a6
parentd57fccac7bb716b85a87eba34789a85f25ac87e3
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