diff options
Diffstat (limited to 'net/core/dev.c')
-rw-r--r-- | net/core/dev.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/core/dev.c b/net/core/dev.c index 5a4fbc7405e..2308cce4804 100644 --- a/net/core/dev.c +++ b/net/core/dev.c | |||
@@ -129,6 +129,7 @@ | |||
129 | #include <linux/random.h> | 129 | #include <linux/random.h> |
130 | #include <trace/events/napi.h> | 130 | #include <trace/events/napi.h> |
131 | #include <trace/events/net.h> | 131 | #include <trace/events/net.h> |
132 | #include <trace/events/skb.h> | ||
132 | #include <linux/pci.h> | 133 | #include <linux/pci.h> |
133 | 134 | ||
134 | #include "net-sysfs.h" | 135 | #include "net-sysfs.h" |
@@ -2576,6 +2577,7 @@ static void net_tx_action(struct softirq_action *h) | |||
2576 | clist = clist->next; | 2577 | clist = clist->next; |
2577 | 2578 | ||
2578 | WARN_ON(atomic_read(&skb->users)); | 2579 | WARN_ON(atomic_read(&skb->users)); |
2580 | trace_kfree_skb(skb, net_tx_action); | ||
2579 | __kfree_skb(skb); | 2581 | __kfree_skb(skb); |
2580 | } | 2582 | } |
2581 | } | 2583 | } |