]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
In m_megapullup() use m_getjcl() to allocate 9k or 16k mbuf when requested.
authorae <ae@FreeBSD.org>
Thu, 14 Jun 2018 11:15:39 +0000 (11:15 +0000)
committerae <ae@FreeBSD.org>
Thu, 14 Jun 2018 11:15:39 +0000 (11:15 +0000)
commit76167af160f8a0fab4f0ad88dfe78ddd211db18c
tree2d1a3f88c1724defad2186bb7d0052651e34ac14
parenta3a3e0b0ab9d665186156f52adca255c16110a6b
In m_megapullup() use m_getjcl() to allocate 9k or 16k mbuf when requested.

It is better to try allocate a big mbuf, than just silently drop a big
packet. A better solution could be reworking of libalias modules to be
able use m_copydata()/m_copyback() instead of requiring the single
contiguous buffer.

PR: 229006
MFC after: 1 week
sys/netinet/libalias/alias.c