aboutsummaryrefslogtreecommitdiffstats
path: root/include/trace/events/neigh.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/trace/events/neigh.h')
-rw-r--r--include/trace/events/neigh.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/events/neigh.h b/include/trace/events/neigh.h
index 62bb17516713..5eaa1fa99171 100644
--- a/include/trace/events/neigh.h
+++ b/include/trace/events/neigh.h
@@ -30,7 +30,7 @@ TRACE_EVENT(neigh_create,
TP_STRUCT__entry(
__field(u32, family)
- __dynamic_array(char, dev, IFNAMSIZ )
+ __string(dev, dev ? dev->name : "NULL")
__field(int, entries)
__field(u8, created)
__field(u8, gc_exempt)