Searched refs:rule_buf (Results 1 – 1 of 1) sorted by relevance
849 void *rule_buf = NULL; in ethtool_get_rxnfc() local885 rule_buf = kcalloc(info.rule_cnt, sizeof(u32), in ethtool_get_rxnfc()887 if (!rule_buf) in ethtool_get_rxnfc()892 ret = ops->get_rxnfc(dev, &info, rule_buf); in ethtool_get_rxnfc()900 if (rule_buf) { in ethtool_get_rxnfc()902 if (copy_to_user(useraddr, rule_buf, in ethtool_get_rxnfc()909 kfree(rule_buf); in ethtool_get_rxnfc()