Searched refs:rule_buf (Results 1 – 1 of 1) sorted by relevance
536 void *rule_buf = NULL; in ethtool_get_rxnfc() local555 rule_buf = kzalloc(info.rule_cnt * sizeof(u32), in ethtool_get_rxnfc()557 if (!rule_buf) in ethtool_get_rxnfc()562 ret = ops->get_rxnfc(dev, &info, rule_buf); in ethtool_get_rxnfc()570 if (rule_buf) { in ethtool_get_rxnfc()572 if (copy_to_user(useraddr, rule_buf, in ethtool_get_rxnfc()579 kfree(rule_buf); in ethtool_get_rxnfc()