Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81906
b: refs/heads/master
c: 4e26fe2
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Feb 1, 2008
1 parent f36b0c6 commit 5361925
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 96eb24d770381b8a257b26183f6b6c131ad51ab9
refs/heads/master: 4e26fe2681e9e3a4a43daab70c9facba3310755b
2 changes: 2 additions & 0 deletions trunk/net/netfilter/nfnetlink_log.c
Original file line number Diff line number Diff line change
Expand Up @@ -866,6 +866,7 @@ static struct hlist_node *get_idx(struct iter_state *st, loff_t pos)
}

static void *seq_start(struct seq_file *seq, loff_t *pos)
__acquires(instances_lock)
{
read_lock_bh(&instances_lock);
return get_idx(seq->private, *pos);
Expand All @@ -878,6 +879,7 @@ static void *seq_next(struct seq_file *s, void *v, loff_t *pos)
}

static void seq_stop(struct seq_file *s, void *v)
__releases(instances_lock)
{
read_unlock_bh(&instances_lock);
}
Expand Down

0 comments on commit 5361925

Please sign in to comment.