diff options
-rw-r--r-- | net/sched/act_mirred.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/sched/act_mirred.c b/net/sched/act_mirred.c index 3e7c51a8ca38..2efaf4ee6040 100644 --- a/net/sched/act_mirred.c +++ b/net/sched/act_mirred.c | |||
@@ -107,10 +107,10 @@ static int tcf_mirred_init(struct net *net, struct nlattr *nla, | |||
107 | } else { | 107 | } else { |
108 | if (bind) | 108 | if (bind) |
109 | return 0; | 109 | return 0; |
110 | if (!ovr) { | 110 | |
111 | tcf_hash_release(a, bind); | 111 | tcf_hash_release(a, bind); |
112 | if (!ovr) | ||
112 | return -EEXIST; | 113 | return -EEXIST; |
113 | } | ||
114 | } | 114 | } |
115 | m = to_mirred(a); | 115 | m = to_mirred(a); |
116 | 116 | ||