diff mbox series

[net-next,1/1] net sched actions: corrected extack message

Message ID 1520041921-24348-1-git-send-email-mrv@mojatatu.com
State Accepted, archived
Delegated to: David Miller
Headers show
Series [net-next,1/1] net sched actions: corrected extack message | expand

Commit Message

Roman Mashak March 3, 2018, 1:52 a.m. UTC
Signed-off-by: Roman Mashak <mrv@mojatatu.com>
---
 net/sched/act_api.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

David Miller March 5, 2018, 3:20 p.m. UTC | #1
From: Roman Mashak <mrv@mojatatu.com>
Date: Fri,  2 Mar 2018 20:52:01 -0500

> Signed-off-by: Roman Mashak <mrv@mojatatu.com>

Applied.
diff mbox series

Patch

diff --git a/net/sched/act_api.c b/net/sched/act_api.c
index 1f65d6a..a54fa7b 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;
 	}