]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/netfilter/arp_tables.c
[NETFILTER]: nf_conntrack_ipv4: fix "Frag of proto ..." messages
[linux-2.6-omap-h63xx.git] / net / ipv4 / netfilter / arp_tables.c
index cae41215e3c7efc663350260e5b8d567d0d13992..d1149aba93515abf2a7d2f7629a16b8999e78788 100644 (file)
@@ -224,7 +224,7 @@ unsigned int arpt_do_table(struct sk_buff **pskb,
        static const char nulldevname[IFNAMSIZ];
        unsigned int verdict = NF_DROP;
        struct arphdr *arp;
-       int hotdrop = 0;
+       bool hotdrop = false;
        struct arpt_entry *e, *back;
        const char *indev, *outdev;
        void *table_base;
@@ -1140,13 +1140,13 @@ void arpt_unregister_table(struct arpt_table *table)
 }
 
 /* The built-in targets: standard (NULL) and error. */
-static struct arpt_target arpt_standard_target = {
+static struct arpt_target arpt_standard_target __read_mostly = {
        .name           = ARPT_STANDARD_TARGET,
        .targetsize     = sizeof(int),
        .family         = NF_ARP,
 };
 
-static struct arpt_target arpt_error_target = {
+static struct arpt_target arpt_error_target __read_mostly = {
        .name           = ARPT_ERROR_TARGET,
        .target         = arpt_error,
        .targetsize     = ARPT_FUNCTION_MAXNAMELEN,
@@ -1184,7 +1184,7 @@ static int __init arp_tables_init(void)
        if (ret < 0)
                goto err4;
 
-       printk("arp_tables: (C) 2002 David S. Miller\n");
+       printk(KERN_INFO "arp_tables: (C) 2002 David S. Miller\n");
        return 0;
 
 err4: