projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
879e930
)
netlink: fix typo in initialization
author
Jiri Pirko
<
[email protected]
>
Thu, 8 Oct 2009 08:21:46 +0000
(
01:21
-0700)
committer
David S. Miller
<
[email protected]
>
Thu, 8 Oct 2009 08:21:46 +0000
(
01:21
-0700)
Commit
9ef1d4c7c7aca1cd436612b6ca785b726ffb8ed8
("[NETLINK]: Missing
initializations in dumped data") introduced a typo in
initialization. This patch fixes this.
Signed-off-by: Jiri Pirko <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/sched/cls_api.c
patch
|
blob
|
history
diff --git
a/net/sched/cls_api.c
b/net/sched/cls_api.c
index 6a536949cdc0b0701d3850e9f423101828c6e4f2..7cf6c0fbc7a6d930cf2affe67ab7dd930ec490f8 100644
(file)
--- a/
net/sched/cls_api.c
+++ b/
net/sched/cls_api.c
@@
-350,7
+350,7
@@
static int tcf_fill_node(struct sk_buff *skb, struct tcf_proto *tp,
tcm = NLMSG_DATA(nlh);
tcm->tcm_family = AF_UNSPEC;
tcm->tcm__pad1 = 0;
- tcm->tcm__pad
1
= 0;
+ tcm->tcm__pad
2
= 0;
tcm->tcm_ifindex = qdisc_dev(tp->q)->ifindex;
tcm->tcm_parent = tp->classid;
tcm->tcm_info = TC_H_MAKE(tp->prio, tp->protocol);