diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2008-01-05 23:14:44 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-08 23:29:57 -0800 |
commit | f844c74fe07321953e2dd227fe35280075f18f60 (patch) | |
tree | 045fedb426c7990ad254520cb413010acbbe0ab8 /net/netlabel | |
parent | cb77df3ec88f07c6141924dfe6fd96a2f541cc09 (diff) |
[IPV4] raw: Strengthen check on validity of iph->ihl
We currently check that iph->ihl is bounded by the real length and that
the real length is greater than the minimum IP header length. However,
we did not check the caes where iph->ihl is less than the minimum IP
header length.
This breaks because some ip_fast_csum implementations assume that which
is quite reasonable.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/netlabel')
0 files changed, 0 insertions, 0 deletions