]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
dccp: Fix bracing in dccp_feat_list_lookup.
authorGerrit Renker <gerrit@erg.abdn.ac.uk>
Thu, 20 Nov 2008 09:03:08 +0000 (01:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Nov 2008 09:03:08 +0000 (01:03 -0800)
From: Gerrit Renker <gerrit@erg.abdn.ac.uk>

Signed-off-by: David S. Miller <davem@davemloft.net>
net/dccp/feat.c

index 47ce9abaf72b8a5d652120e70e957a2b020efc20..2c2216f64b1b6aaccaece8e8644cad0cfc16e13c 100644 (file)
@@ -171,11 +171,12 @@ static struct dccp_feat_entry *dccp_feat_list_lookup(struct list_head *fn_list,
 {
        struct dccp_feat_entry *entry;
 
-       list_for_each_entry(entry, fn_list, node)
+       list_for_each_entry(entry, fn_list, node) {
                if (entry->feat_num == feat_num && entry->is_local == is_local)
                        return entry;
                else if (entry->feat_num > feat_num)
                        break;
+       }
        return NULL;
 }