summaryrefslogtreecommitdiff
path: root/net/ipv6/datagram.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2005-11-21 07:52:16 +0300
committerDavid S. Miller <davem@sunset.davemloft.net>2005-11-21 07:52:16 +0300
commit1ef43204f4bd24dcd3156185b19b31b6b4151ae9 (patch)
tree812293eda94f9e14ee35c0be3d84da4b96f4972e /net/ipv6/datagram.c
parent5d5780df23537ad0db72267fe11103d2c23d9b2a (diff)
parentdf9890c31a1a447254f39e40c3fd81ad6547945b (diff)
downloadlinux-1ef43204f4bd24dcd3156185b19b31b6b4151ae9.tar.xz
Merge git://git.skbuff.net/gitroot/yoshfuji/linux-2.6.14+advapi-fix/
Diffstat (limited to 'net/ipv6/datagram.c')
-rw-r--r--net/ipv6/datagram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/datagram.c b/net/ipv6/datagram.c
index cc518405b3e1..c4a3a993acb7 100644
--- 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];