net: sched: cls: use nla_nest_cancel instead of nlmsg_trim
authorJiri Pirko <jiri@resnulli.us>
Tue, 9 Dec 2014 21:23:29 +0000 (22:23 +0100)
committerDavid S. Miller <davem@davemloft.net>
Wed, 10 Dec 2014 02:49:58 +0000 (21:49 -0500)
commit6ea3b446b9369c971bcab2a723d814d2295c77d3
treecd245bff2e8eec5a08909211399f1c88ade08ef4
parentf9c5c62db1c9bc20f396c3527b5074c4e7f1c275
net: sched: cls: use nla_nest_cancel instead of nlmsg_trim

To cancel nesting, this function is more convenient.

Signed-off-by: Jiri Pirko <jiri@resnulli.us>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_cgroup.c
net/sched/cls_flow.c
net/sched/cls_fw.c
net/sched/cls_route.c
net/sched/cls_rsvp.h
net/sched/cls_tcindex.c