Revert "WIP: fix buffer overruns in net_if"

This reverts commit 86919681ea427355c699efd211142cdf0fadd432.
net_if: fix buffer overruns