net/sched: introduce ACT_P_BOUND return code
[sfrench/cifs-2.6.git] / net / sched / act_tunnel_key.c
index 0c8aa7e686eab0cb3f9d8d27faf5996e80ec293f..300b08aa82831dd622c1956eec3ef67f89d831e9 100644 (file)
@@ -401,7 +401,7 @@ static int tunnel_key_init(struct net *net, struct nlattr *nla,
                return err;
        exists = err;
        if (exists && bind)
-               return 0;
+               return ACT_P_BOUND;
 
        switch (parm->t_action) {
        case TCA_TUNNEL_KEY_ACT_RELEASE: