summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2023-08-01 20:52:51 +0000
committerJakub Kicinski <kuba@kernel.org>2023-08-02 18:44:55 -0700
commit09c2c90705bb64986d499c4a4f3fd659761b637c (patch)
tree78e5598712de29cf21cfd49ee8d3ef739213476b /drivers
parent49c467dca39df9a3674854969cc5a8eb7170682d (diff)
downloadlinux-stable-09c2c90705bb64986d499c4a4f3fd659761b637c.tar.gz
linux-stable-09c2c90705bb64986d499c4a4f3fd659761b637c.tar.bz2
linux-stable-09c2c90705bb64986d499c4a4f3fd659761b637c.zip
net: allow alloc_skb_with_frags() to allocate bigger packets
Refactor alloc_skb_with_frags() to allow bigger packets allocations. Instead of assuming that only order-0 allocations will be attempted, use the caller supplied max order. v2: try harder to use high-order pages, per Willem feedback. Link: https://lore.kernel.org/netdev/CANn89iJQfmc_KeUr3TeXvsLQwo3ZymyoCr7Y6AnHrkWSuz0yAg@mail.gmail.com/ Signed-off-by: Eric Dumazet <edumazet@google.com> Cc: Tahsin Erdogan <trdgn@amazon.com> Reviewed-by: Willem de Bruijn <willemb@google.com> Link: https://lore.kernel.org/r/20230801205254.400094-2-edumazet@google.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions