diff options
author | Yangbo Lu <[email protected]> | 2021-04-27 12:21:59 +0800 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-04-27 14:10:15 -0700 |
commit | 5c5416f5d4c75fe6aba56f6c2c45a070b5e7cc78 (patch) | |
tree | 4695af6b67ad7e9e1fce5e93e93dd19be221ba01 /scripts/gdb/linux | |
parent | cf536ea3c7eefb26082836eb7f930b293dd38345 (diff) |
net: dsa: no longer clone skb in core driver
It was a waste to clone skb directly in dsa_skb_tx_timestamp().
For one-step timestamping, a clone was not needed. For any failure of
port_txtstamp (this may usually happen), the skb clone had to be freed.
So this patch moves skb cloning for tx timestamp out of dsa core, and
let drivers clone skb in port_txtstamp if they really need.
Signed-off-by: Yangbo Lu <[email protected]>
Tested-by: Kurt Kanzenbach <[email protected]>
Acked-by: Richard Cochran <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux')
0 files changed, 0 insertions, 0 deletions