Subject: [PATCH] Re: net/ipv6/exthdrs.c

From: Andras Kis-Szabo <[email-masked]>
Date: Tue, 18 Jun 2002 16:00:54 +0200

Andras Kis-Szabo .................................... (2002. június 18.)

 Hi!

> The ipv6_ext_hdr() could be exported? It would be usefull at the Netfilter
> side.
> (And when we are there: the ipv6_skip_exthdr() should be exported, too.)
I attached the patch for this. (If accepted, the Netfilter will follow its
behaviour and I'll modify the matches.)

Regards,

	kisza

-- 
    Andras Kis-Szabo       Security Development, Design and Audit
-------------------------/        Zorp, NetFilter and IPv6
 [email-masked] /-----Member of the BUTE-MIS-SEARCHlab---------->
--- linux.old/net/ipv6/exthdrs.c	Tue Jun 18 15:54:19 2002
+++ linux/net/ipv6/exthdrs.c	Tue Jun 18 15:55:34 2002
@@ -20,6 +20,8 @@
  *				  tlv options.
  */
 
+#include <linux/config.h>
+#include <linux/module.h>
 #include <linux/errno.h>
 #include <linux/types.h>
 #include <linux/socket.h>
@@ -804,4 +806,7 @@
 	*nexthdrp = nexthdr;
 	return start;
 }
+
+EXPORT_SYMBOL(ipv6_ext_hdr);
+EXPORT_SYMBOL(ipv6_skip_exthdr);