diff options
-rw-r--r-- | net/bridge/netfilter/ebtables.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/bridge/netfilter/ebtables.c b/net/bridge/netfilter/ebtables.c index b489ed262fa5..7d8ead52d25f 100644 --- a/net/bridge/netfilter/ebtables.c +++ b/net/bridge/netfilter/ebtables.c | |||
@@ -699,7 +699,7 @@ ebt_check_entry(struct ebt_entry *e, struct ebt_table_info *newinfo, | |||
699 | } else if (t->u.target->checkentry && | 699 | } else if (t->u.target->checkentry && |
700 | !t->u.target->checkentry(name, e, NULL, t->data, hookmask)) { | 700 | !t->u.target->checkentry(name, e, NULL, t->data, hookmask)) { |
701 | module_put(t->u.target->me); | 701 | module_put(t->u.target->me); |
702 | ret = -EFAULT; | 702 | ret = -EINVAL; |
703 | goto cleanup_watchers; | 703 | goto cleanup_watchers; |
704 | } | 704 | } |
705 | (*cnt)++; | 705 | (*cnt)++; |