OSDN Git Service

Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next-2.6
[android-x86/kernel.git] / net / sched / sch_api.c
index 3af1061..692d9a4 100644 (file)
@@ -1447,6 +1447,8 @@ static int tc_fill_tclass(struct sk_buff *skb, struct Qdisc *q,
        nlh = NLMSG_NEW(skb, pid, seq, event, sizeof(*tcm), flags);
        tcm = NLMSG_DATA(nlh);
        tcm->tcm_family = AF_UNSPEC;
+       tcm->tcm__pad1 = 0;
+       tcm->tcm__pad2 = 0;
        tcm->tcm_ifindex = qdisc_dev(q)->ifindex;
        tcm->tcm_parent = q->handle;
        tcm->tcm_handle = q->handle;