CVSROOT: /cvs Module name: src Changes by: [email protected] 2020/01/23 18:17:22
Modified files:
sys/net : if_tun.c
Log message:
change tun_dev_write to allocate one mbuf and cluster for the whole packet.
this is instead of possibly allocating a change of mbufs and MCLBYTE
sized clusters, and doing uiomove in a loop.
while here add max_linkhdr space to the front of the allocated mbuf
to help if we're forwarding the frame out some other interface.
