Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 81908
b: refs/heads/master
c: f4f6fb7
h: refs/heads/master
v: v3
  • Loading branch information
Stephen Hemminger authored and David S. Miller committed Feb 1, 2008
1 parent d867f9d commit a0bac64
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 2f0d2f10391e190f940da70cbdc8a61e4dad98eb
refs/heads/master: f4f6fb714f139f45f90c6a5048ee67f9960543f1
4 changes: 2 additions & 2 deletions trunk/net/ipv4/netfilter/nf_nat_proto_gre.c
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,12 @@ static const struct nf_nat_protocol gre = {
#endif
};

int __init nf_nat_proto_gre_init(void)
static int __init nf_nat_proto_gre_init(void)
{
return nf_nat_protocol_register(&gre);
}

void __exit nf_nat_proto_gre_fini(void)
static void __exit nf_nat_proto_gre_fini(void)
{
nf_nat_protocol_unregister(&gre);
}
Expand Down
2 changes: 2 additions & 0 deletions trunk/net/netfilter/xt_hashlimit.c
Original file line number Diff line number Diff line change
Expand Up @@ -624,6 +624,7 @@ static struct xt_match hashlimit_mt_reg[] __read_mostly = {

/* PROC stuff */
static void *dl_seq_start(struct seq_file *s, loff_t *pos)
__acquires(htable->lock)
{
struct proc_dir_entry *pde = s->private;
struct xt_hashlimit_htable *htable = pde->data;
Expand Down Expand Up @@ -656,6 +657,7 @@ static void *dl_seq_next(struct seq_file *s, void *v, loff_t *pos)
}

static void dl_seq_stop(struct seq_file *s, void *v)
__releases(htable->lock)
{
struct proc_dir_entry *pde = s->private;
struct xt_hashlimit_htable *htable = pde->data;
Expand Down

0 comments on commit a0bac64

Please sign in to comment.