tempesta-tech / tempesta

All-in-one solution for high performance web content delivery and advanced protection against DDoS and web attacks
https://tempesta-tech.com/
GNU General Public License v2.0
623 stars 103 forks source link

Fix memory leak in `ss_skb_to_sgvec_with_new_pages` #2253

Closed EvgeniiMekhanik closed 1 month ago

EvgeniiMekhanik commented 2 months ago

When we allocate new pages we should use __GFP_COMP flag if order is greater then zero to make such pages compound, otherwise we free only one page later and destroy buddy allocator logic.

Closes #2132