summaryrefslogtreecommitdiffstats
path: root/net/ipv4/xfrm4_mode_beet.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-04-19 19:55:44 -0700
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-25 22:25:32 -0700
commit239254fedcbc6ff79bcf5696fe94723f7a5d0782 (patch)
tree4b35ce869c21d0cec82c6505a1b643db409908f1 /net/ipv4/xfrm4_mode_beet.c
parent9c70220b73908f64792422a2c39c593c4792f2c5 (diff)
downloadop-kernel-dev-239254fedcbc6ff79bcf5696fe94723f7a5d0782.zip
op-kernel-dev-239254fedcbc6ff79bcf5696fe94723f7a5d0782.tar.gz
[IPV4] xfrm4_mode_beet: Use skb_transport_header().
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/xfrm4_mode_beet.c')
-rw-r--r--net/ipv4/xfrm4_mode_beet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/xfrm4_mode_beet.c b/net/ipv4/xfrm4_mode_beet.c
index 591f0f1..74859df 100644
--- a/net/ipv4/xfrm4_mode_beet.c
+++ b/net/ipv4/xfrm4_mode_beet.c
@@ -100,7 +100,7 @@ static int xfrm4_beet_input(struct xfrm_state *x, struct sk_buff *skb)
skb_set_network_header(skb, phlen - sizeof(*iph));
memmove(skb_network_header(skb), iph, sizeof(*iph));
skb_set_transport_header(skb, phlen + optlen);
- skb->data = skb->h.raw;
+ skb->data = skb_transport_header(skb);
iph = ip_hdr(skb);
iph->ihl = (sizeof(*iph) + optlen) / 4;
OpenPOWER on IntegriCloud