summaryrefslogtreecommitdiff
path: root/pfinet/ethernet.c
diff options
context:
space:
mode:
Diffstat (limited to 'pfinet/ethernet.c')
-rw-r--r--pfinet/ethernet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/pfinet/ethernet.c b/pfinet/ethernet.c
index 0ce5cf0d..ab2d238c 100644
--- a/pfinet/ethernet.c
+++ b/pfinet/ethernet.c
@@ -137,6 +137,7 @@ ethernet_xmit (struct sk_buff *skb, struct device *dev)
err = device_write (ether_port, D_NOWAIT, 0, skb->data, skb->len, &count);
assert (err == 0);
assert (count == skb->len);
+ dev_kfree_skb (skb, FREE_WRITE);
return 0;
}