MFC r326362: Disallow TUN and TAP character device IOCTLs to modify the network device type to any value. This can cause page faults and panics due to accessing uninitialized fields in the "struct ifnet" which are specific to the network device type.
Found by: jau@iki.fi PR: 223767 Sponsored by: Mellanox Technologies
|