net_sched actions: use nla_parse_nested()
Use nla_parse_nested instead of open-coding the call to nla_parse() with the attribute data/len. Signed-off-by: NJohannes Berg <johannes.berg@intel.com> Acked-by: NCong Wang <xiyou.wangcong@gmail.com> Signed-off-by: NDavid S. Miller <davem@davemloft.net>
Showing
想要评论请 注册 或 登录