commit | 24beeab539c6f42c4a93e2ff7c3b5f272e60da45 | [log] [tgz] |
---|---|---|
author | Patrick McHardy <kaber@trash.net> | Wed Jan 23 20:34:48 2008 -0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 28 15:11:20 2008 -0800 |
tree | eb1be7e7d8b3f0f3375bf0d12fd26851e518d9ca | |
parent | 57e1c487a4f5754cb77abeb00adb21faa88c484f [diff] [blame] |
[NET_SCHED]: Use typeful attribute construction helpers Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/sched/act_api.c b/net/sched/act_api.c index e33e43a..41fbd49 100644 --- a/net/sched/act_api.c +++ b/net/sched/act_api.c
@@ -133,7 +133,7 @@ p = s_p; } } - NLA_PUT(skb, TCA_FCNT, 4, &n_i); + NLA_PUT_U32(skb, TCA_FCNT, n_i); nla_nest_end(skb, nest); return n_i;