]> git.proxmox.com Git - mirror_ubuntu-disco-kernel.git/commitdiff
net sched actions: corrected extack message
authorRoman Mashak <mrv@mojatatu.com>
Sat, 3 Mar 2018 01:52:01 +0000 (20:52 -0500)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Mar 2018 15:19:29 +0000 (10:19 -0500)
Signed-off-by: Roman Mashak <mrv@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_api.c

index 1f65d6ada9ff04d19c589d2b238c0f143d2b30c8..a54fa7b8c2170c3d23bbb7eadf2c3eb311978846 100644 (file)
@@ -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;
        }