]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
net_sched: cancel nest attribute on failure in tcf_exts_dump()
authorCong Wang <cwang@twopensource.com>
Wed, 16 Jul 2014 21:25:30 +0000 (14:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jul 2014 21:58:52 +0000 (14:58 -0700)
commit9cc63db5e1f2f1c387f1a4c9983cf1364fe4ef95
treeda968fe917b63e42f40364ae5992f5e277559a55
parent4bbe3f5c7174e989989c04d41e6640ac0b944dac
net_sched: cancel nest attribute on failure in tcf_exts_dump()

Like other places, we need to cancel the nest attribute after
we start. Fortunately the netlink message will not be sent on
failure, so it's not a big problem at all.

Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: "David S. Miller" <davem@davemloft.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Cong Wang <cwang@twopensource.com>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/cls_api.c