Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 67043
b: refs/heads/master
c: bee0b40
h: refs/heads/master
i:
  67041: f27411b
  67039: cb7b42b
v: v3
  • Loading branch information
Herbert Xu authored and David S. Miller committed Oct 10, 2007
1 parent d055b70 commit 10580bc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 8bd170750400bfa5e14c3dd2e2d0f305e1ab0e57
refs/heads/master: bee0b40c0621396326d1c17b81833f59118a2d80
4 changes: 2 additions & 2 deletions trunk/net/ipv6/xfrm6_mode_beet.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ static int xfrm6_beet_output(struct xfrm_state *x, struct sk_buff *skb)
hdr_len = ip6_find_1stfragopt(skb, &prevhdr);
memmove(skb->data, iph, hdr_len);

skb_set_mac_header(skb, offsetof(struct ipv6hdr, nexthdr));
skb_set_mac_header(skb, (prevhdr - x->props.header_len) - skb->data);
skb_reset_network_header(skb);
skb_set_transport_header(skb, sizeof(struct ipv6hdr));
skb_set_transport_header(skb, hdr_len);
top_iph = ipv6_hdr(skb);

ipv6_addr_copy(&top_iph->saddr, (struct in6_addr *)&x->props.saddr);
Expand Down

0 comments on commit 10580bc

Please sign in to comment.