summaryrefslogtreecommitdiff
path: root/net/sched/act_api.c
diff options
context:
space:
mode:
authorRoman Mashak <mrv@mojatatu.com>2018-03-02 20:52:01 -0500
committerDavid S. Miller <davem@davemloft.net>2018-03-05 10:19:29 -0500
commitd143b9e3055358e160d8d5975d889ce5c149625a (patch)
tree1097ceb7cf7970a4d9c2b78f2b870ebdb0147ce2 /net/sched/act_api.c
parentca435f88c102e051207a95d769a1b37cc471d875 (diff)
downloadlwn-d143b9e3055358e160d8d5975d889ce5c149625a.tar.gz
lwn-d143b9e3055358e160d8d5975d889ce5c149625a.zip
net sched actions: corrected extack message
Signed-off-by: Roman Mashak <mrv@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_api.c')
-rw-r--r--net/sched/act_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/act_api.c b/net/sched/act_api.c
index 1f65d6ada9ff..a54fa7b8c217 100644
--- a/net/sched/act_api.c
+++ b/net/sched/act_api.c
@@ -1083,7 +1083,7 @@ tcf_add_notify(struct net *net, struct nlmsghdr *n, struct list_head *actions,
if (tca_get_fill(skb, actions, portid, n->nlmsg_seq, n->nlmsg_flags,
RTM_NEWACTION, 0, 0) <= 0) {
- NL_SET_ERR_MSG(extack, "Failed to fill netlink attributes while deleting TC action");
+ NL_SET_ERR_MSG(extack, "Failed to fill netlink attributes while adding TC action");
kfree_skb(skb);
return -EINVAL;
}