Searched refs:rule_buf (Results 1 – 1 of 1) sorted by relevance
525 void *rule_buf = NULL; in ethtool_get_rxnfc() local544 rule_buf = kzalloc(info.rule_cnt * sizeof(u32), in ethtool_get_rxnfc()546 if (!rule_buf) in ethtool_get_rxnfc()551 ret = ops->get_rxnfc(dev, &info, rule_buf); in ethtool_get_rxnfc()559 if (rule_buf) { in ethtool_get_rxnfc()561 if (copy_to_user(useraddr, rule_buf, in ethtool_get_rxnfc()568 kfree(rule_buf); in ethtool_get_rxnfc()