Re: [PATCH 3.12 40/77] sfc: Add length checks to efx_xmit_with_hwtstamp() and efx_ptp_is_ptp_tx()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Luis Henriques <luis.henriques@xxxxxxxxxxxxx>
Date: Thu, 16 Jan 2014 10:50:26 +0000

> On Tue, Jan 14, 2014 at 12:45:15AM +0000, Ben Hutchings wrote:
>> On Mon, 2014-01-13 at 16:28 -0800, Greg Kroah-Hartman wrote:
>> > 3.12-stable review patch.  If anyone has any objections, please let me know.
>> > 
>> > ------------------
>> > 
>> > From: Ben Hutchings <bhutchings@xxxxxxxxxxxxxx>
>> > 
>> > [ Upstream commit e5a498e943fbc497f236ab8cf31366c75f337ce6 ]
>> > 
>> > efx_ptp_is_ptp_tx() must be robust against skbs from raw sockets that
>> > have invalid IPv4 and UDP headers.
>> > 
>> > Add checks that:
>> > - the transport header has been found
>> > - there is enough space between network and transport header offset
>> >   for an IPv4 header
>> > - there is enough space after the transport header offset for a
>> >   UDP header
>> > 
>> > Fixes: 7c236c43b838 ('sfc: Add support for IEEE-1588 PTP')
>> 
>> All the PTP fixes for sfc (40-44 in this series) logically apply to
>> 3.10.y as well.  David, did you find conflicts there?

Yes, there were rejects which were beyond my ability to resolve.
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]