Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 63818
b: refs/heads/master
c: 3af8e31
h: refs/heads/master
v: v3
  • Loading branch information
Jesper Juhl authored and David S. Miller committed Aug 8, 2007
1 parent 7645ea8 commit 5b25a46
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: 864c5a4d37b1f25e3c36dd00a09158eae455a8fd
refs/heads/master: 3af8e31cf57646284b5f77f9d57d2c22fa77485a
7 changes: 6 additions & 1 deletion trunk/net/ipv4/netfilter/ipt_recent.c
Original file line number Diff line number Diff line change
Expand Up @@ -387,12 +387,17 @@ static int recent_seq_open(struct inode *inode, struct file *file)
st = kzalloc(sizeof(*st), GFP_KERNEL);
if (st == NULL)
return -ENOMEM;

ret = seq_open(file, &recent_seq_ops);
if (ret)
if (ret) {
kfree(st);
goto out;
}

st->table = pde->data;
seq = file->private_data;
seq->private = st;
out:
return ret;
}

Expand Down

0 comments on commit 5b25a46

Please sign in to comment.