[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20080109.035228.236150477.davem@davemloft.net>
Date: Wed, 09 Jan 2008 03:52:28 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: herbert@...dor.apana.org.au
Cc: netdev@...r.kernel.org, viro@....linux.org.uk,
chas@....nrl.navy.mil
Subject: Re: [ATM]: Check IP header validity in mpc_send_packet
From: Herbert Xu <herbert@...dor.apana.org.au>
Date: Wed, 9 Jan 2008 21:27:45 +1100
> [ATM]: Check IP header validity in mpc_send_packet
>
> Al went through the ip_fast_csum callers and found this piece of code
> that did not validate the IP header. While root crashing the machine
> by sending bogus packets through raw or AF_PACKET sockets isn't that
> serious, it is still nice to react gracefully.
>
> This patch ensures that the skb has enough data for an IP header and
> that the header length field is valid.
>
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
Applied, thanks for following up on this.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists