diff options
author | David S. Miller <davem@davemloft.net> | 2008-03-27 21:48:56 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-27 21:48:56 -0400 |
commit | 8e8e43843ba3ced0c657cbc0fdb10644ec60f772 (patch) | |
tree | e64954326ced9c365c52c256f01b5f9fb1bcae66 /net/ipv6/xfrm6_state.c | |
parent | ed85f2c3b2b72bd20f617ac749f5c22be8d0f66e (diff) | |
parent | 50fd4407b8bfbde7c1a0bfe4f24de7df37164342 (diff) |
Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6
Conflicts:
drivers/net/usb/rndis_host.c
drivers/net/wireless/b43/dma.c
net/ipv6/ndisc.c
Diffstat (limited to 'net/ipv6/xfrm6_state.c')
-rw-r--r-- | net/ipv6/xfrm6_state.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ipv6/xfrm6_state.c b/net/ipv6/xfrm6_state.c index 5a46bb99c3af..89884a4f23aa 100644 --- a/net/ipv6/xfrm6_state.c +++ b/net/ipv6/xfrm6_state.c | |||
@@ -151,10 +151,12 @@ int xfrm6_extract_header(struct sk_buff *skb) | |||
151 | { | 151 | { |
152 | struct ipv6hdr *iph = ipv6_hdr(skb); | 152 | struct ipv6hdr *iph = ipv6_hdr(skb); |
153 | 153 | ||
154 | XFRM_MODE_SKB_CB(skb)->ihl = sizeof(*iph); | ||
154 | XFRM_MODE_SKB_CB(skb)->id = 0; | 155 | XFRM_MODE_SKB_CB(skb)->id = 0; |
155 | XFRM_MODE_SKB_CB(skb)->frag_off = htons(IP_DF); | 156 | XFRM_MODE_SKB_CB(skb)->frag_off = htons(IP_DF); |
156 | XFRM_MODE_SKB_CB(skb)->tos = ipv6_get_dsfield(iph); | 157 | XFRM_MODE_SKB_CB(skb)->tos = ipv6_get_dsfield(iph); |
157 | XFRM_MODE_SKB_CB(skb)->ttl = iph->hop_limit; | 158 | XFRM_MODE_SKB_CB(skb)->ttl = iph->hop_limit; |
159 | XFRM_MODE_SKB_CB(skb)->optlen = 0; | ||
158 | memcpy(XFRM_MODE_SKB_CB(skb)->flow_lbl, iph->flow_lbl, | 160 | memcpy(XFRM_MODE_SKB_CB(skb)->flow_lbl, iph->flow_lbl, |
159 | sizeof(XFRM_MODE_SKB_CB(skb)->flow_lbl)); | 161 | sizeof(XFRM_MODE_SKB_CB(skb)->flow_lbl)); |
160 | 162 | ||