iproute2/iproute2-2.6.29-1-skbedit-memset.diff

12 lines
284 B
Diff
Raw Normal View History

--- tc/m_skbedit.c 2009-01-27 10:42:39.000000000 +0000
+++ tc/m_skbedit.c 2009-01-27 10:45:09.000000000 +0000
@@ -57,6 +57,8 @@
__u16 queue_mapping;
__u32 flags = 0, priority;
+ memset(&sel, 0, sizeof(struct tc_skbedit));
+
if (matches(*argv, "skbedit") != 0)
return -1;