Searched refs:rule_buf (Results 1 – 1 of 1) sorted by relevance
497 void *rule_buf = NULL; in ethtool_get_rxnfc() local516 rule_buf = kzalloc(info.rule_cnt * sizeof(u32), in ethtool_get_rxnfc()518 if (!rule_buf) in ethtool_get_rxnfc()523 ret = ops->get_rxnfc(dev, &info, rule_buf); in ethtool_get_rxnfc()531 if (rule_buf) { in ethtool_get_rxnfc()533 if (copy_to_user(useraddr, rule_buf, in ethtool_get_rxnfc()540 kfree(rule_buf); in ethtool_get_rxnfc()