From: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Date: Tue, 27 Aug 2013 04:16:22 +0300 > This function checks the upper bound but it doesn't check for negative > numbers: > > if (txq > QLCNIC_MAX_TX_RINGS) { > > I've solved this by making "txq" a u32 type. I chose that because > ->tx_count in the ethtool_channels struct is a __u32. > > This bug was added in aa4a1f7df7 ('qlcnic: Enable Tx queue changes using > ethtool for 82xx Series adapter.'). > > Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx> Applied, thanks. -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html