aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipx
diff options
context:
space:
mode:
authorDave Kleikamp <shaggy@austin.ibm.com>2006-01-24 15:34:47 -0500
committerDave Kleikamp <shaggy@austin.ibm.com>2006-01-24 15:34:47 -0500
commit0a0fc0ddbe732779366ab6b1b879f62195e65967 (patch)
tree7b42490a676cf39ae0691b6859ecf7fd410f229b /net/ipx
parent4d5dbd0945d9e0833dd7964a3d6ee33157f7cc7a (diff)
parent3ee68c4af3fd7228c1be63254b9f884614f9ebb2 (diff)
Merge with /home/shaggy/git/linus-clean/
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,