Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 78470
b: refs/heads/master
c: ea40b32
h: refs/heads/master
v: v3
  • Loading branch information
Pavel Emelyanov authored and David S. Miller committed Jan 28, 2008
1 parent be351a1 commit f2ffdcd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 8afd351c772d1815347d5c46716b099fde00a579
refs/heads/master: ea40b324d791d86a42b858d073007de4d133227e
8 changes: 4 additions & 4 deletions trunk/net/ipv4/devinet.c
Original file line number Diff line number Diff line change
Expand Up @@ -1454,8 +1454,8 @@ static struct devinet_sysctl_table {
},
};

static void __devinet_sysctl_register(char *dev_name, int ctl_name,
struct ipv4_devconf *p)
static int __devinet_sysctl_register(struct net *net, char *dev_name,
int ctl_name, struct ipv4_devconf *p)
{
int i;
struct devinet_sysctl_table *t;
Expand Down Expand Up @@ -1497,14 +1497,14 @@ static void __devinet_sysctl_register(char *dev_name, int ctl_name,
goto free_procname;

p->sysctl = t;
return;
return 0;

free_procname:
kfree(t->dev_name);
free:
kfree(t);
out:
return;
return -ENOBUFS;
}

static void __devinet_sysctl_unregister(struct ipv4_devconf *cnf)
Expand Down

0 comments on commit f2ffdcd

Please sign in to comment.