aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv4
diff options
context:
space:
mode:
authorJianjun Kong <jianjun@zeuux.org>2008-11-03 05:48:48 -0500
committerDavid S. Miller <davem@davemloft.net>2008-11-03 05:48:48 -0500
commit539afedfccb39577c9264b29f11ec9556fd45022 (patch)
tree43b302dca41fb15e32d210d2eecdf3eb4fc5b54c /net/ipv4
parentf4cca7ffb2700bff5752fbbc28f49d58ed2c5cb3 (diff)
net: clean up net/ipv4/devinet.c
Signed-off-by: Jianjun Kong <jianjun@zeuux.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4')
-rw-r--r--net/ipv4/devinet.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/ipv4/devinet.c b/net/ipv4/devinet.c
index 0bff576d2918..309997edc8a5 100644
--- a/net/ipv4/devinet.c
+++ b/net/ipv4/devinet.c
@@ -1101,7 +1101,7 @@ out:
1101} 1101}
1102 1102
1103static struct notifier_block ip_netdev_notifier = { 1103static struct notifier_block ip_netdev_notifier = {
1104 .notifier_call =inetdev_event, 1104 .notifier_call = inetdev_event,
1105}; 1105};
1106 1106
1107static inline size_t inet_nlmsg_size(void) 1107static inline size_t inet_nlmsg_size(void)
@@ -1188,7 +1188,7 @@ done:
1188 return skb->len; 1188 return skb->len;
1189} 1189}
1190 1190
1191static void rtmsg_ifa(int event, struct in_ifaddr* ifa, struct nlmsghdr *nlh, 1191static void rtmsg_ifa(int event, struct in_ifaddr *ifa, struct nlmsghdr *nlh,
1192 u32 pid) 1192 u32 pid)
1193{ 1193{
1194 struct sk_buff *skb; 1194 struct sk_buff *skb;
@@ -1255,7 +1255,7 @@ static void inet_forward_change(struct net *net)
1255} 1255}
1256 1256
1257static int devinet_conf_proc(ctl_table *ctl, int write, 1257static int devinet_conf_proc(ctl_table *ctl, int write,
1258 struct file* filp, void __user *buffer, 1258 struct file *filp, void __user *buffer,
1259 size_t *lenp, loff_t *ppos) 1259 size_t *lenp, loff_t *ppos)
1260{ 1260{
1261 int ret = proc_dointvec(ctl, write, filp, buffer, lenp, ppos); 1261 int ret = proc_dointvec(ctl, write, filp, buffer, lenp, ppos);
@@ -1327,7 +1327,7 @@ static int devinet_conf_sysctl(ctl_table *table,
1327} 1327}
1328 1328
1329static int devinet_sysctl_forward(ctl_table *ctl, int write, 1329static int devinet_sysctl_forward(ctl_table *ctl, int write,
1330 struct file* filp, void __user *buffer, 1330 struct file *filp, void __user *buffer,
1331 size_t *lenp, loff_t *ppos) 1331 size_t *lenp, loff_t *ppos)
1332{ 1332{
1333 int *valp = ctl->data; 1333 int *valp = ctl->data;
@@ -1356,7 +1356,7 @@ static int devinet_sysctl_forward(ctl_table *ctl, int write,
1356} 1356}
1357 1357
1358int ipv4_doint_and_flush(ctl_table *ctl, int write, 1358int ipv4_doint_and_flush(ctl_table *ctl, int write,
1359 struct file* filp, void __user *buffer, 1359 struct file *filp, void __user *buffer,
1360 size_t *lenp, loff_t *ppos) 1360 size_t *lenp, loff_t *ppos)
1361{ 1361{
1362 int *valp = ctl->data; 1362 int *valp = ctl->data;