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)
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

Simple merge