summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRoman Mashak <mrv@mojatatu.com>2018-03-03 04:52:01 +0300
committerDavid S. Miller <davem@davemloft.net>2018-03-05 18:19:29 +0300
commitd143b9e3055358e160d8d5975d889ce5c149625a (patch)
tree1097ceb7cf7970a4d9c2b78f2b870ebdb0147ce2 /net
parentca435f88c102e051207a95d769a1b37cc471d875 (diff)
downloadlinux-d143b9e3055358e160d8d5975d889ce5c149625a.tar.xz
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')
-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;
}