git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
dp83640: use proper function to free transmit time stamping packets
[pandora-kernel.git]
/
drivers
/
net
/
phy
/
dp83640.c
diff --git
a/drivers/net/phy/dp83640.c
b/drivers/net/phy/dp83640.c
index
c588a16
..
13e5713
100644
(file)
--- a/
drivers/net/phy/dp83640.c
+++ b/
drivers/net/phy/dp83640.c
@@
-1192,7
+1192,7
@@
static void dp83640_txtstamp(struct phy_device *phydev,
case HWTSTAMP_TX_ONESTEP_SYNC:
if (is_sync(skb, type)) {
-
kfree_skb(skb
);
+
skb_complete_tx_timestamp(skb, NULL
);
return;
}
/* fall through */
@@
-1203,7
+1203,7
@@
static void dp83640_txtstamp(struct phy_device *phydev,
case HWTSTAMP_TX_OFF:
default:
-
kfree_skb(skb
);
+
skb_complete_tx_timestamp(skb, NULL
);
break;
}
}