]> git.baikalelectronics.ru Git - kernel.git/commit
net-timestamp: Merge shared code between phy and regular timestamping
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 4 Sep 2014 17:31:10 +0000 (13:31 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 6 Sep 2014 00:43:45 +0000 (17:43 -0700)
commitc72e4d881ace7327a418096fe4aba854d32b31d9
tree29679300ee05829ae912b9af2eb05a3f96094b26
parent7502f7b2f10761f30e27a55ce5d0ffe6db097d99
net-timestamp: Merge shared code between phy and regular timestamping

This change merges the shared bits that exist between skb_tx_tstamp and
skb_complete_tx_timestamp.  By doing this we can avoid the two diverging as
there were already changes pushed into skb_tx_tstamp that hadn't made it
into the other function.

In addition this resolves issues with the fact that
skb_complete_tx_timestamp was included in linux/skbuff.h even though it was
only compiled in if phy timestamping was enabled.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c
net/core/timestamping.c