]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/ipx/af_ipx.c
net: convert usage of packet_type to read_mostly
[net-next-2.6.git] / net / ipx / af_ipx.c
index 43d0ffc6d5655ab2e5b18d77c249e21a2b33e28e..30bd322b7985c143137b481cbf53fdf85e3471ae 100644 (file)
@@ -1958,12 +1958,12 @@ static const struct proto_ops SOCKOPS_WRAPPED(ipx_dgram_ops) = {
 
 SOCKOPS_WRAP(ipx_dgram, PF_IPX);
 
-static struct packet_type ipx_8023_packet_type = {
+static struct packet_type ipx_8023_packet_type __read_mostly = {
        .type           = cpu_to_be16(ETH_P_802_3),
        .func           = ipx_rcv,
 };
 
-static struct packet_type ipx_dix_packet_type = {
+static struct packet_type ipx_dix_packet_type __read_mostly = {
        .type           = cpu_to_be16(ETH_P_IPX),
        .func           = ipx_rcv,
 };