projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b3e85a
)
net/mlx5e: IPOIB, Add a missing skb_pull
author
Tariq Toukan
<
[email protected]
>
Thu, 31 May 2018 15:04:23 +0000
(18:04 +0300)
committer
Saeed Mahameed
<
[email protected]
>
Fri, 1 Jun 2018 23:48:14 +0000
(16:48 -0700)
A call to mlx5e_tx_skb_pull_inline was mistakenly dropped
in the cited patch. Get it back.
Fixes: 043dc78ecf07 ("net/mlx5e: TX, Use actual WQE size for SQ edge fill")
Signed-off-by: Tariq Toukan <
[email protected]
>
Signed-off-by: Saeed Mahameed <
[email protected]
>
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
b/drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
index 9829ee02de31a3aec7ae91dbe6d920ce64e7c0e2..725c06221e95697f0311cb9e8809367f1f4cd56b 100644
(file)
--- a/
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
+++ b/
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c
@@
-705,6
+705,7
@@
netdev_tx_t mlx5i_sq_xmit(struct mlx5e_txqsq *sq, struct sk_buff *skb,
if (ihs) {
memcpy(eseg->inline_hdr.start, skb_data, ihs);
+ mlx5e_tx_skb_pull_inline(&skb_data, &skb_len, ihs);
eseg->inline_hdr.sz = cpu_to_be16(ihs);
dseg += ds_cnt_inl;
}