diff options
author | Shan Wei <shanwei@cn.fujitsu.com> | 2010-11-05 01:56:34 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-11-08 20:17:06 (GMT) |
commit | f46421416fb6b91513fb687d6503142cd99034a5 (patch) | |
tree | cad8e340ce9bccec9ff261a1c0d73b18382019af /drivers/ps3/ps3av_cmd.c | |
parent | 4c46ee52589a4edd67447214eb489b10fed5c53a (diff) | |
download | linux-f46421416fb6b91513fb687d6503142cd99034a5.tar.xz |
ipv6: fix overlap check for fragments
The type of FRAG6_CB(prev)->offset is int, skb->len is *unsigned* int,
and offset is int.
Without this patch, type conversion occurred to this expression, when
(FRAG6_CB(prev)->offset + prev->len) is less than offset.
Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ps3/ps3av_cmd.c')
0 files changed, 0 insertions, 0 deletions