[PATCH 2.4 3/10]: fixes for ip6t_esp

Yasuyuki Kozakai yasuyuki.kozakai at toshiba.co.jp
Wed Dec 1 09:05:35 CET 2004


This patch fixes the check of ESP header size.

Signed-off-by: Yasuyuki KOZAKAI <yasuyuki.kozakai at toshiba.co.jp>

-----------------------------------------------------------------
Yasuyuki KOZAKAI @ USAGI Project <yasuyuki.kozakai at toshiba.co.jp>

-------------- next part --------------
--- linux-2.4.28-rc1/./net/ipv6/netfilter/ip6t_esp.c	2003-08-25 20:44:44.000000000 +0900
+++ linux-2.4.28-rc1-extfix/./net/ipv6/netfilter/ip6t_esp.c	2004-11-10 00:51:45.000000000 +0900
@@ -22,6 +22,7 @@ MODULE_AUTHOR("Andras Kis-Szabo <kisza at s
 
 struct esphdr {
 	__u32   spi;
+	__u32   seq_no;
 };
 
 /* Returns 1 if the spi is matched by the range, 0 otherwise */


More information about the netfilter-devel mailing list