From: Yasuyuki Kozakai Date: Mon, 19 Sep 2005 22:34:40 +0000 (-0700) Subject: [NETFILTER] ip6tables: remove duplicate code X-Git-Tag: v2.6.14-rc2~2^2~5 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e674d0f38de6109b59dbe30fba8b296a03229b8e;p=pandora-kernel.git [NETFILTER] ip6tables: remove duplicate code Some IPv6 matches have very similar loops to find IPv6 extension header and we can unify them. This patch introduces ipv6_find_hdr() to do it. I just checked that it can find the target headers in the packet which has dst,hbh,rt,frag,ah,esp headers. Signed-off-by: Yasuyuki Kozakai Signed-off-by: Harald Welte Signed-off-by: David S. Miller --- Reading git-diff-tree failed