fm10k: move setting shinfo inside ts_tx_enqueue
authorJacob Keller <jacob.e.keller@intel.com>
Wed, 3 Jun 2015 23:31:00 +0000 (16:31 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 17 Jun 2015 21:20:33 +0000 (14:20 -0700)
commite075996ebd14dcd3d1a45172316141fe26d891fa
tree3942d052581f7e78007604c813193c6c6155f3d2
parent608bb146ff48588c43bf6332912ea8796768fb39
fm10k: move setting shinfo inside ts_tx_enqueue

This patch simplifies the code flow for setting the IN_PROGRESS bit of
the shinfo for an skb we will be timestamping.

Reported-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <Krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_ptp.c