Date: Fri, 3 Jun 2011 13:47:05 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/net if_tun.c Message-ID: <201106031347.p53DlU6L032789@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
jhb 2011-06-03 13:47:05 UTC
FreeBSD src repository
Modified files:
sys/net if_tun.c
Log:
SVN rev 222651 on 2011-06-03 13:47:05Z by jhb
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
Revision Changes Path
1.191 +7 -10 src/sys/net/if_tun.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201106031347.p53DlU6L032789>
