The patch titled tg3: add lower bound checks for tx ring size has been removed from the -mm tree. Its filename is tg3-add-lower-bound-checks-for-tx-ring-size.patch This patch was dropped because it was merged into mainline or a subsystem tree ------------------------------------------------------ Subject: tg3: add lower bound checks for tx ring size From: "Michael Chan" <mchan@xxxxxxxxxxxx> The minimum tx ring size must be greater than MAX_SKB_FRAGS or 3 times that on some chips with TSO bugs. Signed-off-by: Michael Chan <mchan@xxxxxxxxxxxx> Cc: Ranjit Manomohan <ranjitm@xxxxxxxxxx> Cc: Jeff Garzik <jeff@xxxxxxxxxx> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- drivers/net/tg3.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletion(-) diff -puN drivers/net/tg3.c~tg3-add-lower-bound-checks-for-tx-ring-size drivers/net/tg3.c --- a/drivers/net/tg3.c~tg3-add-lower-bound-checks-for-tx-ring-size +++ a/drivers/net/tg3.c @@ -8106,7 +8106,10 @@ static int tg3_set_ringparam(struct net_ if ((ering->rx_pending > TG3_RX_RING_SIZE - 1) || (ering->rx_jumbo_pending > TG3_RX_JUMBO_RING_SIZE - 1) || - (ering->tx_pending > TG3_TX_RING_SIZE - 1)) + (ering->tx_pending > TG3_TX_RING_SIZE - 1) || + (ering->tx_pending <= MAX_SKB_FRAGS) || + ((tp->tg3_flags2 & TG3_FLG2_HW_TSO_1_BUG) && + (ering->tx_pending <= (MAX_SKB_FRAGS * 3)))) return -EINVAL; if (netif_running(dev)) { _ Patches currently in -mm which might be from mchan@xxxxxxxxxxxx are git-net.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html