summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorSteffen Klassert <steffen.klassert@secunet.com>2011-04-25 21:39:24 +0200
committerDavid S. Miller <davem@davemloft.net>2011-04-26 21:46:03 +0200
commit3f602b08dec32c418fc391fc838db357aab84f8a (patch)
tree743671d99f90e3d2ffc2c915c2aa91b20abada43 /net/ipv6
parentnet: provide cow_metrics() methods to blackhole dst_ops (diff)
downloadlinux-3f602b08dec32c418fc391fc838db357aab84f8a.tar.xz
linux-3f602b08dec32c418fc391fc838db357aab84f8a.zip
xfrm: Fix replay window size calculation on initialization
On replay initialization, we compute the size of the replay buffer to see if the replay window fits into the buffer. This computation lacks a mutliplication by 8 because we need the size in bit, not in byte. So we might return an error even though the replay window would fit into the buffer. This patch fixes this issue. Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com> Acked-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
0 files changed, 0 insertions, 0 deletions