X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=net%2Fsched%2Fcls_api.c;h=b4d89fbb378212966b93d9cbc25596ce8add064c;hb=25995ff577675b58dbd848b7758e7bad87411947;hp=1616bf5c96272774a655d1440daffd48b8a928fb;hpb=d039ba24f135147f60a13bcaa768189a5b773b6e;p=powerpc.git diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c index 1616bf5c96..b4d89fbb37 100644 --- a/net/sched/cls_api.c +++ b/net/sched/cls_api.c @@ -331,6 +331,8 @@ tcf_fill_node(struct sk_buff *skb, struct tcf_proto *tp, unsigned long fh, 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__pad1 = 0; tcm->tcm_ifindex = tp->q->dev->ifindex; tcm->tcm_parent = tp->classid; tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol); @@ -365,7 +367,7 @@ static int tfilter_notify(struct sk_buff *oskb, struct nlmsghdr *n, return -EINVAL; } - return rtnetlink_send(skb, pid, RTMGRP_TC, n->nlmsg_flags&NLM_F_ECHO); + return rtnetlink_send(skb, pid, RTNLGRP_TC, n->nlmsg_flags&NLM_F_ECHO); } struct tcf_dump_args