netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [1/2] Use xfrm4_rcv in xfrm4_tunnel
@ 2004-08-19 11:38 Herbert Xu
  2004-08-19 11:40 ` [2/2] Modularise xfrm_tunnel Herbert Xu
  2004-08-19 14:23 ` [1/2] Use xfrm4_rcv in xfrm4_tunnel David S. Miller
  0 siblings, 2 replies; 7+ messages in thread
From: Herbert Xu @ 2004-08-19 11:38 UTC (permalink / raw)
  To: David S. Miller, netdev

[-- Attachment #1: Type: text/plain, Size: 409 bytes --]

Hi Dave:

This is a trivial patch to use xfrm4_rcv in xfrm4_tunnel.  It doesn't
need the extra argument provided by xfrm4_rcv_encap.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

Cheers,
-- 
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt

[-- Attachment #2: q --]
[-- Type: text/plain, Size: 368 bytes --]

===== net/ipv4/xfrm4_tunnel.c 1.17 vs edited =====
--- 1.17/net/ipv4/xfrm4_tunnel.c	2004-08-14 20:59:43 +10:00
+++ edited/net/ipv4/xfrm4_tunnel.c	2004-08-19 21:34:39 +10:00
@@ -68,7 +68,7 @@
 	if (handler && handler->handler(skb) == 0)
 		return 0;
 
-	return xfrm4_rcv_encap(skb, 0);
+	return xfrm4_rcv(skb);
 }
 
 static void ipip_err(struct sk_buff *skb, u32 info)

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2004-08-19 22:03 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-08-19 11:38 [1/2] Use xfrm4_rcv in xfrm4_tunnel Herbert Xu
2004-08-19 11:40 ` [2/2] Modularise xfrm_tunnel Herbert Xu
2004-08-19 11:43   ` Herbert Xu
2004-08-19 14:25     ` David S. Miller
2004-08-19 21:31       ` Herbert Xu
2004-08-19 22:03         ` Herbert Xu
2004-08-19 14:23 ` [1/2] Use xfrm4_rcv in xfrm4_tunnel David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).