UPGRADE: osdep with EPROTO fix