From: "Jason A. Donenfeld" <ja...@zx2c4.com> Date: Wed, 6 May 2015 15:09:40 +0200
> transfer_buffer_length is of type u32. It's therefore wrong to assign it > to a signed integer. This patch avoids the overflow. > > It's worth noting that entry->length here is a long; perhaps it would be > beneficial at somepoint to change this to be unsigned as well, if > nothing else relies on its signedness for error conditions or the like. > > Signed-off-by: Jason A. Donenfeld <ja...@zx2c4.com> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html