]> 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)
commit77fb23ac43517309dd9a22d9d58cf974dbd2081e
treeef2462345d70e1449ca3c9048c5b9d25b10bad3b
parent007e2e6c1b47c04c0863b5d483bdfab5d0b79dc5
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