[Bug 223767] tun device allows modification of if_type to any value causing a page fault and panic

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Nov 20 17:40:36 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=223767

--- Comment #2 from jau at 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.

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


More information about the freebsd-bugs mailing list