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
615 stars 103 forks source link

Fix memory leak in `ss_skb_to_sgvec_with_new_pages` #2253

Open EvgeniiMekhanik opened 2 days ago

EvgeniiMekhanik commented 2 days 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