| To: | netdev@xxxxxxxxxxx |
|---|---|
| Subject: | [PATCH][2.6] fix compilation w/o CONFIG_XFRM |
| From: | Zwane Mwaikambo <zwane@xxxxxxxxxxxxxxxx> |
| Date: | Sat, 18 Oct 2003 03:01:03 -0400 (EDT) |
| Sender: | netdev-bounce@xxxxxxxxxxx |
Index: linux-2.6.0-test8/net/ipv6/sit.c
===================================================================
RCS file: /build/cvsroot/linux-2.6.0-test8/net/ipv6/sit.c,v
retrieving revision 1.1.1.1
diff -u -p -B -r1.1.1.1 sit.c
--- linux-2.6.0-test8/net/ipv6/sit.c 18 Oct 2003 01:37:19 -0000 1.1.1.1
+++ linux-2.6.0-test8/net/ipv6/sit.c 18 Oct 2003 04:13:21 -0000
@@ -377,8 +377,10 @@ static int ipip6_rcv(struct sk_buff *skb
read_lock(&ipip6_lock);
if ((tunnel = ipip6_tunnel_lookup(iph->saddr, iph->daddr)) != NULL) {
+#ifdef CONFIG_XFRM
secpath_put(skb->sp);
skb->sp = NULL;
+#endif
skb->mac.raw = skb->nh.raw;
skb->nh.raw = skb->data;
memset(&(IPCB(skb)->opt), 0, sizeof(struct ip_options));
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [2.4 PATCH] Fix IPVS ftp to use cp->vaddr, David S. Miller |
|---|---|
| Next by Date: | Re: [BK PATCH 2.6] repost, fix sysctl breakage during network device renaming, for ipv4, David S. Miller |
| Previous by Thread: | [2.4 PATCH] Fix IPVS ftp to use cp->vaddr, Wensong Zhang |
| Next by Thread: | Re: [PATCH][2.6] fix compilation w/o CONFIG_XFRM, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |