aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipx
diff options
context:
space:
mode:
authorSteve French <sfrench@us.ibm.com>2006-01-12 17:47:08 -0500
committerSteve French <sfrench@us.ibm.com>2006-01-12 17:47:08 -0500
commit94bc2be31a01a3055ec94176e595dfe208e92d3b (patch)
treeebfbe81c6718a6390bfa1b99c6d228237d818576 /net/ipx
parentc32a0b689cb9cc160cfcd19735bbf50bb70c6ef4 (diff)
parent58cba4650a7a414eabd2b40cc9d8e45fcdf192d9 (diff)
Merge with /pub/scm/linux/kernel/git/torvalds/linux-2.6.git
Signed-off-by: Steve French <sfrench@us.ibm.com>
Diffstat (limited to 'net/ipx')
-rw-r--r--net/ipx/af_ipx.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/ipx/af_ipx.c b/net/ipx/af_ipx.c
index 34b3bb8684..0fb513a34d 100644
--- a/net/ipx/af_ipx.c
+++ b/net/ipx/af_ipx.c
@@ -29,6 +29,7 @@
29 */ 29 */
30 30
31#include <linux/config.h> 31#include <linux/config.h>
32#include <linux/capability.h>
32#include <linux/errno.h> 33#include <linux/errno.h>
33#include <linux/if_arp.h> 34#include <linux/if_arp.h>
34#include <linux/if_ether.h> 35#include <linux/if_ether.h>
@@ -75,7 +76,7 @@ static struct datalink_proto *pEII_datalink;
75static struct datalink_proto *p8023_datalink; 76static struct datalink_proto *p8023_datalink;
76static struct datalink_proto *pSNAP_datalink; 77static struct datalink_proto *pSNAP_datalink;
77 78
78static struct proto_ops ipx_dgram_ops; 79static const struct proto_ops ipx_dgram_ops;
79 80
80LIST_HEAD(ipx_interfaces); 81LIST_HEAD(ipx_interfaces);
81DEFINE_SPINLOCK(ipx_interfaces_lock); 82DEFINE_SPINLOCK(ipx_interfaces_lock);
@@ -1884,7 +1885,7 @@ static int ipx_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
1884 rc = -EINVAL; 1885 rc = -EINVAL;
1885 break; 1886 break;
1886 default: 1887 default:
1887 rc = dev_ioctl(cmd, argp); 1888 rc = -ENOIOCTLCMD;
1888 break; 1889 break;
1889 } 1890 }
1890 1891
@@ -1901,7 +1902,7 @@ static struct net_proto_family ipx_family_ops = {
1901 .owner = THIS_MODULE, 1902 .owner = THIS_MODULE,
1902}; 1903};
1903 1904
1904static struct proto_ops SOCKOPS_WRAPPED(ipx_dgram_ops) = { 1905static const struct proto_ops SOCKOPS_WRAPPED(ipx_dgram_ops) = {
1905 .family = PF_IPX, 1906 .family = PF_IPX,
1906 .owner = THIS_MODULE, 1907 .owner = THIS_MODULE,
1907 .release = ipx_release, 1908 .release = ipx_release,