diff options
Diffstat (limited to 'net/ethtool/channels.c')
-rw-r--r-- | net/ethtool/channels.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ethtool/channels.c b/net/ethtool/channels.c index 9ef54cdcf662..9ecda09ecb11 100644 --- a/net/ethtool/channels.c +++ b/net/ethtool/channels.c @@ -223,7 +223,7 @@ int ethnl_set_channels(struct sk_buff *skb, struct genl_info *info) from_channel = channels.combined_count + min(channels.rx_count, channels.tx_count); for (i = from_channel; i < old_total; i++) - if (xdp_get_umem_from_qid(dev, i)) { + if (xsk_get_pool_from_qid(dev, i)) { GENL_SET_ERR_MSG(info, "requested channel counts are too low for existing zerocopy AF_XDP sockets"); return -EINVAL; } |