diff options
author | Gerrit Renker <gerrit@erg.abdn.ac.uk> | 2008-11-20 01:03:08 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-11-20 01:03:08 -0800 |
commit | 3d3e35aa78c9498eed3209c9d82376085ed0c36f (patch) | |
tree | 76c349b4017f63ed8e0ac7f9d96ce5b64c8118b0 | |
parent | f4bdd264b43cc60dccb617afce2859dffdd7a935 (diff) | |
download | op-kernel-dev-3d3e35aa78c9498eed3209c9d82376085ed0c36f.zip op-kernel-dev-3d3e35aa78c9498eed3209c9d82376085ed0c36f.tar.gz |
dccp: Fix bracing in dccp_feat_list_lookup.
From: Gerrit Renker <gerrit@erg.abdn.ac.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | net/dccp/feat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/dccp/feat.c b/net/dccp/feat.c index 47ce9ab..2c2216f 100644 --- a/net/dccp/feat.c +++ b/net/dccp/feat.c @@ -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; } |