]> git.baikalelectronics.ru Git - kernel.git/commit
net_sched actions: use nla_parse_nested()
authorJohannes Berg <johannes.berg@intel.com>
Wed, 26 Oct 2016 12:44:33 +0000 (14:44 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 29 Oct 2016 19:01:01 +0000 (15:01 -0400)
commitf2afd6f3fdb367d190e90b3c939a3482c890cb1d
treecf12ae4a9fea43cf637b4ae8dc64b523891c1b9d
parent428b08ffb0ce6ce02f71d0ed3a46b2cf7e0e33a3
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: Johannes Berg <johannes.berg@intel.com>
Acked-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_api.c