]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/llc/llc_core.c
net: convert usage of packet_type to read_mostly
[net-next-2.6.git] / net / llc / llc_core.c
index a7fe1adc378d68834a70f44739c98f927659d927..ff4c0ab96a69364eaca829618dcf9a66d7c5022e 100644 (file)
@@ -147,12 +147,12 @@ void llc_sap_close(struct llc_sap *sap)
        kfree(sap);
 }
 
-static struct packet_type llc_packet_type = {
+static struct packet_type llc_packet_type __read_mostly = {
        .type = cpu_to_be16(ETH_P_802_2),
        .func = llc_rcv,
 };
 
-static struct packet_type llc_tr_packet_type = {
+static struct packet_type llc_tr_packet_type __read_mostly = {
        .type = cpu_to_be16(ETH_P_TR_802_2),
        .func = llc_rcv,
 };