projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c70220
)
[IPV4] xfrm4_mode_beet: Use skb_transport_header().
author
David S. Miller
<davem@sunset.davemloft.net>
Fri, 20 Apr 2007 02:55:44 +0000
(19:55 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 26 Apr 2007 05:25:32 +0000
(22:25 -0700)
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/xfrm4_mode_beet.c
patch
|
blob
|
history
diff --git
a/net/ipv4/xfrm4_mode_beet.c
b/net/ipv4/xfrm4_mode_beet.c
index 591f0f1ef87fab136f72f4f26d480cd77cca08b0..74859dfb3a25bebef6c9ed2bf3ec5485666ad41e 100644
(file)
--- 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;