mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[NET_SCHED]: Use typeful attribute construction helpers
Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
57e1c487a4
commit
24beeab539
11 changed files with 26 additions and 31 deletions
|
@ -133,7 +133,7 @@ static int tcf_del_walker(struct sk_buff *skb, struct tc_action *a,
|
|||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue