aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched/cls_flow.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/sched/cls_flow.c')
-rw-r--r--net/sched/cls_flow.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/cls_flow.c b/net/sched/cls_flow.c
index 8e227180cabb..15d68f24a521 100644
--- a/net/sched/cls_flow.c
+++ b/net/sched/cls_flow.c
@@ -638,7 +638,7 @@ static int flow_dump(struct net *net, struct tcf_proto *tp, unsigned long fh,
638 return skb->len; 638 return skb->len;
639 639
640nla_put_failure: 640nla_put_failure:
641 nlmsg_trim(skb, nest); 641 nla_nest_cancel(skb, nest);
642 return -1; 642 return -1;
643} 643}
644 644