mld: avoid unnecessary high order page allocation in mld_newpack()
authorTaehee Yoo <ap420073@gmail.com>
Sun, 13 Jun 2021 14:43:44 +0000 (14:43 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 14 Jun 2021 19:46:00 +0000 (12:46 -0700)
commitffa85b73c3c4143a8e8087c0930f6c5a6ead8e9f
treeaee0d324858e9d967861a85b6d1033731de624df
parentb84b53ee8337ca69512d25295961571fa08a219d
mld: avoid unnecessary high order page allocation in mld_newpack()

If link mtu is too big, mld_newpack() allocates high-order page.
But most mld packets don't need high-order page.
So, it might waste unnecessary pages.
To avoid this, it makes mld_newpack() try to allocate order-0 page.

Suggested-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: Taehee Yoo <ap420073@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/mcast.c