Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Nov 2017 17:40:36 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 223767] tun device allows modification of if_type to any value causing a page fault and panic
Message-ID:  <bug-223767-8-7Nop5fbpnw@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-223767-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-223767-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D223767

--- Comment #2 from jau@iki.fi ---
Yes indeed there is. It is one which I already explained in the longer
description.

"In addition to adding a check for the new if_type value the attached patch
also simplifies the check for readable data in the tunpoll() function."

It is just doing the test whether there is something readable
waiting in the queue in a more readable manner, the way it should
be done one might say.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-223767-8-7Nop5fbpnw>