* [PATCH 2.4 10/18]: Fix check for ESP header size in ip6t_esp
@ 2004-12-20 7:15 Patrick McHardy
0 siblings, 0 replies; only message in thread
From: Patrick McHardy @ 2004-12-20 7:15 UTC (permalink / raw)
To: David S. Miller; +Cc: netfilter-devel
[-- Attachment #1: Type: text/plain, Size: 122 bytes --]
Fix check for ESP header size in ip6t_esp. 2.6 already gets
it right by using struct ip_esp_hdr from include/linux/ip.h.
[-- Attachment #2: 10.diff --]
[-- Type: text/x-patch, Size: 949 bytes --]
# This is a BitKeeper generated diff -Nru style patch.
#
# ChangeSet
# 2004/12/05 23:17:12+01:00 yasuyuki.kozakai@toshiba.co.jp
# [NETFILTER]: Fix check for ESP header size in ip6t_esp
#
# Signed-off-by: Yasuyuki KOZAKAI <yasuyuki.kozakai@toshiba.co.jp>
# Signed-off-by: Patrick McHardy <kaber@trash.net>
#
# net/ipv6/netfilter/ip6t_esp.c
# 2004/12/05 23:17:10+01:00 yasuyuki.kozakai@toshiba.co.jp +1 -0
# [NETFILTER]: Fix check for ESP header size in ip6t_esp
#
# Signed-off-by: Yasuyuki KOZAKAI <yasuyuki.kozakai@toshiba.co.jp>
# Signed-off-by: Patrick McHardy <kaber@trash.net>
#
diff -Nru a/net/ipv6/netfilter/ip6t_esp.c b/net/ipv6/netfilter/ip6t_esp.c
--- a/net/ipv6/netfilter/ip6t_esp.c 2004-12-20 07:01:16 +01:00
+++ b/net/ipv6/netfilter/ip6t_esp.c 2004-12-20 07:01:16 +01:00
@@ -22,6 +22,7 @@
struct esphdr {
__u32 spi;
+ __u32 seq_no;
};
/* Returns 1 if the spi is matched by the range, 0 otherwise */
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-12-20 7:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-12-20 7:15 [PATCH 2.4 10/18]: Fix check for ESP header size in ip6t_esp Patrick McHardy
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.