vfs/lwip: fix pbuf slab-block size

Issue #3766
This commit is contained in:
Christian Helmuth 2020-07-28 13:45:10 +02:00 committed by Norman Feske
parent f4d3231034
commit 76ac94f4f2

View File

@ -82,7 +82,7 @@ class Lwip::Nic_netif
BUF_SIZE = 128 * PACKET_SIZE,
};
Genode::Tslab<struct Nic_netif_pbuf, 128> _pbuf_alloc;
Genode::Tslab<Nic_netif_pbuf, 128*sizeof(Nic_netif_pbuf)> _pbuf_alloc;
Nic::Packet_allocator _nic_tx_alloc;
Nic::Connection _nic;