git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
VServer 1.9.2 (patch-2.6.8.1-vs1.9.2.diff)
[linux-2.6.git]
/
net
/
ipv4
/
protocol.c
diff --git
a/net/ipv4/protocol.c
b/net/ipv4/protocol.c
index
a98eb52
..
a8b4bdc
100644
(file)
--- a/
net/ipv4/protocol.c
+++ b/
net/ipv4/protocol.c
@@
-48,14
+48,14
@@
#include <net/ipip.h>
#include <linux/igmp.h>
#include <net/ipip.h>
#include <linux/igmp.h>
-struct
i
net_protocol *inet_protos[MAX_INET_PROTOS];
+struct net_protocol *inet_protos[MAX_INET_PROTOS];
static spinlock_t inet_proto_lock = SPIN_LOCK_UNLOCKED;
/*
* Add a protocol handler to the hash tables
*/
static spinlock_t inet_proto_lock = SPIN_LOCK_UNLOCKED;
/*
* Add a protocol handler to the hash tables
*/
-int inet_add_protocol(struct
i
net_protocol *prot, unsigned char protocol)
+int inet_add_protocol(struct net_protocol *prot, unsigned char protocol)
{
int hash, ret;
{
int hash, ret;
@@
-77,7
+77,7
@@
int inet_add_protocol(struct inet_protocol *prot, unsigned char protocol)
* Remove a protocol from the hash tables.
*/
* Remove a protocol from the hash tables.
*/
-int inet_del_protocol(struct
i
net_protocol *prot, unsigned char protocol)
+int inet_del_protocol(struct net_protocol *prot, unsigned char protocol)
{
int hash, ret;
{
int hash, ret;