Message ID | 20240925171425.96801-3-bethany.jamison@canonical.com |
---|---|
State | New |
Headers | show |
Series | CVE-2024-44940 | expand |
diff --git a/net/ipv4/fou.c b/net/ipv4/fou.c index 8fcbc6258ec52..0370affeaacb8 100644 --- a/net/ipv4/fou.c +++ b/net/ipv4/fou.c @@ -441,7 +441,7 @@ static struct sk_buff *gue_gro_receive(struct sock *sk, rcu_read_lock(); offloads = NAPI_GRO_CB(skb)->is_ipv6 ? inet6_offloads : inet_offloads; ops = rcu_dereference(offloads[proto]); - if (WARN_ON_ONCE(!ops || !ops->callbacks.gro_receive)) + if (!ops || !ops->callbacks.gro_receive) goto out_unlock; pp = call_gro_receive(ops->callbacks.gro_receive, head, skb);