OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aad0e0b
)
[IPSEC]: Fix IPv6 AH calculation in outbound
author
Kazunori MIYAZAWA
<miyazawa@linux-ipv6.org>
Fri, 25 May 2007 08:22:25 +0000
(
01:22
-0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Thu, 31 May 2007 08:23:25 +0000
(
01:23
-0700)
Signed-off-by: Kazunori MIYAZAWA <miyazawa@linux-ipv6.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/ah6.c
patch
|
blob
|
history
diff --git
a/net/ipv6/ah6.c
b/net/ipv6/ah6.c
index
b696c84
..
128f94c
100644
(file)
--- a/
net/ipv6/ah6.c
+++ b/
net/ipv6/ah6.c
@@
-247,7
+247,7
@@
static int ah6_output(struct xfrm_state *x, struct sk_buff *skb)
memcpy(tmp_base, top_iph, sizeof(tmp_base));
tmp_ext = NULL;
- extlen = skb_transport_offset(skb)
+
sizeof(struct ipv6hdr);
+ extlen = skb_transport_offset(skb)
-
sizeof(struct ipv6hdr);
if (extlen) {
extlen += sizeof(*tmp_ext);
tmp_ext = kmalloc(extlen, GFP_ATOMIC);