]> err.no Git - linux-2.6/blobdiff - net/802/p8023.c
Merge branch 'master' of /home/sam/kernel/linux-2.6/
[linux-2.6] / net / 802 / p8023.c
index a0b61b40225f40fe994e644c99e4ad6e0c17d356..53cf05709283662f16578fab5cd06972c07eec16 100644 (file)
@@ -20,6 +20,7 @@
 #include <linux/skbuff.h>
 
 #include <net/datalink.h>
+#include <net/p8022.h>
 
 /*
  *     Place an 802.3 header on a packet. The driver will do the mac
@@ -53,9 +54,10 @@ struct datalink_proto *make_8023_client(void)
  */
 void destroy_8023_client(struct datalink_proto *dl)
 {
-       if (dl)
-               kfree(dl);
+       kfree(dl);
 }
 
 EXPORT_SYMBOL(destroy_8023_client);
 EXPORT_SYMBOL(make_8023_client);
+
+MODULE_LICENSE("GPL");