]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Use no-offset function in skb header copy
authorTariq Toukan <tariqt@mellanox.com>
Thu, 15 Feb 2018 16:27:06 +0000 (18:27 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 28 Mar 2018 00:17:27 +0000 (17:17 -0700)
commit652e4ca0d736963fdfdb72cad2c697bd687e519b
treeef2462345d70e1449ca3c9048c5b9d25b10bad3b
parent1af197e2d5666ffc05bc533e2e4c65d86f8c0072
net/mlx5e: Use no-offset function in skb header copy

In copying skb header to skb->data, replace the call to
skb_copy_to_linear_data_offset() with a zero offset with
the call to the no-offset function skb_copy_to_linear_data().

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c