diff options
Diffstat (limited to 'net/sched/act_mirred.c')
| -rw-r--r-- | net/sched/act_mirred.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/sched/act_mirred.c b/net/sched/act_mirred.c index a42a3b257226..268545050ddb 100644 --- a/net/sched/act_mirred.c +++ b/net/sched/act_mirred.c | |||
| @@ -98,6 +98,8 @@ static int tcf_mirred_init(struct net *net, struct nlattr *nla, | |||
| 98 | return ret; | 98 | return ret; |
| 99 | ret = ACT_P_CREATED; | 99 | ret = ACT_P_CREATED; |
| 100 | } else { | 100 | } else { |
| 101 | if (bind) | ||
| 102 | return 0; | ||
| 101 | if (!ovr) { | 103 | if (!ovr) { |
| 102 | tcf_hash_release(a, bind); | 104 | tcf_hash_release(a, bind); |
| 103 | return -EEXIST; | 105 | return -EEXIST; |
