net: simplify flags for tx timestamping
This patch removes the abstraction introduced by the union skb_shared_tx in the shared skb data. The access of the different union elements at several places led to some confusion about accessing the shared tx_flags e.g. in skb_orphan_try(). http://marc.info/?l=linux-netdev&m=128084897415886&w=2 Signed-off-by: Oliver Hartkopp <socketcan@hartkopp.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
4d5870ec10
commit
2244d07bfa
@ -3016,7 +3016,7 @@ void skb_tstamp_tx(struct sk_buff *orig_skb,
|
||||
} else {
|
||||
/*
|
||||
* no hardware time stamps available,
|
||||
* so keep the skb_shared_tx and only
|
||||
* so keep the shared tx_flags and only
|
||||
* store software time stamp
|
||||
*/
|
||||
skb->tstamp = ktime_get_real();
|
||||
|
Reference in New Issue
Block a user