Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 41096
b: refs/heads/master
c: ac16ca6
h: refs/heads/master
v: v3
  • Loading branch information
Akinobu Mita authored and David S. Miller committed Nov 25, 2006
1 parent 79b58bf commit 879c9c9
Show file tree
Hide file tree
Showing 3 changed files with 5 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: 753eab76a3337863a0d86ce045fa4eb6c3cbeef9
refs/heads/master: ac16ca6412d9feb5b2f8fc76a4ed938b5d107f94
2 changes: 2 additions & 0 deletions trunk/net/dccp/probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ static __init int dccpprobe_init(void)
init_waitqueue_head(&dccpw.wait);
spin_lock_init(&dccpw.lock);
dccpw.fifo = kfifo_alloc(bufsize, GFP_KERNEL, &dccpw.lock);
if (IS_ERR(dccpw.fifo))
return PTR_ERR(dccpw.fifo);

if (!proc_net_fops_create(procname, S_IRUSR, &dccpprobe_fops))
goto err0;
Expand Down
2 changes: 2 additions & 0 deletions trunk/net/ipv4/tcp_probe.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,8 @@ static __init int tcpprobe_init(void)
init_waitqueue_head(&tcpw.wait);
spin_lock_init(&tcpw.lock);
tcpw.fifo = kfifo_alloc(bufsize, GFP_KERNEL, &tcpw.lock);
if (IS_ERR(tcpw.fifo))
return PTR_ERR(tcpw.fifo);

if (!proc_net_fops_create(procname, S_IRUSR, &tcpprobe_fops))
goto err0;
Expand Down

0 comments on commit 879c9c9

Please sign in to comment.