fedora core 6 1.2949 + vserver 2.2.0
[linux-2.6.git] / net / bridge / netfilter / ebt_vlan.c
index db60d73..7ee3776 100644 (file)
@@ -55,7 +55,7 @@ ebt_filter_vlan(const struct sk_buff *skb,
        unsigned short id;      /* VLAN ID, given from frame TCI */
        unsigned char prio;     /* user_priority, given from frame TCI */
        /* VLAN encapsulated Type/Length field, given from orig frame */
-       unsigned short encap;
+       __be16 encap;
 
        fp = skb_header_pointer(skb, 0, sizeof(_frame), &_frame);
        if (fp == NULL)
@@ -178,7 +178,7 @@ static struct ebt_match filter_vlan = {
        .me             = THIS_MODULE,
 };
 
-static int __init init(void)
+static int __init ebt_vlan_init(void)
 {
        DEBUG_MSG("ebtables 802.1Q extension module v"
                  MODULE_VERS "\n");
@@ -186,10 +186,10 @@ static int __init init(void)
        return ebt_register_match(&filter_vlan);
 }
 
-static void __exit fini(void)
+static void __exit ebt_vlan_fini(void)
 {
        ebt_unregister_match(&filter_vlan);
 }
 
-module_init(init);
-module_exit(fini);
+module_init(ebt_vlan_init);
+module_exit(ebt_vlan_fini);