diff options
author | jhb <jhb@FreeBSD.org> | 2011-06-03 13:47:05 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2011-06-03 13:47:05 +0000 |
commit | b37cdd581de9839703780a582cfe8488eabf3f5b (patch) | |
tree | f6687509682d0158298e7b37ed20c7686db8de48 /libexec | |
parent | affb6a9a2246d9d1e89a3ef4b4e00cd899aa1e0a (diff) | |
download | FreeBSD-src-b37cdd581de9839703780a582cfe8488eabf3f5b.zip FreeBSD-src-b37cdd581de9839703780a582cfe8488eabf3f5b.tar.gz |
Properly return an ENOBUFS error if a write to a tun(4) device fails
due to m_uiotombuf() failing.
While here, trim unneeded error handling related to tuninit() since it
can never fail.
Submitted by: Martin Birgmeier la5lbtyi aon at
Reviewed by: glebius
MFC after: 1 week
Diffstat (limited to 'libexec')
0 files changed, 0 insertions, 0 deletions