diff options
author | Patrick McHardy <kaber@trash.net> | 2008-01-23 23:34:48 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:11:20 -0500 |
commit | 24beeab539c6f42c4a93e2ff7c3b5f272e60da45 (patch) | |
tree | eb1be7e7d8b3f0f3375bf0d12fd26851e518d9ca /net/sched/act_api.c | |
parent | 57e1c487a4f5754cb77abeb00adb21faa88c484f (diff) |
[NET_SCHED]: Use typeful attribute construction helpers
Signed-off-by: Patrick McHardy <kaber@trash.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_api.c')
-rw-r--r-- | net/sched/act_api.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/act_api.c b/net/sched/act_api.c index e33e43abe969..41fbd496abac 100644 --- a/net/sched/act_api.c +++ b/net/sched/act_api.c | |||
@@ -133,7 +133,7 @@ static int tcf_del_walker(struct sk_buff *skb, struct tc_action *a, | |||
133 | p = s_p; | 133 | p = s_p; |
134 | } | 134 | } |
135 | } | 135 | } |
136 | NLA_PUT(skb, TCA_FCNT, 4, &n_i); | 136 | NLA_PUT_U32(skb, TCA_FCNT, n_i); |
137 | nla_nest_end(skb, nest); | 137 | nla_nest_end(skb, nest); |
138 | 138 | ||
139 | return n_i; | 139 | return n_i; |