Searched refs:rule_buf (Results 1 – 1 of 1) sorted by relevance
910 void *rule_buf = NULL; in ethtool_get_rxnfc() local946 rule_buf = kcalloc(info.rule_cnt, sizeof(u32), in ethtool_get_rxnfc()948 if (!rule_buf) in ethtool_get_rxnfc()953 ret = ops->get_rxnfc(dev, &info, rule_buf); in ethtool_get_rxnfc()961 if (rule_buf) { in ethtool_get_rxnfc()963 if (copy_to_user(useraddr, rule_buf, in ethtool_get_rxnfc()970 kfree(rule_buf); in ethtool_get_rxnfc()