CVSROOT: /cvs Module name: src Changes by: [email protected] 2019/09/11 19:27:03
Modified files:
sys/net : if_tun.c
Log message:
let userland write up to hardmtu bytes, not just mtu bytes.
this brings tun in line with pretty much every other driver we have
where we let interfaces rx whatever they can.
while here make sure userland provides enough bytes for the link
header, which is the 4 byte address family for tun(4), and an
ethernet header for tap(4).
