From f0c66715de5f063152d8bca967bee53ae8a0e4a3 Mon Sep 17 00:00:00 2001 From: juhosg Date: Sun, 18 May 2008 20:24:51 +0000 Subject: [kernel] refresh generic 2.6.23 patches git-svn-id: svn://svn.openwrt.org/openwrt/trunk@11187 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../120-openswan-2.4.0.kernel-2.6-natt.patch | 26 +++++++++++----------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'target/linux/generic-2.6/patches-2.6.23/120-openswan-2.4.0.kernel-2.6-natt.patch') diff --git a/target/linux/generic-2.6/patches-2.6.23/120-openswan-2.4.0.kernel-2.6-natt.patch b/target/linux/generic-2.6/patches-2.6.23/120-openswan-2.4.0.kernel-2.6-natt.patch index 6fcacc459..879073333 100644 --- a/target/linux/generic-2.6/patches-2.6.23/120-openswan-2.4.0.kernel-2.6-natt.patch +++ b/target/linux/generic-2.6/patches-2.6.23/120-openswan-2.4.0.kernel-2.6-natt.patch @@ -1,7 +1,7 @@ -Index: linux-2.6.23-rc7/include/net/xfrmudp.h +Index: linux-2.6.23.17/include/net/xfrmudp.h =================================================================== ---- /dev/null 1970-01-01 00:00:00.000000000 +0000 -+++ linux-2.6.23-rc7/include/net/xfrmudp.h 2007-10-02 00:58:05.000000000 +0800 +--- /dev/null ++++ linux-2.6.23.17/include/net/xfrmudp.h @@ -0,0 +1,10 @@ +/* + * pointer to function for type that xfrm4_input wants, to permit @@ -13,11 +13,11 @@ Index: linux-2.6.23-rc7/include/net/xfrmudp.h +extern int udp4_register_esp_rcvencap(xfrm4_rcv_encap_t func + , xfrm4_rcv_encap_t *oldfunc); +extern int udp4_unregister_esp_rcvencap(xfrm4_rcv_encap_t func); -Index: linux-2.6.23-rc7/net/ipv4/Kconfig +Index: linux-2.6.23.17/net/ipv4/Kconfig =================================================================== ---- linux-2.6.23-rc7.orig/net/ipv4/Kconfig 2007-10-02 00:58:02.000000000 +0800 -+++ linux-2.6.23-rc7/net/ipv4/Kconfig 2007-10-02 00:58:05.000000000 +0800 -@@ -224,6 +224,12 @@ +--- linux-2.6.23.17.orig/net/ipv4/Kconfig ++++ linux-2.6.23.17/net/ipv4/Kconfig +@@ -224,6 +224,12 @@ config NET_IPGRE_BROADCAST Network), but can be distributed all over the Internet. If you want to do that, say Y here and to "IP multicast routing" below. @@ -30,10 +30,10 @@ Index: linux-2.6.23-rc7/net/ipv4/Kconfig config IP_MROUTE bool "IP: multicast routing" depends on IP_MULTICAST -Index: linux-2.6.23-rc7/net/ipv4/xfrm4_input.c +Index: linux-2.6.23.17/net/ipv4/xfrm4_input.c =================================================================== ---- linux-2.6.23-rc7.orig/net/ipv4/xfrm4_input.c 2007-10-02 00:58:02.000000000 +0800 -+++ linux-2.6.23-rc7/net/ipv4/xfrm4_input.c 2007-10-02 00:58:33.000000000 +0800 +--- linux-2.6.23.17.orig/net/ipv4/xfrm4_input.c ++++ linux-2.6.23.17/net/ipv4/xfrm4_input.c @@ -15,6 +15,7 @@ #include #include @@ -42,7 +42,7 @@ Index: linux-2.6.23-rc7/net/ipv4/xfrm4_input.c static int xfrm4_parse_spi(struct sk_buff *skb, u8 nexthdr, __be32 *spi, __be32 *seq) { -@@ -161,6 +162,29 @@ +@@ -161,6 +162,29 @@ drop: return 0; } @@ -72,7 +72,7 @@ Index: linux-2.6.23-rc7/net/ipv4/xfrm4_input.c /* If it's a keepalive packet, then just eat it. * If it's an encapsulated packet, then pass it to the * IPsec xfrm input. -@@ -251,7 +275,13 @@ +@@ -251,7 +275,13 @@ int xfrm4_udp_encap_rcv(struct sock *sk, iph->protocol = IPPROTO_ESP; /* process ESP */ @@ -86,7 +86,7 @@ Index: linux-2.6.23-rc7/net/ipv4/xfrm4_input.c return ret; drop: -@@ -265,3 +295,8 @@ +@@ -265,3 +295,8 @@ int xfrm4_rcv(struct sk_buff *skb) } EXPORT_SYMBOL(xfrm4_rcv); -- cgit v1.2.3