netlink: fix typo in initialization
Commit 9ef1d4c7c7
("[NETLINK]: Missing
initializations in dumped data") introduced a typo in
initialization. This patch fixes this.
Signed-off-by: Jiri Pirko <jpirko@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
879e930413
commit
ad61df918c
1 changed files with 1 additions and 1 deletions
|
@ -350,7 +350,7 @@ static int tcf_fill_node(struct sk_buff *skb, struct tcf_proto *tp,
|
||||||
tcm = NLMSG_DATA(nlh);
|
tcm = NLMSG_DATA(nlh);
|
||||||
tcm->tcm_family = AF_UNSPEC;
|
tcm->tcm_family = AF_UNSPEC;
|
||||||
tcm->tcm__pad1 = 0;
|
tcm->tcm__pad1 = 0;
|
||||||
tcm->tcm__pad1 = 0;
|
tcm->tcm__pad2 = 0;
|
||||||
tcm->tcm_ifindex = qdisc_dev(tp->q)->ifindex;
|
tcm->tcm_ifindex = qdisc_dev(tp->q)->ifindex;
|
||||||
tcm->tcm_parent = tp->classid;
|
tcm->tcm_parent = tp->classid;
|
||||||
tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol);
|
tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol);
|
||||||
|
|
Loading…
Reference in a new issue