|
@@ -1625,6 +1625,7 @@ static int ethtool_tunable_valid(const struct ethtool_tunable *tuna)
|
|
{
|
|
{
|
|
switch (tuna->id) {
|
|
switch (tuna->id) {
|
|
case ETHTOOL_RX_COPYBREAK:
|
|
case ETHTOOL_RX_COPYBREAK:
|
|
|
|
+ case ETHTOOL_TX_COPYBREAK:
|
|
if (tuna->len != sizeof(u32) ||
|
|
if (tuna->len != sizeof(u32) ||
|
|
tuna->type_id != ETHTOOL_TUNABLE_U32)
|
|
tuna->type_id != ETHTOOL_TUNABLE_U32)
|
|
return -EINVAL;
|
|
return -EINVAL;
|