iproute2/iproute2-2.6.29-1-skbedit-memset.diff
OBS User autobuild e90015251e Accepting request 24485 from network:utilities
Copy from network:utilities/iproute2 based on submit request 24485 from user msmeissn

OBS-URL: https://build.opensuse.org/request/show/24485
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iproute2?expand=0&rev=26
2009-11-16 11:00:45 +00:00

12 lines
294 B
Diff

--- tc/m_skbedit.c 2009-03-24 22:40:54.000000000 +0000
+++ tc/m_skbedit.c 2009-11-11 09:42:09.000000000 +0000
@@ -57,6 +57,8 @@
__u32 flags = 0, priority;
struct tc_skbedit sel = { 0 };
+ memset(&sel, 0, sizeof(struct tc_skbedit));
+
if (matches(*argv, "skbedit") != 0)
return -1;