summaryrefslogtreecommitdiffstats
path: root/net/ipv6/xfrm6_mode_tunnel.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo <acme@redhat.com>2007-04-25 18:02:22 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-25 22:25:27 -0700
commitb0061ce49c83657563b64ffcf1ec137110230d93 (patch)
treebe6788071fdbc53261ee395f596705e1418461d1 /net/ipv6/xfrm6_mode_tunnel.c
parentaa8223c7bb0b05183e1737881ed21827aa5b9e73 (diff)
downloadop-kernel-dev-b0061ce49c83657563b64ffcf1ec137110230d93.zip
op-kernel-dev-b0061ce49c83657563b64ffcf1ec137110230d93.tar.gz
[SK_BUFF]: Introduce ipip_hdr(), remove skb->h.ipiph
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/xfrm6_mode_tunnel.c')
-rw-r--r--net/ipv6/xfrm6_mode_tunnel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/xfrm6_mode_tunnel.c b/net/ipv6/xfrm6_mode_tunnel.c
index 28f36b3..9d3bd33 100644
--- a/net/ipv6/xfrm6_mode_tunnel.c
+++ b/net/ipv6/xfrm6_mode_tunnel.c
@@ -28,7 +28,7 @@ static inline void ipip6_ecn_decapsulate(struct sk_buff *skb)
static inline void ip6ip_ecn_decapsulate(struct sk_buff *skb)
{
if (INET_ECN_is_ce(ipv6_get_dsfield(ipv6_hdr(skb))))
- IP_ECN_set_ce(skb->h.ipiph);
+ IP_ECN_set_ce(ipip_hdr(skb));
}
/* Add encapsulation header.
OpenPOWER on IntegriCloud