diff options
author | Jiri Pirko <jpirko@redhat.com> | 2009-10-08 01:21:46 -0700 |
---|---|---|
committer | Willy Tarreau <w@1wt.eu> | 2009-11-07 17:03:36 +0100 |
commit | 8ef3a2f6cfcc081debe804323fff7a206aa8f9d0 (patch) | |
tree | 170f7d22ea794a02018721d3155e2976edfb5d12 | |
parent | 6b02d49e75d379666c9ffc99a7e436bace7c5a3f (diff) | |
download | linux-2.4-8ef3a2f6cfcc081debe804323fff7a206aa8f9d0.tar.gz |
netlink: fix typo in initialization
(backported from 2.6 commit ad61df918c44316940404891d5082c63e79c256a)
Commit 9ef1d4c7c7aca1cd436612b6ca785b726ffb8ed8 ("[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>
Signed-off-by: Willy Tarreau <w@1wt.eu>
-rw-r--r-- | net/sched/cls_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_api.c b/net/sched/cls_api.c index a1936daa336f7d..9286d4f5f4187b 100644 --- a/net/sched/cls_api.c +++ b/net/sched/cls_api.c @@ -296,7 +296,7 @@ tcf_fill_node(struct sk_buff *skb, struct tcf_proto *tp, unsigned long fh, tcm = NLMSG_DATA(nlh); tcm->tcm_family = AF_UNSPEC; tcm->tcm__pad1 = 0; - tcm->tcm__pad1 = 0; + tcm->tcm__pad2 = 0; tcm->tcm_ifindex = tp->q->dev->ifindex; tcm->tcm_parent = tp->classid; tcm->tcm_handle = 0; |