X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=net%2Fipv4%2Fprotocol.c;h=ea50da0649fd4c5ed06f7f9b892b26c356ee5601;hb=273b2578392bbf6e5c47a8a3d1ee461ce6fc7182;hp=291831e792aff067c46e8a3959c9a7058580ddbc;hpb=1fdab81e675c6ef76a49b8aabb7eaf4be51d1b80;p=linux-2.6 diff --git a/net/ipv4/protocol.c b/net/ipv4/protocol.c index 291831e792..ea50da0649 100644 --- a/net/ipv4/protocol.c +++ b/net/ipv4/protocol.c @@ -5,8 +5,6 @@ * * INET protocol dispatch tables. * - * Version: $Id: protocol.c,v 1.14 2001/05/18 02:25:49 davem Exp $ - * * Authors: Ross Biro * Fred N. van Kempen, * @@ -30,9 +28,7 @@ #include #include #include -#include #include -#include #include #include #include @@ -47,7 +43,7 @@ #include #include -struct net_protocol *inet_protos[MAX_INET_PROTOS]; +struct net_protocol *inet_protos[MAX_INET_PROTOS] ____cacheline_aligned_in_smp; static DEFINE_SPINLOCK(inet_proto_lock); /* @@ -75,7 +71,7 @@ int inet_add_protocol(struct net_protocol *prot, unsigned char protocol) /* * Remove a protocol from the hash tables. */ - + int inet_del_protocol(struct net_protocol *prot, unsigned char protocol) { int hash, ret;