From: David Miller <davem@davemloft.net>
To: herbert@gondor.apana.org.au
Cc: viro@ZenIV.linux.org.uk, m.kozlowski@tuxland.pl,
sparclinux@vger.kernel.org, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org
Subject: Re: sparc oops in ip_fast_csum
Date: Sat, 05 Jan 2008 23:15:24 -0800 (PST) [thread overview]
Message-ID: <20080105.231524.204142940.davem@davemloft.net> (raw)
In-Reply-To: <E1JBJHA-0000hy-00@gondolin.me.apana.org.au>
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: Sun, 06 Jan 2008 11:22:04 +1100
> [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>
Applied, I'll push this to -stable too, thanks Herbert.
prev parent reply other threads:[~2008-01-06 7:15 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-04 17:37 Mariusz Kozlowski
2008-01-05 9:44 ` Al Viro
2008-01-06 0:22 ` Herbert Xu
2008-01-06 0:57 ` Jan Engelhardt
2008-01-06 1:03 ` Herbert Xu
2008-01-06 2:02 ` Al Viro
2008-01-06 4:14 ` Herbert Xu
2008-01-14 6:09 ` Patrick McHardy
2008-01-14 6:19 ` David Miller
2008-01-06 7:15 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080105.231524.204142940.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=herbert@gondor.apana.org.au \
--cc=linux-kernel@vger.kernel.org \
--cc=m.kozlowski@tuxland.pl \
--cc=netdev@vger.kernel.org \
--cc=sparclinux@vger.kernel.org \
--cc=viro@ZenIV.linux.org.uk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®