diff options
author | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2011-03-19 11:13:20 +0100 |
---|---|---|
committer | Jozsef Kadlecsik <kadlec@blackhole.kfki.hu> | 2011-03-19 11:13:20 +0100 |
commit | 9d001ebc259d84a91321b0c339e55e5b0557ef1b (patch) | |
tree | d104dd2dbea2b8596166674b438c5b97c1969d1e /kernel/net | |
parent | f284b0d07b5d99e745312cbcc0fd95a6a4a7f5b4 (diff) |
Fix revision reporting
Revision reporting got broken by the revision checking patch, fixed.
Diffstat (limited to 'kernel/net')
-rw-r--r-- | kernel/net/netfilter/ipset/ip_set_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/net/netfilter/ipset/ip_set_core.c b/kernel/net/netfilter/ipset/ip_set_core.c index 295c803..237fc2a 100644 --- a/kernel/net/netfilter/ipset/ip_set_core.c +++ b/kernel/net/netfilter/ipset/ip_set_core.c @@ -136,7 +136,7 @@ find_set_type_minmax(const char *name, u8 family, u8 *min, u8 *max) found = true; if (type->revision < *min) *min = type->revision; - else if (type->revision > *max) + if (type->revision > *max) *max = type->revision; } rcu_read_unlock(); |