projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b8aa4b
)
[IPV6]: Fix calculation of AH length during filling ancillary data.
author
Ville Nuorvala
<vnuorval@tcs.hut.fi>
Sun, 20 Nov 2005 03:21:59 +0000
(12:21 +0900)
committer
YOSHIFUJI Hideaki
<yoshfuji@linux-ipv6.org>
Sun, 20 Nov 2005 03:21:59 +0000
(12:21 +0900)
Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org>
net/ipv6/datagram.c
patch
|
blob
|
history
diff --git
a/net/ipv6/datagram.c
b/net/ipv6/datagram.c
index
cc51840
..
c4a3a99
100644
(file)
--- a/
net/ipv6/datagram.c
+++ b/
net/ipv6/datagram.c
@@
-437,7
+437,7
@@
int datagram_recv_ctl(struct sock *sk, struct msghdr *msg, struct sk_buff *skb)
break;
case IPPROTO_AH:
nexthdr = ptr[0];
- len = (ptr[1] +
1
) << 2;
+ len = (ptr[1] +
2
) << 2;
break;
default:
nexthdr = ptr[0];