From: Marcelo Abreu <skewer@terra.com.br>
To: netdev@oss.sgi.com
Cc: davem@redhat.com
Subject: Re: [PATCH][2.6] fix compilation w/o CONFIG_XFRM
Date: Sat, 18 Oct 2003 23:42:51 -0300 [thread overview]
Message-ID: <3F91FA2B.5050701@terra.com.br> (raw)
In-Reply-To: <Pine.LNX.4.53.0310180300500.2831@montezuma.fsmlabs.com>
In case it's not fixed yet...
I'm just reusing the patch from Zwane Mwaikambo for sit.c, now to
fix compilation of ip6_tunnel.c.
Please verify.
--- linux-2.6.0-test8-a/net/ipv6/ip6_tunnel.c 2003-10-18 23:16:42.000000000 -0300
+++ linux-2.6.0-test8-b/net/ipv6/ip6_tunnel.c 2003-10-18 23:17:03.000000000 -0300
@@ -515,8 +515,10 @@
read_unlock(&ip6ip6_lock);
goto discard;
}
+#ifdef CONFIG_XFRM
secpath_put(skb->sp);
skb->sp = NULL;
+#endif
skb->mac.raw = skb->nh.raw;
skb->nh.raw = skb->data;
skb->protocol = htons(ETH_P_IPV6);
prev parent reply other threads:[~2003-10-19 2:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-18 7:01 [PATCH][2.6] fix compilation w/o CONFIG_XFRM Zwane Mwaikambo
2003-10-18 7:02 ` David S. Miller
2003-10-19 2:42 ` Marcelo Abreu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F91FA2B.5050701@terra.com.br \
--to=skewer@terra.com.br \
--cc=davem@redhat.com \
--cc=netdev@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).