net/tap: fix unexpected link handler